openstack-ansible-ops: "shrinking" machines00 fails due to "insufficient free space"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Corey Wright |
Bug Description
tl;dr commit 875fa96fb871fc0
"Shrinking" the machines00 LV to 8 GiB fails due to "insufficient free space" when default_
<error>
TASK [Shrink machines00 mount] *******
task path: /root/openstack
fatal: [cinder1]: FAILED! => {"changed": false, "err": " Insufficient free space: 1072 extents needed, but only 0 available\n", "msg": "Unable to resize machines00 to 8192m", "rc": 5}
fatal: [cinder2]: FAILED! => {"changed": false, "err": " Insufficient free space: 1072 extents needed, but only 0 available\n", "msg": "Unable to resize machines00 to 8192m", "rc": 5}
fatal: [swift1]: FAILED! => {"changed": false, "err": " Insufficient free space: 1072 extents needed, but only 0 available\n", "msg": "Unable to resize machines00 to 8192m", "rc": 5}
fatal: [swift2]: FAILED! => {"changed": false, "err": " Insufficient free space: 1072 extents needed, but only 0 available\n", "msg": "Unable to resize machines00 to 8192m", "rc": 5}
fatal: [swift3]: FAILED! => {"changed": false, "err": " Insufficient free space: 1072 extents needed, but only 0 available\n", "msg": "Unable to resize machines00 to 8192m", "rc": 5}
to retry, use: --limit @/root/
</error>
The previous behavior (prior to commit 875fa96f) didn't even consider machines00, so maybe ignore resizing machines00 except for the nspawn case.
Of course maybe the best solution is to delete machines00 instead of just ignoring it, at least when default_ container_ tech == 'lxc', but I'm conservative and sticking to the previous behavior (ie only delete lxc00).