Actions
Bug #22242
closedRunning foreman-maintain with --phase just execute the phase mentioned in the option and exit
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1523945
Description of problem:
While running below command to upgrade the satellite to latest 6.2.z with " --phase pre_migrations " option just execute the pre-migration steps and does not proceed to complete the upgrade.
- foreman-maintain upgrade run --phase pre_migrations --target-version 6.2.z --whitelist="disk-io"
Running Procedures before migrating to Satellite 6.2.z ================================================================================
Turn on maintenance mode: [OK]
--------------------------------------------------------------------------------
disable active sync plans:
/ Total 0 sync plans are now disabled. [OK]
--------------------------------------------------------------------------------
katello-service stop:
- Stopping katello running services.. [OK]
--------------------------------------------------------------------------------
Version-Release number of selected component (if applicable):
rubygem-foreman_maintain-0.0.11-1.el7sat.noarch
How reproducible:
Always when we need to execute any specific phase
Updated by Kavita Gaikwad almost 6 years ago
- Status changed from New to Rejected
Working as expected. Functionality should be achievable by just running `upgrade run`, as it remembers the state.
Actions