hammer ping returns 0 even when services are in a failed state
Fixed in Releases:
Found in Releases:
I'm not sure if this is a regression but it does seem like a bug:
[vagrant@centos7-katello-devel katello (master)]$ hammer ping ; echo $? database: Status: ok Server Response: Duration: 0ms candlepin: Status: FAIL Server Response: Message: Failed to open TCP connection to localhost:8443 (Connection refused - connect(2) for "localhost" port 8443) candlepin_events: Status: FAIL message: Not running Server Response: Duration: 0ms candlepin_auth: Status: FAIL Server Response: Message: A backend service [ Candlepin ] is unreachable katello_events: Status: ok message: 7 Processed, 0 Failed Server Response: Duration: 0ms pulp: Status: ok Server Response: Duration: 34ms pulp_auth: Status: ok Server Response: Duration: 13ms foreman_tasks: Status: ok Server Response: Duration: 3ms 0
#4 Updated by Oleh Fedorenko 6 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|66d886dee5bf8ecd30b009c0d0c85643a1dc7fba.