Ceph/Swift find_disk.py fails to find GPT disklabels on some systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Medium
|
Paul Bourke |
Bug Description
Possibly (unconfirmed) due to a bug in some older versions of udev (https:/
"""
# parted /dev/sdb -s -- mklabel gpt mklabel KOLLA_CEPH_
# parted /dev/sdb print
Model: ORACLE SSM (scsi)
Disk /dev/sdb: 8011MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 8010MB 8009MB KOLLA_CEPH_
# ls -l /dev/disk/
total 0
drwxr-xr-x 2 root root 380 May 24 12:32 by-id
drwxr-xr-x 2 root root 60 May 24 12:32 by-parttypeuuid
drwxr-xr-x 2 root root 60 May 24 12:32 by-partuuid
drwxr-xr-x 2 root root 240 May 24 12:32 by-path
drwxr-xr-x 2 root root 140 May 24 12:32 by-uuid
"""
In the above scenario the the label is applied as normal, but /dev/disk/
1) figure out a workaround
2) update find_disks to allow alternative methods of finding disks
3) declare kolla does not support older distros
Changed in kolla: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in kolla: | |
assignee: | nobody → Paul Bourke (pauldbourke) |
milestone: | none → newton-2 |
Change abandoned by Paul Bourke (<email address hidden>) on branch: master /review. openstack. org/335046
Review: https:/
Reason: dupe of 334970