Offline backups fails with message about sync plan with id 1. Our sync plan has id 2

Problem: Trying to run an offline backup. It fails with

- re-enabling sync plans                                     [FAIL}
Could not update the sync plan:
  Could not find sync_plan resource with id 1.  Potential missing permissions: edit_sync_plans

Resolve the failed steps and rerun
the command.  In case the failures are false positives,
use --whitelist="sync-plans-enable"

hammer sync plan list shows the id of our daily sync plan to be 2. How do I tell the backup to look for sync plan with id 2 instead of 1.
Also, the whitelist option does not work. I believe there is an existing bugzilla for this.

Expected outcome: offline backup gets the correct sync plan id

Foreman and Proxy versions: foreman 3,0.101; katello4.2.1-1

Foreman and Proxy plugin versions:

Distribution and version: CentOS 7.9

Other relevant data:

The current releases are Foreman 3.6 and Katello 4.8.
I would suggest upgrading your versions first to get better support.
Thanks.

This is most probably Bug #36024: sync-plans not in sync with foreman-maintan data.yml - Foreman Maintain - Foreman which is fixed in foreman maintain 1.2.6+ and that’s in Foreman 3.5+

1 Like

I will work on updating our satellite servers, but not sure if the latest versions are supported on CentOS 7? Will have to check on the upgrade path.

Thanks!