Feature #39093
closedmgr/orchestrator: add `ceph orchestrator wait`
0%
Description
Add ceph orchestrator wait that waits for unfinished completions
Replace self._orchestrator_wait([completion]) with yield
Signed-off-by: Sebastian Wagner sebastian.wagner@suse.com
The cli then looks like so:
$ ceph 'orchestrator' service ls --wait=false
queued.
$ ceph 'orchestrator' osd create localhost:/dev/xxx --wait=false
queued.
$ ceph orchestrator wait
<read op>
None ceph-mgr localhost None None None
None ceph-mgr localhost None None None
None ceph-mgr localhost None None None
None ceph-mon localhost None None None
None ceph-mon localhost None None None
None ceph-mon localhost None None None
None ceph-osd localhost None None None
None ceph-osd localhost None None None
None ceph-osd localhost None None None
None ceph-osd localhost None None None
create_osds, args=(<orchestrator.DriveGroupSpec object at 0x7f264d4b01d0>, ['localhost']), kwargs={}
None