foreman-maintain maintenance-mode stop command fails with Unrecognised option 'whitelist'

Solution Verified - Updated -

Issue

  • The foreman-maintain maintenance-mode stop command fails with the following error, and Satellite suggests to use the --whitelist="sync-plans-enable" option to skip that step:

    re-enable sync plans: 
    / re-enabling sync plans                                              [FAIL]
    Could not update the sync plan:
     ERF28-1357 [ForemanTasks::RecurringLogicCancelledException]: Cannot update a cancelled Recurring Logic.
    
    
    Scenario [Stop maintenance-mode] failed.
    
    The following steps ended up in failing state:
    
      [sync-plans-enable]
    
    Resolve the failed steps and rerun
    the command. In case the failures are false positives,
    use --whitelist="sync-plans-enable"
    

Environment

  • Red Hat Satellite 6.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content