nova/releasenotes/notes/vmware-add-ram-size-multiple-of-4-validation-9740bf60d59ce5e2.yaml
Kiran Pawar 08e8bdf271 VMware: Early fail spawn if memory is not multiple of 4.
If instance memory is not multiple of 4, creating instance on ESXi
fails with error "['GenericVmConfigFault'] VimFaultException: Memory
(RAM) size is invalid.". However this is after instance is built and
tried to launch on ESXi. Add check in prepare_for_spawn to trigger
failure early and avoid further steps i.e. build as well as launch.

Closes-Bug: #1966987
Change-Id: I7ed8ac986283cd455e54e3f18ab955f43b3248d0
2022-04-19 15:47:35 +00:00

8 lines
268 B
YAML

---
fixes:
- |
For the VMware ESXi, VM memory should be multiple of 4. Otherwise creating
instance on ESXi fails with error "VimFaultException: Memory (RAM) size is
invalid.". Instances will now fail to spawn if flavor memory is not a
multiple of 4.