Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
foreman-maintain health check is unable to restart the qpidd service and failed with error "Couldn't connect to the server: undefined method `to_sym' for nil:NilClass".
DescriptionGourav Padholia
2022-04-26 15:59:53 UTC
Description of problem:
foreman-maintain health check is unable to restart the qpidd service and failed with error "Couldn't connect to the server: undefined method `to_sym' for nil:NilClass".
Version-Release number of selected component (if applicable):
6.10.3
How reproducible:
100%
Steps to Reproduce:
1. Stop the qpidd service manually on the Satellite server.
2. Run command foreman-maintain health check to check the health of Satellite server. As a result it will show qpidd is failing and press "Y" to restart.
3. The qpidd service will not restart and it will keep failing with error "Couldn't connect to the server: undefined method `to_sym' for nil:NilClass".
Actual results:
Qpidd is failing with error "Couldn't connect to the server: undefined method `to_sym' for nil:NilClass".
Expected results:
Qpidd should be restarted and shouldn't show any error.
Additional info:
I tested this on Satellite 6.13, and it appears to have been fixed:
[root@ip-10-0-167-238 ~]# foreman-maintain health check
Running ForemanMaintain::Scenario::FilteredScenario
================================================================================
Clean old Kernel and initramfs files from tftp-boot: [OK] [2.69]
--------------------------------------------------------------------------------
Check number of fact names in database: [OK] [0.07]
--------------------------------------------------------------------------------
Check whether all services are running: [FAIL] [0.55]
Following services are not running: qpidd
--------------------------------------------------------------------------------
Continue with step [Restart applicable services]?, [y(yes), n(no)] y
Restart applicable services:
Stopping the following service(s):
qpidd
| All services stopped
Starting the following service(s):
qpidd
/ All services started
\ Try 1/5: checking status of hammer ping
Some components are failing: katello_agent
/ Try 2/5: checking status of hammer ping
Some components are failing: katello_agent
- Try 3/5: checking status of hammer ping
Some components are failing: katello_agent
| Try 4/5: checking status of hammer ping
Some components are failing: katello_agent
/ Try 5/5: checking status of hammer ping [FAIL] [129.39]
Server response check failed!