Project

General

Profile

Bug #51061

GPT partitioning table: OSD "all-available-devices" tries to use "non available" devices

Added by Juan Miguel Olmo Martínez 8 months ago. Updated about 2 months ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
cephadm/osd
Target version:
-
% Done:

50%

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

Description

Sequence of operations -
1) Boot strapped cluster using -

cephadm -v --image registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-5.0-rhel-8-containers-candidate-54312-20210519174049 bootstrap --mon-ip 10.8.129.101 --cluster-network 172.20.20.0/24


2) checked
cephadm shell ceph-volume inventory and
cephadm shell ceph orch device ls


To make sure that all three devices on host we listed as available

3) Created gpt labels on one of the devices using

parted /dev/sdd mklabel gpt


and checked
cephadm shell ceph-volume inventory and
cephadm shell ceph orch device ls


to make sure that the device with gpt label created was marked as not available.
'cephadm shell ceph orch device ls' had to be tried after intervals to see that changes updated (Did not know about --refresh)

4) Executed

ceph orch apply osd --all-available-devices  

And observed mgr logs

 sudo journalctl -fu ceph-d66b64e4-b923-11eb-ac53-0cc47a6ee150@mgr.pluto001.juyiug.service

and observed that device with gpt label was not excluded from the list of available devices and operation failed as ceph-volume fails to configure OSD on devices with GPT headers.


Related issues

Duplicates Orchestrator - Bug #53321: cephadm tries to use the system disk for osd specs Duplicate

History

#1 Updated by Juan Miguel Olmo Martínez 8 months ago

  • % Done changed from 0 to 50
  • Pull request ID set to 41640

#2 Updated by Sebastian Wagner 7 months ago

  • Category set to cephadm/osd

#3 Updated by Sebastian Wagner 6 months ago

  • Status changed from New to Fix Under Review

#4 Updated by Sebastian Wagner 3 months ago

  • Status changed from Fix Under Review to New
  • Assignee deleted (Juan Miguel Olmo Martínez)

#5 Updated by Sebastian Wagner about 2 months ago

  • Subject changed from OSD "all-available-devices" tries to use "non available" devices to GPT partitioning table: OSD "all-available-devices" tries to use "non available" devices
  • Description updated (diff)

#6 Updated by Sebastian Wagner about 2 months ago

  • Duplicates Bug #53321: cephadm tries to use the system disk for osd specs added

#7 Updated by Sebastian Wagner about 2 months ago

  • Status changed from New to Duplicate

Also available in: Atom PDF