commit e85592d54cacd521efb30ac373693bb1e9425c1b
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.
Reviewed: https:/ /review. openstack. org/211502 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=e85592d54ca cd521efb30ac373 693bb1e9425c1b
Committed: https:/
Submitter: Jenkins
Branch: master
commit e85592d54cacd52 1efb30ac373693b b1e9425c1b
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
Closes-Bug: #1483650