Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1649620

Summary: [RFE] Ansible playbook to assist with migration of osd objectstore from FileStore to BlueStore
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Mike Hackett <mhackett>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED DUPLICATE QA Contact: Vasishta <vashastr>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: anharris, aschoen, assingh, ceph-eng-bugs, dsavinea, gmeno, jdurgin, nthomas, pasik, vumrao
Target Milestone: rcKeywords: FutureFeature
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-06 16:19:41 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:
Bug Depends On:    
Bug Blocks: 1644347    

Description Mike Hackett 2018-11-14 05:15:40 UTC
Description of problem:
Need a playbook for migration of osd objectstore from FileStore to BlueStore for 4.0.

This playbook should have the ability to do full OSD nodes as well as a single OSD.

Playbook should check cluster for availability capacity to ensure that when a node is brought down and backfilled to cluster there is enough avail space to perform the backfill.

Steps Playbook can take:

1. Se osd_objectstore to Bluestore if set to FileStore. 

2. Check number of OSD nodes in the cluster decide on full node migration of single OSD migration. If under a certain number of nodes (4 for example) in a CRUSH root then will default to single OSD migration at a time.

3. Check recovery/backfill setting and validate throttled. Defaults should be fine, but should verify these are set to default.

4. Drop OSD (or OSD's) and mark out.

5. Monitor cluster for complete backfill of the data (PG's Active+Clean).

6. Remove OSD's, await active+clean as will likely see repeer due to map changes (possible).

7. Redeploy OSD (OSD's) on lvm and Bluestore.

8. Await active+clean.

9. Move to next OSD (OSD's)


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

Comment 6 Giridhar Ramaraju 2019-08-05 13:06:20 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 7 Giridhar Ramaraju 2019-08-05 13:09:00 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 9 Dimitri Savineau 2019-09-06 16:19:41 UTC

*** This bug has been marked as a duplicate of bug 1729267 ***