Project

General

Profile

Actions

Bug #68035

closed
GA GA

`ceph-volume lvm zap` should call `ceph-bluestore-tool zap-device`

Bug #68035: `ceph-volume lvm zap` should call `ceph-bluestore-tool zap-device`

Added by Guillaume Abrioux about 2 years ago. Updated 3 months ago.

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

0%

Source:
Backport:
squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-5160-g06708cb18c
Released In:
v20.2.0~1942
Upkeep Timestamp:
2026-08-28T01:37:35+00:00

Description

BlueStore now writes its metadata at multiple offset on devices [1].
It means `ceph-volume lvm zap` doesn't remove BlueStore signature altogether.
This can confuse ceph-volume when redeploying an OSD on a previously zapped device because there is still old BlueStore metadata on it.

ceph-volume should call `ceph-bluestore-tool zap-device` [2] in addition to the existing calls when wiping a device.

[1] https://github.com/ceph/ceph/pull/55374
[2] https://github.com/ceph/ceph/pull/59632


Related issues 1 (0 open — 1 closed)

Copied to ceph-volume - Backport #68220: squid: `ceph-volume lvm zap` should call `ceph-bluestore-tool zap-device`ResolvedGuillaume Abrioux

Actions

GA Updated by Guillaume Abrioux about 2 years ago Actions #1

  • Pull request ID set to 59742

GA Updated by Guillaume Abrioux about 2 years ago Actions #2

  • Status changed from In Progress to Fix Under Review

GA Updated by Guillaume Abrioux about 2 years ago Actions #3

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot about 2 years ago Actions #4

  • Copied to Backport #68220: squid: `ceph-volume lvm zap` should call `ceph-bluestore-tool zap-device` added

UB Updated by Upkeep Bot about 2 years ago Actions #5

  • Tags (freeform) set to backport_processed

GA Updated by Guillaume Abrioux about 2 years ago Actions #6

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot over 1 year ago Actions #7

  • Merge Commit set to 06708cb18c9c9d4cc1c6d8169ea2e72415d8e064
  • Fixed In set to v19.3.0-5160-g06708cb18c9
  • Upkeep Timestamp set to 2025-07-10T12:15:21+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • Fixed In changed from v19.3.0-5160-g06708cb18c9 to v19.3.0-5160-g06708cb18c
  • Upkeep Timestamp changed from 2025-07-10T12:15:21+00:00 to 2025-07-14T20:10:45+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #9

  • Released In set to v20.2.0~1942
  • Upkeep Timestamp changed from 2025-07-14T20:10:45+00:00 to 2025-11-01T01:30:45+00:00

UB Updated by Upkeep Bot 3 months ago Actions #10

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T01:30:45+00:00 to 2026-08-28T01:37:35+00:00
Actions

Also available in: PDF Atom