Feature #29760
closedCheck for certain types of running Pulp related foreman tasks before starting an offline backup
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1830825
Description of problem:
If will be great if the backup script can check for certain types of running Pulp related task, such as CV publish/promote tasks, Repo sync tasks and Capsule sync tasks. If found any of these tasks are running then do not proceed to do the offline backup.
It may be a plus if user can have an option to set the maximum time (such as 1 hour) to wait for the tasks to finish. The backup will then wait and postpone until the time.
Use case:
User is doing a daily offline backup in the morning. One day, user started a full Capsule sync to fix the missing contents on the Capsule in the afternoon. Due to the large number of repositories to sync, the task is taking more than half day to complete. This causes the time overlap between the Satellite offline backup and Capsule sync.
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_maintain/pull/349 added
Updated by Eric Helms 9 months ago
- Status changed from Ready For Testing to Rejected