Ensure cinder container udev line isn't duplicated
With the included version of the lxc module in Juno, the udev mount line
would have 2 spaces on either side of the = sign. While this worked, it
conflicted with upgrades, which inserted the same line, except with 1
space on either side of the = sign. Having two lines that were
functionally equivalent meant that the container cannot restart.
This patch ensures that the correct line is always present, so that when
an upgrade happens the udev mount entry is not duplicated.
Reviewed: https:/ /review. openstack. org/231154 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=f0db75ce276 49e092fb5c3f651 dbf07cb3f9a8d0
Committed: https:/
Submitter: Jenkins
Branch: juno
commit f0db75ce27649e0 92fb5c3f651dbf0 7cb3f9a8d0
Author: Nolan Brubaker <email address hidden>
Date: Mon Oct 5 15:42:21 2015 -0400
Ensure cinder container udev line isn't duplicated
With the included version of the lxc module in Juno, the udev mount line
would have 2 spaces on either side of the = sign. While this worked, it
conflicted with upgrades, which inserted the same line, except with 1
space on either side of the = sign. Having two lines that were
functionally equivalent meant that the container cannot restart.
This patch ensures that the correct line is always present, so that when
an upgrade happens the udev mount entry is not duplicated.
Closes-Bug #1497681
Change-Id: I43957c78478e7f 01be271576ca9fc f4ac7828f72