yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49350
[Bug 1444446] Re: VMware: resizing a instance that has no root disk fails
Reviewed: https://review.openstack.org/173802
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=54afe44c7b68902556850baf4eba0846b000aa35
Submitter: Jenkins
Branch: master
commit 54afe44c7b68902556850baf4eba0846b000aa35
Author: Gary Kotton <gkotton@xxxxxxxxxx>
Date: Wed Apr 15 05:41:29 2015 -0700
VMware: enable a resize of instance with no root disk
This addresses the issue when the user wishes to update the CPU
or memory of the instance.
No changes to disks will be done if there is no root disk.
Examples of when there is no root disk:
1. When an instance is booted from a cinder volume.
2. When booting from an ISO and the root disk size is zero
In these cases there will not be a disk created on the vmware
shared datastore.
Change-Id: I848fd3e57ec2f9cbc4fc31fd9ec3fe515fee4f32
Closes-bug: #1444446
** 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/1444446
Title:
VMware: resizing a instance that has no root disk fails
Status in OpenStack Compute (nova):
Fix Released
Bug description:
2015-04-13 21:25:51.437 7852 TRACE oslo.messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py", line 1278, in _resize_create_ephemerals
2015-04-13 21:25:51.437 7852 TRACE oslo.messaging.rpc.dispatcher ds_ref = vmdk.device.backing.datastore
2015-04-13 21:25:51.437 7852 TRACE oslo.messaging.rpc.dispatcher AttributeError: 'NoneType' object has no attribute 'backing'
2015-04-13 21:25:51.437 7852 TRACE oslo.messaging.rpc.dispatcher
2015-04-13 21:25:51.442 7852 ERROR oslo.messaging._drivers.common [-] Returning exception 'NoneType' object has no attribute 'backing' to caller
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1444446/+subscriptions
References