-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
-
False
-
Some API calls don't wait for the action they triggered to be finished.
That's handled when calling these from the UI, but with galaxykit, the process ends when the API responds, not when the thing is done.
Proposed resolution:
- add `galaxykit task wait all` - wait until all tasks are completed/failed/canceled
- add `galaxykit task wait <id>` - wait for a specific task
(Later, we should consider also adding a `--wait` option to all existing galaxykit operations, but that part needs to wait for the command.py refactor. => https://issues.redhat.com/browse/AAH-1760)
(the logic in https://github.com/pulp/pulp-smash/blob/main/pulp_smash/pulp3/bindings.py#L59 should be correct, whether we can import it directly or copy)
- is cloned by
-
AAH-1760 galaxykit: add --wait to commands
- Closed