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.
Actions