commit eecf311e3fe2e45be89d29cf3fbc5f75210638ae
Author: Andy McCrae <email address hidden>
Date: Tue Aug 11 11:58:49 2015 +0100
Set lxc.autodev=0 for cinder_volumes in containers
With cinder_volumes we were creating a specific udev device, this will
fail to mount if lxc.autodev=1. This should only be required when lvm is
a backend for the cinder_volumes container.
We can specify lxc.autodev=0 for cinder_volumes containers. To do this
properly we first check if lvm is in use. We can also use this to ensure
that redundant "lvm" configuration isn't setup on volumes hosts with no
lvm backend.
Additionally this will fix the formatting on the "udev" lxc.mount.entry
as it was adding additional spaces.
Change-Id: Iabe72003ebcfefe11d360131fdde64ca4b21a192
Closes-Bug: #1483650
(cherry picked from commit e85592d54cacd521efb30ac373693bb1e9425c1b)
Reviewed: https:/ /review. openstack. org/215634 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=eecf311e3fe 2e45be89d29cf3f bc5f75210638ae
Committed: https:/
Submitter: Jenkins
Branch: kilo
commit eecf311e3fe2e45 be89d29cf3fbc5f 75210638ae
Author: Andy McCrae <email address hidden>
Date: Tue Aug 11 11:58:49 2015 +0100
Set lxc.autodev=0 for cinder_volumes in containers
With cinder_volumes we were creating a specific udev device, this will
fail to mount if lxc.autodev=1. This should only be required when lvm is
a backend for the cinder_volumes container.
We can specify lxc.autodev=0 for cinder_volumes containers. To do this
properly we first check if lvm is in use. We can also use this to ensure
that redundant "lvm" configuration isn't setup on volumes hosts with no
lvm backend.
Additionally this will fix the formatting on the "udev" lxc.mount.entry
as it was adding additional spaces.
Change-Id: Iabe72003ebcfef e11d360131fdde6 4ca4b21a192 1efb30ac373693b b1e9425c1b)
Closes-Bug: #1483650
(cherry picked from commit e85592d54cacd52