Project

General

Profile

Actions

Bug #19262

closed

hammer ping returns exit code 0 when service is failing

Added by John Mitsch over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

[root@john ~]# hammer ping
candlepin:
Status: ok
Server Response: Duration: 56ms
candlepin_auth:
Status: ok
Server Response: Duration: 60ms
pulp:
Status: FAIL
Server Response:
foreman_tasks:
Status: ok
Server Response: Duration: 522ms

[root@john ~]# echo $?
0

Expected Results:
the exit code is something other than zero

Actions #1

Updated by John Mitsch over 7 years ago

  • Category set to Hammer
Actions #2

Updated by Andrew Kofink over 7 years ago

  • Status changed from New to Assigned
  • Assignee set to Andrew Kofink
Actions #3

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/498 added
Actions #4

Updated by Andrew Kofink over 7 years ago

  • Target version set to 181
Actions #5

Updated by John Mitsch over 7 years ago

  • Translation missing: en.field_release set to 211
Actions #6

Updated by Anonymous over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF