Actions
Bug #22220
closedTurn off maintenance mode if upgrade run failed
Description
From Bugzilla:
Description of problem: While running foreman-maintain upgrade run, if upgrade failed in repository setup, firewall set in maintenance mode should turn off.
Version-Release number of selected component (if applicable): Foreman-maintain snap 2.0
How reproducible: always
Steps to Reproduce:
1. Run #foreman-maintain upgrade run --target-version 6.3 without setting up repositories
Actual results:
Upgrade run will fail due to Error: 'rhel-7-server-satellite-6.3-rpms' does not match a valid repository ID and can not access satellite as maintenance mode on.
Expected results:
Maintenance mode should turn off if upgrade run failed.
Additional info:
Actions