mnaio: Only resize Swift & Cinder machines00 LV when using nspawn
Commit 875fa96f / change-id Ief0040f6 unintentionally tries to enlarge the "machines00" LV when LXC is the default container technology which fails due to the Debian automated installation having assigned all the space within the associated "vmvg00" VG. As the intention of the aforementioned commit was to apply when systemd-nspawn was used, codify that explicitly in a `when:` condition on the problematic Ansible task. Change-Id: I56ec1290d71d0d09db447e347d7d55432d9b81c6 Signed-off-by: Corey Wright <corey.wright@rackspace.com> Closes-Bug: #1781823
This commit is contained in:
parent
93463d6efc
commit
f21bc66671
@ -272,6 +272,8 @@
|
||||
size: 8192
|
||||
shrink: yes
|
||||
force: yes
|
||||
when:
|
||||
- default_container_tech | default('lxc') == 'nspawn'
|
||||
|
||||
- name: Remove lxc00 volume group
|
||||
lvol:
|
||||
|
Loading…
x
Reference in New Issue
Block a user