Description of problem: pre-migration step in foreman maintain asks for permission twice. Version-Release number of selected component (if applicable): @satellite 6.5.0 @rubygem-foreman_maintain-0.3.3-1.el7sat.noarch How reproducible: always Steps to Reproduce: 1. Run #foreman-maintain upgrade run --target-version 6.5 2. on "Procedures before migrating to Satellite 6.5" it asks twice for permission to continue. Actual results: Continue with [Procedures before migrating to Satellite 6.5], [y(yes), n(no), q(quit)] y Continue with [Procedures before migrating to Satellite 6.5], [y(yes), n(no), q(quit)] y Running Procedures before migrating to Satellite 6.5 ================================================================================ disable active sync plans: - Total 0 sync plans are now disabled. [OK] -------------------------------------------------------------------------------- Expected results: Continue with [Procedures before migrating to Satellite 6.5], [y(yes), n(no), q(quit)] y Running Procedures before migrating to Satellite 6.5 ================================================================================ disable active sync plans: - Total 0 sync plans are now disabled. [OK] -------------------------------------------------------------------------------- Additional info:
Created redmine issue https://projects.theforeman.org/issues/27072 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27072 has been resolved.
Upstream bug assigned to mbacovsk
The patch is included in foreman-maintain 0.4.8
Verified Verified with: - Satellite 6.6.0 snap 19 - rubygem-foreman_maintain-0.4.8-1.el7sat.noarch Steps to Reproduce: 1. Run #foreman-maintain upgrade run --target-version 6.6.z --whitelist repositories-validate Observation: - pre-migration step of foreman maintain didn't ask for permission twice. Continue with [Procedures before migrating to Satellite 6.6.z], [y(yes), n(no), q(quit)] y Running Procedures before migrating to Satellite 6.6.z ================================================================================ disable active sync plans: | Total 0 sync plans are now disabled. [OK] --------------------------------------------------------------------------------
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:3181