Bug #8770
closedRepository syncs should initiate capsule sync asynchronously
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1176157
Description of problem:
Currently in the sync dynflow action, after the repo sync in pulp is finished, we initiate a node metadata generation and sync as part of the sync task. this means that if the capsule is not running the sync task will hang until the capsule comes back online.
It should behave just like the content view publish/promote and initiate it as a 2nd entire action which is not dependent on the first.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Install a capsule and associate it with library
2. Shut down the capsule
3. Attempt to sync a repo
Actual results:
Sync hangs around 69%
Expected results:
Sync completes successfully
Additional info: