Bug 1790479 - [RFE] [ceph-ansible] : FS to BS migration - reuse journal partition / journal vm for bluestore OSDs for db/wal
Summary: [RFE] [ceph-ansible] : FS to BS migration - reuse journal partition / journal...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: 4.1
Assignee: Dimitri Savineau
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks: 1733577 1816167
TreeView+ depends on / blocked
 
Reported: 2020-01-13 13:10 UTC by Vasishta
Modified: 2020-07-17 20:33 UTC (History)
13 users (show)

Fixed In Version: ceph-ansible-4.0.16-1.el8, ceph-ansible-4.0.16-1.el7
Doc Type: Enhancement
Doc Text:
.The dedicated journal devices retain their configuration when migrating from Filestore OSD to Bluestore Previously, dedicated journal devices for Filestore OSD could not be reused when migrating to Bluestore OSD DB. An example of a dedicated device configuration is using a HDD for data and an SSD for journaling. With this update, dedicated journal devices retain their configuration during the migration, so that they can be reused with the Bluestore OSD DB. For more information, see link:{admin-guide}#how-to-migrate-the-object-store-from-filestore-to-bluestore[How to Migrate the Object Store from FileStore to BlueStore] in the link:{admin-guide}[Administration Guide].
Clone Of:
Environment:
Last Closed: 2020-05-19 17:31:40 UTC
Embargoed:
hyelloji: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 5034 0 None closed filestore-to-bluestore: reuse dedicated journal 2021-01-21 09:55:32 UTC
Github ceph ceph-ansible pull 5094 0 None closed filestore-to-bluestore: reuse dedicated journal (bp #5034) 2021-01-21 09:55:32 UTC
Red Hat Product Errata RHSA-2020:2231 0 None None None 2020-05-19 17:32:13 UTC

Description Vasishta 2020-01-13 13:10:44 UTC
Description of problem:
If user had used dedicated scenario for filestore OSDs, devices in dedicated scenario, devices in dedicated_devices will be reused while creating bluestore OSDs.

Similarly ceph-ansible can reuse journal lvm or journal partition [1] while creating bluestore OSDs.

[1]- Ref - https://github.com/ceph/ceph-ansible/blob/stable-3.2/group_vars/osds.yml.sample#L181-L196

Version-Release number of selected component (if applicable):
ceph-ansible-4.0.8-1.el7cp.noarch

How reproducible:
Always

Steps to Reproduce:
1. Configure 3.x cluster with lvm scenario and filestore OSDs (ref [1] above)
2. upgrade the cluster to 4.x
3. run filestore-to-bluestore.yml

Actual results:
lvms and journals previously used for journals in filestore will be omitted

Expected results:
lvms and journals previously used for journals in filestore can use reused for bluestore as wal/db

Comment 8 Vasishta 2020-04-18 10:48:52 UTC
Working as expected with ceph-ansible-4.0.19-1.el7cp.noarch
Moving to VERIFIED state.

Comment 12 errata-xmlrpc 2020-05-19 17:31:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:2231


Note You need to log in before you can comment on or make changes to this bug.