Actions
Bug #51061
closedGPT partitioning table: OSD "all-available-devices" tries to use "non available" devices
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
cephadm/osd
Target version:
-
% Done:
50%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
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.
Updated by Juan Miguel Olmo Martínez almost 3 years ago
- % Done changed from 0 to 50
- Pull request ID set to 41640
Updated by Sebastian Wagner almost 3 years ago
- Status changed from New to Fix Under Review
Updated by Sebastian Wagner over 2 years ago
- Status changed from Fix Under Review to New
- Assignee deleted (
Juan Miguel Olmo Martínez)
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)
Updated by Sebastian Wagner over 2 years ago
- Is duplicate of Bug #53321: cephadm tries to use the system disk for osd specs added
Updated by Sebastian Wagner over 2 years ago
- Status changed from New to Duplicate
Actions