Project

General

Profile

Actions

Feature #29760

closed

Check for certain types of running Pulp related foreman tasks before starting an offline backup

Added by Suraj Patil almost 4 years ago. Updated about 2 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/349 added
Actions #2

Updated by Eric Helms about 2 months ago

  • Status changed from Ready For Testing to Rejected
Actions

Also available in: Atom PDF