aboutsummaryrefslogtreecommitdiff
path: root/docker/glance
diff options
context:
space:
mode:
authorPaul Bourke <paul.bourke@oracle.com>2016-11-16 14:12:38 +0000
committerPaul Bourke <paul.bourke@oracle.com>2016-11-16 14:15:57 +0000
commitdc0c07e0bf54cd461799716be438c708841d386e (patch)
tree2009df99d60104a06c7263a301282348de6b7bd6 /docker/glance
parent870616f8858556e4dc5abb3838259d12c14e0263 (diff)
downloadkolla-dc0c07e0bf54cd461799716be438c708841d386e.tar.gz
kolla-dc0c07e0bf54cd461799716be438c708841d386e.zip
Add a 'fallback mode' to disable udev in find_disks
As part of change I362b3f8e91de79687fc84e256996fbcaf303b6af a check was added to use udev to read GPT labels only if the version of udev installed supports that, otherwise fallback to sgdisk. Unfortunately the check for udev version is unreliable, as it is returning the version of the udev userspace tools installed within the container rather than on the host. As well as this, we're seeing the find_disks.py having trouble reading the UUID of a partition via udev. The test system is Oracle VM 3.4.2 which was released earlier this year, but has an old udev (derivative of RHEL 6). Even if we use Ansible to query the host's version of udev and pass that through to the container, querying the above disk attributes is a lottery on older systems without a reliable reference of which versions of udev support which operations. Hence we should give operators a reliable way to toggle it's usage. Partial-Bug: 1631949 Change-Id: I6ad7825cdb164498f3d02f2ae064c7c1c38e10d5
Diffstat (limited to 'docker/glance')
0 files changed, 0 insertions, 0 deletions