Project

General

Profile

Actions

Bug #30496

closed

hammer ping returns 0 even when services are in a failed state

Added by Jonathon Turel almost 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

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
Actions #1

Updated by Oleh Fedorenko over 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot over 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/545 added
Actions #3

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases hammer-cli-foreman-2.3.0 added
Actions #4

Updated by Oleh Fedorenko over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/548 added
Actions #6

Updated by Oleh Fedorenko about 3 years ago

  • Pull request deleted (https://github.com/theforeman/hammer-cli-foreman/pull/548)
Actions #7

Updated by Oleh Fedorenko about 3 years ago

  • Bugzilla link set to 1941240
Actions

Also available in: Atom PDF