vmware: (corner case) Terminating instance while in rebuilding state leaves orphaned vmdk in vcenter

Bug #1250689 reported by Sreeram Yerrapragada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
High
Unassigned

Bug Description

Steps to reproduce:
1. Launch an instance
2. Rebuild instance
3. While in rebuilding state, terminate the instance

Tags: vmware
Tracy Jones (tjones-i)
Changed in nova:
status: New → Confirmed
assignee: nobody → Tracy Jones (tjones-i)
Changed in nova:
importance: Undecided → High
Tracy Jones (tjones-i)
Changed in nova:
assignee: Tracy Jones (tjones-i) → nobody
Revision history for this message
Tracy Jones (tjones-i) wrote :
Download full text (4.0 KiB)

2014-06-04 13:59:21.358 ERROR suds.client [req-91d597a6-cf46-4a96-b6be-4759d6778b48 admin admin] <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:ns0="urn:vim25" xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <ns1:Body>
      <ns0:RetrievePropertiesEx>
         <ns0:_this type="PropertyCollector">propertyCollector</ns0:_this>
         <ns0:specSet>
            <ns0:propSet>
               <ns0:type>VirtualMachine</ns0:type>
               <ns0:all>false</ns0:all>
               <ns0:pathSet>config.hardware.device</ns0:pathSet>
            </ns0:propSet>
            <ns0:objectSet>
               <ns0:obj type="VirtualMachine">vm-139</ns0:obj>
               <ns0:skip>false</ns0:skip>
            </ns0:objectSet>
         </ns0:specSet>
         <ns0:options>
            <ns0:maxObjects>100</ns0:maxObjects>
         </ns0:options>
      </ns0:RetrievePropertiesEx>
   </ns1:Body>
</SOAP-ENV:Envelope>
2014-06-04 13:59:21.364 WARNING nova.virt.vmwareapi.error_util [req-91d597a6-cf46-4a96-b6be-4759d6778b48 admin admin] Fault ManagedObjectNotFound not matched.
2014-06-04 13:59:21.364 ERROR nova.compute.manager [req-91d597a6-cf46-4a96-b6be-4759d6778b48 admin admin] [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] Setting instance vm_state to ERROR
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] Traceback (most recent call last):
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] File "/opt/stack/nova/nova/compute/manager.py", line 5602, in _error_out_instance_on_exception
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] yield
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] File "/opt/stack/nova/nova/compute/manager.py", line 2564, in rebuild_instance
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] self._rebuild_default_impl(**kwargs)
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] File "/opt/stack/nova/nova/compute/manager.py", line 2419, in _rebuild_default_impl
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] block_device_info=new_block_device_info)
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 628, in spawn
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] admin_password, network_info, block_device_info)
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 514, in spawn
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68-ba31-2063da5eee1a] uploaded_iso_path)
2014-06-04 13:59:21.364 TRACE nova.compute.manager [instance: 93b4b307-f1f8-4a68...

Read more...

Revision history for this message
Tracy Jones (tjones-i) wrote :

actually it worked that time. I'll keep trying to repo

Revision history for this message
Gary Kotton (garyk) wrote :

Hi,
I was unable to reproduce this on stable icehouse.
Thanks
Gary

Revision history for this message
Sreeram Yerrapragada (syerrapragada) wrote :

Even I am unable reproduce this on stable icehouse. We can mark this issue invalid.

Changed in nova:
status: Confirmed → Incomplete
Revision history for this message
Tracy Jones (tjones-i) wrote :

setting to invalid since it a seems to have disappeared

Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.