Actions
Bug #36024
closedsync-plans not in sync with foreman-maintan data.yml
Difficulty:
Triaged:
No
Description
Imagine, that the data.yml has the following data:
[root@or ~]# cat /var/lib/foreman-maintain/data.yml
---
:default:
:sync_plans:
:enabled: []
:disabled:
- 2
Now, you go to the sync-plan UI page, and delete the sync plan with id '2'.
If you now try to do a offline backup, it will fail because hammer tries to "enable" the sync-plan with id 2 - which was deleted before.
The root cause of this, that the code doesn't validate, that the IDs of the sync-plan still exist in the DB.
Updated by The Foreman Bot almost 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Bernhard Suttner
- Pull request https://github.com/theforeman/foreman_maintain/pull/681 added
Updated by Anonymous over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|2eb6f41f6868ea2cb2429b27138a01b14d00f53e.
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/687 added
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/697 added
Updated by The Foreman Bot over 1 year ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/699 added
Actions