Return value from cephadm host-maintenance?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Possibly a naive question, and possibly seemingly trivial, but is there any good reason to return a “1” on success for cephadm host-maintenance enter and exit: 

~$ sudo cephadm host-maintenance enter --fsid XXXX-XXXXXX-XXXX-XXXXX  Inferring config /var/lib/ceph/XXXX-XXXXXX-XXXX-XXXXXconfig/ceph.conf
Requested to place host into maintenance
success - systemd target disabled
~$ echo $?

~$ sudo cephadm host-maintenance exit --fsidXXXX-XXXXXX-XXXX-XXXXX 
Inferring config /var/lib/ceph/XXXX-XXXXXX-XXXX-XXXXX /config/ceph.conf
Requested to exit maintenance state
success - systemd target ceph-XXXX-XXXXXX-XXXX-XXXXX .target enabled and started
~$ echo $?

ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]

  Powered by Linux