Project

General

Profile

Bug #21588

Error on hammer ping check - No such sub-command 'ping'

Added by Swapnil Abnave about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Check
Target version:
Difficulty:
easy
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

On foreman standalone instance:

[root@centos7-foreman-1-14 foreman_maintain]# ./bin/foreman-maintain health check
Running ForemanMaintain::Scenario::FilteredScenario
================================================================================
Check whether all services are running using hammer ping:             [FAIL]
Error: No such sub-command 'ping'

See: 'hammer --help'
--------------------------------------------------------------------------------
Continue with step [katello-service restart]?, [y(yes), n(no), q(quit)] n
Scenario [ForemanMaintain::Scenario::FilteredScenario] failed.                  

The following steps ended up in failing state:

  [hammer-ping]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="hammer-ping" 

================================================================
  1. rpm -q tfm-rubygem-hammer_cli
    tfm-rubygem-hammer_cli-0.8.0-1.el7.noarch

Associated revisions

Revision 54df4fc9 (diff)
Added by Swapnil Abnave about 3 years ago

Fixes #21588 - cofine hammer ping check to katello feature

hammer ping command is not available for standalone foreman instance

History

#1 Updated by Swapnil Abnave about 3 years ago

  • Subject changed from Confine hammer ping to presence of hammer package to Error on hammer ping check - No such sub-command 'ping'

#2 Updated by Swapnil Abnave about 3 years ago

  • Description updated (diff)

#3 Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/123 added

#4 Updated by Swapnil Abnave about 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Also available in: Atom PDF