Skip to content
  • Dimitri Savineau's avatar
    rolling_update: use ceph health instead of ceph -s · acddf4fb
    Dimitri Savineau authored
    
    
    The ceph status command returns a lot of information stored in variables
    and/or facts which could consume resources for nothing.
    When checking the cluster health, we're using the health structure in the
    ceph status output.
    To optimize this, we could use the ceph health command which contains
    the same needed information.
    
    $ ceph status -f json | wc -c
    2001
    $ ceph health -f json | wc -c
    46
    
    Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
    acddf4fb