Bug 1729267

Summary: [RFE] Develop playbook for migration from FileStore to BlueStore for RHCS 4.0 upgrades
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Mike Hackett <mhackett>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED CURRENTRELEASE QA Contact: Ameena Suhani S H <amsyedha>
Severity: high Docs Contact: Aron Gunn <agunn>
Priority: high    
Version: 4.0CC: amsyedha, aschoen, assingh, ceph-eng-bugs, ceph-qe-bugs, dsavinea, flucifre, gabrioux, gcharot, gmeno, jdurgin, nojha, nthomas, pbyregow, sostapov, tchandra, tserlin, vashastr, vumrao
Target Milestone: rcKeywords: FutureFeature, TestBlocker
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.11-1.el8cp, ceph-ansible-4.0.11-1.el7cp Doc Type: Enhancement
Doc Text:
.Ansible playbook for migrating OSDs from FileStore to BlueStore A new Ansible playbook has been added to migrate OSDs from FileStore to BlueStore. The object store migration is not done as part of the upgrade process to {storage-product} {storage-product-current-release}. Do the migration after the upgrade completes. For details, see the link:{install-guide}#how-to-migrate-the-object-store-from-filestore-to-bluestore[_How to migrate the object store from FileStore to BlueStore_] section in the _Installation Guide_ for {storage-product} {storage-product-current-release}.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-27 19:57:49 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: 1738576, 1756366, 1756371    
Bug Blocks: 1644347, 1730176, 1733577, 1738236, 1770319    

Description Mike Hackett 2019-07-11 17:50:34 UTC
Description of problem:
With the release of RHCS 4.0 only supporting BlueStore we will require a playbook for automated migrations of upgraded clusters that are currently on FileStore to BlueStore. 


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

Comment 4 Scott Ostapovicz 2019-07-17 12:05:20 UTC
The new code freeze date on this is September 2

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

Regards,
Giri

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

Regards,
Giri

Comment 7 Tejas 2019-08-12 07:15:22 UTC
*** Bug 1613735 has been marked as a duplicate of this bug. ***

Comment 8 Guillaume Abrioux 2019-08-21 07:29:07 UTC
*** Bug 1641167 has been marked as a duplicate of this bug. ***

Comment 9 Dimitri Savineau 2019-09-06 16:19:41 UTC
*** Bug 1649620 has been marked as a duplicate of this bug. ***

Comment 24 Vasishta 2019-12-20 12:53:48 UTC
Hi Guillaume,

Tried https://patch-diff.githubusercontent.com/raw/ceph/ceph-ansible/pull/4874.diff

Working fine when OSD was configured as -

>> devices="['/dev/sdb','/dev/sdc','/dev/sdd']" osd_scenario="collocated" dmcrypt="true"

Regards,
Vasishta
QE, Ceph

Comment 26 Yaniv Kaul 2020-01-08 13:41:32 UTC
Is this going to be fixed for RHCS 4.0? What's the latest status? https://github.com/ceph/ceph-ansible/pull/4871 has been merged almost 3 weeks ago - what else is missing?

Comment 38 Dimitri Savineau 2020-01-23 21:45:21 UTC
*** Bug 1792958 has been marked as a duplicate of this bug. ***

Comment 46 Federico Lucifredi 2020-01-27 19:57:49 UTC
Ok - the error message is a 4.1 issue (and we need a separate bug for it). This is one is CLOSED as the RFE is for the migration script and that is in.