Project

General

Profile

Actions

Bug #51061

closed

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

Added by Juan Miguel Olmo Martínez almost 3 years ago. Updated over 2 years 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 1 (0 open1 closed)

Is duplicate of Orchestrator - Bug #53321: cephadm tries to use the system disk for osd specsDuplicate

Actions
Actions #1

Updated by Juan Miguel Olmo Martínez almost 3 years ago

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

Updated by Sebastian Wagner almost 3 years ago

  • Category set to cephadm/osd
Actions #3

Updated by Sebastian Wagner almost 3 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Sebastian Wagner over 2 years ago

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

Updated by Sebastian Wagner over 2 years 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)
Actions #6

Updated by Sebastian Wagner over 2 years ago

  • Is duplicate of Bug #53321: cephadm tries to use the system disk for osd specs added
Actions #7

Updated by Sebastian Wagner over 2 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF