Public bug reported: To reproduce the issue, follow these steps: 1) Create s small instance 2) Resize to a larger instance 3) Create a snapshot image from the resized instance 4) Create an instance from this snapshot image, selecting the smallest flavor based on the snapshot image’s ‘min_disk’ value
The expected result is that in step #4 the image’s ‘min_disk’ value can be used to select a minimum sized flavor for a new instance, leading to a successful instance creation. The actual result is that the minimum sized flavor suggested by ‘min_disk’ is too small for the snapshot image, so instance creation fails with a 'VM too large for selected flavor' error here: https://github.com/openstack/nova/blob/master/nova/virt/xenapi/vm_utils.py#L901 This error is seen in a deployment using Xen hypervisors with Glance/Swift for image storage. ** Affects: nova Importance: Undecided Assignee: John Wood (john-wood-w) Status: New ** Changed in: nova Assignee: (unassigned) => John Wood (john-wood-w) -- 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/1565590 Title: Resized instance doesn't track new flavor, leading to possible instance-from-snapshot creation failures Status in OpenStack Compute (nova): New Bug description: To reproduce the issue, follow these steps: 1) Create s small instance 2) Resize to a larger instance 3) Create a snapshot image from the resized instance 4) Create an instance from this snapshot image, selecting the smallest flavor based on the snapshot image’s ‘min_disk’ value The expected result is that in step #4 the image’s ‘min_disk’ value can be used to select a minimum sized flavor for a new instance, leading to a successful instance creation. The actual result is that the minimum sized flavor suggested by ‘min_disk’ is too small for the snapshot image, so instance creation fails with a 'VM too large for selected flavor' error here: https://github.com/openstack/nova/blob/master/nova/virt/xenapi/vm_utils.py#L901 This error is seen in a deployment using Xen hypervisors with Glance/Swift for image storage. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1565590/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

