Bug 1401910

Summary: API for RBD CRUD operations
Product: Red Hat Ceph Storage Reporter: Nishanth Thomas <nthomas>
Component: CalamariAssignee: Boris Ranto <branto>
Calamari sub component: Back-end QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Status: CLOSED EOL Docs Contact:
Severity: high    
Priority: unspecified CC: ceph-eng-bugs, gmeno
Version: 2.1   
Target Milestone: rc   
Target Release: 3.*   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-13 18:51:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1406357    

Description Nishanth Thomas 2016-12-06 11:50:44 UTC
Description of problem:


Currently the RBD CRUD is supported through cli end point API(api/v2/cluster/<fsid>/cli). This introduces unnecessary hassle of constructing and parsing raw CLI output. Also the cli API is blocking which hangs if something goes wrong. To overcome these issues, require  an API for RBD CRUD which is asynchronous

Comment 2 Christina Meno 2017-01-04 18:56:08 UTC
after further review we won't be able to deliver this work in time for 2.2

Comment 4 Christina Meno 2017-01-04 18:59:03 UTC
https://github.com/ceph/calamari/tree/12.17-wip-rbd-api

When I first looked at the PR upstream for adding this feature I thought more was done. turns out we'll need to add a new service as a peer to cthulhu because RBD operations are data operations and when the cluster isn't healthy we would effectively be blocking the code that needs to report it as unhealthy