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!