Bug 1284455 - vmwareapi instance resize leads to the vm being cloned
Summary: vmwareapi instance resize leads to the vm being cloned
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 6.0 (Juno)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: async
: 6.0 (Juno)
Assignee: Lee Yarwood
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-23 11:50 UTC by Lee Yarwood
Modified: 2019-10-10 10:32 UTC (History)
12 users (show)

Fixed In Version: openstack-nova-2014.2.3-45.el7ost
Doc Type: Bug Fix
Doc Text:
Cause: VMware guests would be cloned when resizing an instance using the vmwareapi backend. Consequence: As a result of cloning the underlying VMware guest volumes would be copied across datastores and ephemeral disks placed on inaccessible datastores. Fix: To correct this vmwareapi now resizes the VMware guest in place without cloning. Result: Resizing instances no longer clones the underlying VMware guest leaving volumes and ephemeral disks in place. Note: To upgrade to this version please ensure no active resize operations are in progress.
Clone Of:
Environment:
Last Closed: 2016-01-12 22:07:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lee Yarwood 2015-11-23 11:50:41 UTC
Description of problem:

An instance resize using vmwareapi leads to the associated instance VM being cloned. This in turn copies any attached volume vmdk files into instance instead of using a shadow VM that itself can be stored on a separate datastore to the instance.

This issue and many others relating to the cloning of the VM during a resize were addressed in Kilo by the following change :

VMware: address instance resize problems
https://review.openstack.org/#/c/145007/

Version-Release number of selected component (if applicable):
openstack-nova-api-2014.2.3-25.el7ost.noarch
openstack-nova-cert-2014.2.3-25.el7ost.noarch
openstack-nova-common-2014.2.3-25.el7ost.noarch
openstack-nova-compute-2014.2.3-25.el7ost.noarch
openstack-nova-conductor-2014.2.3-25.el7ost.noarch
openstack-nova-console-2014.2.3-25.el7ost.noarch
openstack-nova-novncproxy-2014.2.3-25.el7ost.noarch
openstack-nova-scheduler-2014.2.3-25.el7ost.noarch
python-nova-2014.2.3-25.el7ost.noarch
python-novaclient-2.20.0-1.el7ost.noarch

How reproducible:
Always.

Steps to Reproduce:
1. resize vmwareapi instance.


Actual results:
VMWare VM is cloned causing any attached volume vmdk files to be copied into the instance instead of using a shadow VM.

Expected results:
VMWare VM is not cloned and only resized.

Additional info:

Comment 14 Lon Hohberger 2016-01-12 22:07:45 UTC
openstack-nova-2014.2.3-48.el7ost was shipped live, which contains a fix for this issue.  If this issue is not addressed, please reopen this bugzilla or file a new one.


Note You need to log in before you can comment on or make changes to this bug.