Actions
Bug #22928
closedForeman-maintain showed "Check still failing after attempt to fix. Skipping" though check passed after fixing.
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
# ./bin/foreman-maintain health check --label hammer-ping -y Running ForemanMaintain::Scenario::FilteredScenario ================================================================================ Check whether all services are running using hammer ping: [FAIL] Error: Connection refused - connect(2) -------------------------------------------------------------------------------- katello-service restart: | All services are running. [OK] -------------------------------------------------------------------------------- Rerunning the check after fix procedure Check whether all services are running using hammer ping: [OK] -------------------------------------------------------------------------------- Check still failing after attempt to fix. Skipping
Steps:
1. Stop katello-services
2. ./bin/foreman-maintain health check --label hammer-ping -y
Expected result: If check passed after fixing, it should not show "Check still failing after attempt to fix. Skipping"
Additional Info :
Running health check without "-y" worked fine.
# ./bin/foreman-maintain health check --label hammer-ping Running ForemanMaintain::Scenario::FilteredScenario ================================================================================ Check whether all services are running using hammer ping: [FAIL] Error: Connection refused - connect(2) -------------------------------------------------------------------------------- Continue with step [katello-service restart]?, [y(yes), n(no), q(quit)] y katello-service restart: - All services are running. [OK] -------------------------------------------------------------------------------- Rerunning the check after fix procedure Check whether all services are running using hammer ping: [OK] --------------------------------------------------------------------------------
Actions