VMware: boot from volume exception

Bug #1223709 reported by Gary Kotton
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Gary Kotton
VMwareAPI-Team
Fix Committed
Critical
Gary Kotton

Bug Description

When the cinder volume is not on the same hos the following exception occurs.

2013-09-10 23:57:41.383 ERROR nova.compute.manager [req-4025681f-b5b6-49df-82b7-b16b7a988b3a demo demo] [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] Instance failed to spawn
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] Traceback (most recent call last):
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] File "/opt/stack/nova/nova/compute/manager.py", line 1416, in _spawn
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] block_device_info)
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 605, in spawn
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] admin_password, network_info, block_device_info)
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 446, in spawn
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] self._default_root_device)
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 461, in attach_root_volume
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] device = self._get_vmdk_backed_disk_device(vm_ref, data)
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 391, in _get_vmdk_backed_disk_device
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] raise volume_util.StorageError(_("Unable to find volume"))
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768] StorageError: Unable to find volume
2013-09-10 23:57:41.383 TRACE nova.compute.manager [instance: 7034fed5-10a7-4fcb-89d5-0a4bac46c768]

Tags: vmware
Gary Kotton (garyk)
tags: added: vmware
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/46027

Changed in nova:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Gary Kotton (garyk)
Changed in nova:
importance: Undecided → Critical
milestone: none → havana-rc1
Changed in openstack-vmwareapi-team:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Gary Kotton (garyk)
Changed in nova:
importance: Critical → High
Changed in nova:
importance: High → Medium
Changed in nova:
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/46027
Committed: http://github.com/openstack/nova/commit/dd52437e0a64e58400c1d0e828a99b3334661354
Submitter: Jenkins
Branch: master

commit dd52437e0a64e58400c1d0e828a99b3334661354
Author: Gary Kotton <email address hidden>
Date: Wed Sep 11 01:02:06 2013 -0700

    VMware: fix bug with booting from volume

    When booting from volume ensure that the volume is on the same
    datastore as the instance being booted.

    Fixes bug 1223709

    Change-Id: Iddb70cdd7e358c401ef4f0b4d9e66b9655c2feeb

Changed in nova:
status: In Progress → Fix Committed
Tracy Jones (tjones-i)
Changed in openstack-vmwareapi-team:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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