Bug 1305269

Summary: [RFE] Shrink a ceph cluster by removing nodes or services using the installer API
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Christina Meno <gmeno>
Component: Ceph-AnsibleAssignee: Christina Meno <gmeno>
Status: CLOSED WONTFIX QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.0CC: adeza, anharris, aschoen, ceph-eng-bugs, flucifre, hnallurv, japplewh, nthomas, sankarshan
Target Milestone: rcKeywords: FutureFeature
Target Release: 3.*   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-01 12:58:51 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:
Embargoed:

Description Christina Meno 2016-02-06 14:38:00 UTC
Description of problem:

ceph cluster shrinkage(remove Node,Mons,Osds)

This seems like:
HTTP POST on /api/mon/delete
HTTP POST on /api/osd/delete

possible use cases:
* delete just one OSD from a node
* stop all ceph processes on a node, delete OSD data, remove packages
* stop a monitor and delete it's config


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Christina Meno 2016-02-06 14:39:42 UTC
I think we need to discuss the exact use-cases here since the requirement is not clear

Comment 4 Christina Meno 2016-02-11 22:44:57 UTC
I met with Dusmant and we agreed
If we provide this functionality USM will be responsible for validating/dealing with the result in the cases where we would be asked to perform an operation that damages the clusters ability to store data

Comment 5 Christina Meno 2016-03-01 17:29:01 UTC
Andrew does ceph-ansible have this capability

Comment 6 Andrew Schoen 2016-03-21 17:18:24 UTC
ceph-ansible does not currently have the ability.

Comment 9 Jeff Applewhite 2016-10-14 13:13:49 UTC
what is the status of this in ansible presently - still not addressed?