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
Updated by Sage Weil over 4 years ago
- Project changed from mgr to Orchestrator
- Category deleted (
orchestrator)
Updated by Sebastian Wagner over 4 years ago
- Related to Bug #37514: mgr CLI commands block one another (indefinitely if the orchestrator CLI gets stuck in wait) added
Updated by Sebastian Wagner about 4 years ago
- Status changed from Fix Under Review to Rejected
out of scope for now.