← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1966987] Re: VMware: Avoid spawn instance if memory is not multiple of 4

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/835739
Committed: https://opendev.org/openstack/nova/commit/08e8bdf2711d717adc1028b5acecd81e4ce71572
Submitter: "Zuul (22348)"
Branch:    master

commit 08e8bdf2711d717adc1028b5acecd81e4ce71572
Author: Kiran Pawar <kinpaa@xxxxxxxxx>
Date:   Tue Mar 29 17:29:01 2022 +0000

    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


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1966987

Title:
  VMware: Avoid spawn instance if memory is not multiple of 4

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  When VMware instance is created with memory size (in mb) not multiple
  of 4, instance fails to boot. However this happens after instance is
  launched/spawned. We can do better by handling this case before spawn
  instance.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1966987/+subscriptions



References