Project

General

Profile

Actions

Bug #36024

closed

sync-plans not in sync with foreman-maintan data.yml

Added by Bernhard Suttner almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-

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.

Actions #1

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
Actions #2

Updated by Anonymous over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/687 added
Actions #4

Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/697 added
Actions #5

Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/699 added
Actions

Also available in: Atom PDF