Actions
Bug #65122
opencephadmin returns "1" on successful host-maintenance enter/exit - should return "0"
Status:
Pending Backport
Priority:
Normal
Assignee:
-
Category:
cephadm (binary)
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
backport_processed
Backport:
squid, reef, quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
cephadmin returns "1" on successful host-maintenance enter/exit - should return "0" as is convention.
$ 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 ceph-XXXX-XXXXXX-XXXX-XXXXX.target disabled
$ echo $?
1
$ 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 $?
1
Updated by Backport Bot 17 days ago
- Copied to Backport #65417: squid: cephadmin returns "1" on successful host-maintenance enter/exit - should return "0" added
Updated by Backport Bot 17 days ago
- Copied to Backport #65418: reef: cephadmin returns "1" on successful host-maintenance enter/exit - should return "0" added
Updated by Backport Bot 17 days ago
- Copied to Backport #65419: quincy: cephadmin returns "1" on successful host-maintenance enter/exit - should return "0" added
Actions