Project

General

Profile

Actions

Bug #78615

closed
GA GA

ceph-volume: lvm batch --osds-per-device breaks with nvme devices

Bug #78615: ceph-volume: lvm batch --osds-per-device breaks with nvme devices

Added by Guillaume Abrioux 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
umbrella,tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-1516-g4d26ec1395
Released In:
Upkeep Timestamp:
2026-08-27T18:43:29+00:00

Description

When using `ceph-volume lvm batch --osds-per-device N` (with N > 1) on an nvme
device, only the first OSD is created successfully.
The second one fails with "device has a signature" during vgcreate and rolls back.

The issue was introduced by commit bb6d4d7 which added nvme preformat in prepare_data_device().
With osds-per-device > 1, that function is called once per OSD slot. The first call formats the device and creates the VG,
the second call formats it again, wiping the VG, so vgcreate then refuses to run on the 'still mounted' device.


Related issues 2 (0 open — 2 closed)

Copied to ceph-volume - Backport #78812: tentacle: ceph-volume: lvm batch --osds-per-device breaks with nvme devicesResolvedGuillaume Abrioux

Actions
Copied to ceph-volume - Backport #78813: umbrella: ceph-volume: lvm batch --osds-per-device breaks with nvme devicesResolvedGuillaume Abrioux

Actions

GA Updated by Guillaume Abrioux 4 months ago Actions #1

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 70486

GA Updated by Guillaume Abrioux 4 months ago Actions #2

  • Status changed from Fix Under Review to Pending Backport

GA Updated by Guillaume Abrioux 4 months ago Actions #3

  • Copied to Backport #78812: tentacle: ceph-volume: lvm batch --osds-per-device breaks with nvme devices added

GA Updated by Guillaume Abrioux 4 months ago Actions #4

  • Copied to Backport #78813: umbrella: ceph-volume: lvm batch --osds-per-device breaks with nvme devices added

GA Updated by Guillaume Abrioux 4 months ago Actions #5

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 4 months ago Actions #6

  • Merge Commit set to 4d26ec1395a5be39b18c5be675f26930bad61f02
  • Fixed In set to v21.3.0-1516-g4d26ec1395
  • Upkeep Timestamp set to 2026-07-29T07:36:10+00:00

UB Updated by Upkeep Bot 3 months ago Actions #7

  • Status changed from Pending Backport to Resolved
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-07-29T07:36:10+00:00 to 2026-08-27T18:43:29+00:00
Actions

Also available in: PDF Atom