Project

General

Profile

Bug #8793

ceph-deploy disk zap and ceph-disk zap seem to have different behavior

Added by Alexandre Marangone over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Support
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

It seems that both commands have different behavior.
On a few disks, running ceph-deploy disk zap failed while ceph-disk zap succeeded.

Sadly, I don't have an environment to reproduce.

History

#1 Updated by Alexandre Marangone over 9 years ago

Looking at the code.

ceph-deploy executes 2 commands:
sgdisk --zap-all -- disk
sgdisk --clear --mbrtogpt -- disk

while ceph-disk executes only one:
sgdisk --zap-all --clear --mbrtogpt -- dev

The ceph-deploy disk zap failed after the first one.

Could we have ceph-deploy disk zap call "ceph-disk zap dev" instead of the two sgdisk commands?

#2 Updated by Sage Weil over 9 years ago

  • Assignee set to Alfredo Deza
  • Priority changed from Normal to High

#3 Updated by Alfredo Deza over 9 years ago

  • Status changed from New to In Progress

#4 Updated by Alfredo Deza over 9 years ago

  • Status changed from In Progress to Fix Under Review

#5 Updated by Alfredo Deza over 9 years ago

  • Status changed from Fix Under Review to Resolved

merged commit aa2de20 into ceph:master

#6 Updated by Loïc Dachary over 9 years ago

  • Project changed from devops to Ceph-deploy
  • Category deleted (ceph-deploy)

Also available in: Atom PDF