ceph osd does not support use of nvme devices

Bug #1858057 reported by Aaron Blair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-helm-infra
Fix Committed
Undecided
Aaron Blair

Bug Description

Currently ceph-osd uses hard coded regexes (i.e. '[0-9]*') for partition and device determination over the entire code base. This regex limits supported devices to those with alphabetic characters only, and is not able to handle devices that also have numbers within the device name (i.e. nvme0n1).

To determine disk device and partitions within ceph-osd, I recommend replacing the current use of static regexes with a set of common functions that can be updated more easily to support more exotic device types than standard sdx and hdx devices.

Tags: ceph-osd nvme
Aaron Blair (spyd3rweb)
description: updated
Changed in openstack-helm-infra:
assignee: nobody → Aaron Blair (spyd3rweb)
status: New → In Progress
Aaron Blair (spyd3rweb)
Changed in openstack-helm-infra:
status: In Progress → Fix Committed
Revision history for this message
Aaron Blair (spyd3rweb) wrote :

Fix Committed:
https://review.opendev.org/#/c/700861/

Recommend revisiting the following change to ceph-osd to re-establish _common.sh.tpl for common device and partition functions accross both ceph-disk and ceph-volume; as it stands, we're essentially tracking two code bases with an overlap in functions:
https://opendev.org/openstack/openstack-helm-infra/commit/2b42632c9b0f09fbd35ff6428be318d6319b336c

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.