Description of problem: Procedure sync-plans-enable not working. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. # bin/foreman-maintain advanced procedure run sync-plans-disable Running ForemanMaintain::Scenario ================================================================================ disable active sync plans: \ Total 4 sync plans are now disabled. [OK] -------------------------------------------------------------------------------- 2. # bin/foreman-maintain advanced procedure run sync-plans-enable Running ForemanMaintain::Scenario ================================================================================ re-enable sync plans: / Total 0 sync plans are now enabled. [OK] -------------------------------------------------------------------------------- Actual results: Showing 0 sync plans are enabled in result Expected results: It should enable sync-plans which are not enabled yet. Additional info:
Can you provide the release version that was being tested? (e.g. was it 6.5 and regression from 6.4?)
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26502 has been resolved.
Verified Verified with: - Satellite 6.6.0 snap 9 - rubygem-foreman_maintain-0.4.3-2.el7sat.noarch Test Steps: - Create few sync plans - disable and enable sync-plans using foreman-maintain [root@qe-sat62-rhel7 ~]# foreman-maintain advanced procedure run sync-plans-disable Running ForemanMaintain::Scenario ================================================================================ disable active sync plans: \ Total 5 sync plans are now disabled. [OK] -------------------------------------------------------------------------------- [root@qe-sat62-rhel7 ~]# foreman-maintain advanced procedure run sync-plans-enable Running ForemanMaintain::Scenario ================================================================================ re-enable sync plans: / Total 5 sync plans are now enabled. [OK] -------------------------------------------------------------------------------- Observation: - procedure sync-plans-disable disabled active sync plans. - procedure sync-plans-enable re-enabled sync plans.
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