puppet-ceph does not configure devices like /dev/nvme0n1 as OSDs

Bug #1687114 reported by John Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-ceph
Fix Released
Medium
John Fulton

Bug Description

NVMe SSDs appear as /dev/nvme0n1 and their partitions appear as /dev/nvme0n1p1, /dev/nvme0n1p2 and so on.
puppet-ceph is fine with such devices being used as Ceph Journals but when they are passed as arguments to be OSDs, then ceph-disk prepare runs more than once and thte deploy fails.

This seems to be because puppet-ceph assumes partition numbers follow the device name but this device this is a device name which ends with a number and then uses pX as its suffix.

puppet-ceph should be updated to handle these types of devices as OSDs

Changed in puppet-ceph:
status: New → Confirmed
assignee: nobody → John Fulton (jfulton-org)
summary: - puppet-ceph does not configure devices like /dev/nvme0n1as OSDs
+ puppet-ceph does not configure devices like /dev/nvme0n1 as OSDs
Changed in puppet-ceph:
importance: Undecided → Medium
Changed in puppet-ceph:
status: Confirmed → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-ceph (master)

Fix proposed to branch: master
Review: https://review.openstack.org/462991

Changed in puppet-ceph:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-ceph (master)

Reviewed: https://review.openstack.org/462991
Committed: https://git.openstack.org/cgit/openstack/puppet-ceph/commit/?id=0754aecaa9cddfe5a6bf7c9bed43c18b35db6508
Submitter: Jenkins
Branch: master

commit 0754aecaa9cddfe5a6bf7c9bed43c18b35db6508
Author: John Fulton <email address hidden>
Date: Mon May 1 13:37:24 2017 -0400

    Correctly configure /dev/nvme0n1 devices as OSDs

    Change pupppet-ceph's assumption that all devices which end with
    a "1" have a first partition so that it can correctly configure
    NVMe SSDs, which appear as /dev/nvme0n1 and whose partitions appear
    as /dev/nvme0n1p1, /dev/nvme0n1p2 and so on.

    Closes-Bug: #1687114
    Change-Id: I433fd3ab3ce240c661e7e9faeb758fd0d0215f6a

Changed in puppet-ceph:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-ceph 2.4.0

This issue was fixed in the openstack/puppet-ceph 2.4.0 release.

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.