-
Bug
-
Resolution: Done
-
Critical
-
None
-
6.19.0
-
False
-
rubygem-foreman_maintain-1.14.0
-
Satellite Rocket Sprint 10
-
sat-rocket
-
None
-
None
-
None
-
Automated
-
Yes
Description of problem:
satellite-maintain health check --label corrupted-roles check fails even when there are no corrupted roles.
Continuing with yes, its gets stuck in a loop
# satellite-maintain health check --label corrupted-roles Running ForemanMaintain::Scenario::FilteredScenario ================================================================================ Check for roles that have filters with multiple resources attached: [FAIL] There are filters having permissions with multiple resource types. Roles with such filters are: -------------------------------------------------------------------------------- Continue with step [Create additional filters so that each filter has only permissions of one resource]?, [y(yes), n(no)] y Create additional filters so that each filter has only permissions of one resource: [OK] -------------------------------------------------------------------------------- Rerunning the check after fix procedure Check for roles that have filters with multiple resources attached: [FAIL] There are filters having permissions with multiple resource types. Roles with such filters are: -------------------------------------------------------------------------------- Continue with step [Create additional filters so that each filter has only permissions of one resource]?, [y(yes), n(no)] y
How reproducible:
Always
Is this issue a regression from an earlier version:
Yes
Steps to Reproduce:
1. Run satellite-maintain health check --label corrupted-roles
Actual behavior:
The check fails even when there are no corrupted roles and also doesn't show if there are any.
Expected behavior:
The check should pass
Business Impact / Additional info:
This is causing many related checks to fail where corrupted roles check is run and also the CI execution job is getting hanged because of it
There are no Sub-Tasks for this issue.