VMware: errors booting from volume via Horizon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Gary Kotton | ||
Havana |
Fix Released
|
High
|
Gary Kotton |
Bug Description
When using VMwareVC nova driver and VMwareVcVMDK cinder driver, booting from volume via the Horizon UI fails. The instance boots with ERROR status and the log shows "Image could not be found". In addition, the user is unable to access the instances index page in Horizon due to an error 500 (other pages work, however). Steps to reproduce:
(Using horizon)
1. Create a volume from an image
2. Boot an instance from the volume
Expected result:
1. An instance is booted from the volume successfully
2. User is redirected to the instances index page in Horizon
Actual result:
1. Instance fails to boot with status ERROR
2. User is redirected to instances index page but page fails with 500 error. In debug mode, user sees TypeError at /project/instances: string indices must be integers (see link to trace below)
Nova log error:
Traceback (most recent call last):
File "/opt/stack/
set_
File "/opt/stack/
LOG.
File "/opt/stack/
block_
File "/opt/stack/
admin_
File "/opt/stack/
disk_type, vif_model, image_linked_clone) = _get_image_
File "/opt/stack/
instance)
File "/opt/stack/
meta_data = image_service.
File "/opt/stack/
_reraise_
File "/opt/stack/
image = self._client.
File "/opt/stack/
return getattr(
File "/opt/stack/
% urllib.
File "/opt/stack/
return self._http_
File "/opt/stack/
raise exc.from_
ImageNotFound: Image could not be found.
Horizon error:
Request Method: GET
Request URL: http://
Django Version: 1.5.4
Exception Type: TypeError
Exception Value:
string indices must be integers
Exception Location: /opt/stack/
Python Executable: /usr/bin/python
Python Version: 2.7.3
Changed in nova: | |
assignee: | nobody → Subbu (subramanian-neelakantan) |
Changed in nova: | |
assignee: | Subbu (subramanian-neelakantan) → nobody |
Changed in nova: | |
assignee: | nobody → Gary Kotton (garyk) |
importance: | Undecided → High |
tags: | added: havana-backport-potential |
tags: | added: havana-rc-potential |
tags: | removed: havana-rc-potential |
Changed in nova: | |
milestone: | none → icehouse-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
tags: | removed: havana-backport-potential in-stable-havana |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/50053
Review: https:/