Error reported when creating new volume from Launch Instance NG

Bug #1465405 reported by Travis Tripp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Undecided
Unassigned

Bug Description

In local settings, enable the new launch instance.

LAUNCH_INSTANCE_NG_ENABLED = True

Then launch the new launch instance wizard.

Select "Create New Volume" and fill in other fields.
Enable javascript console

When you launch, you'll get an error "Unable to create server"

In javascript console, observe: "'unicode' object has no attribute 'id'"

From Horizon server log, observe:

error invoking apiclient
Traceback (most recent call last):
  File "/home/ttripp/opensource/horizon/openstack_dashboard/api/rest/utils.py", line 114, in _wrapped
    data = function(self, request, *args, **kw)
  File "/home/ttripp/opensource/horizon/openstack_dashboard/api/rest/nova.py", line 170, in post
    new = api.nova.server_create(*args, **kw)
  File "/home/ttripp/opensource/horizon/openstack_dashboard/api/nova.py", line 590, in server_create
    meta=meta), request)
  File "/home/ttripp/opensource/horizon/.venv/local/lib/python2.7/site-packages/novaclient/v2/servers.py", line 926, in create
    **boot_kwargs)
  File "/home/ttripp/opensource/horizon/.venv/local/lib/python2.7/site-packages/novaclient/v2/servers.py", line 508, in _boot
    bdm_dict = {'uuid': image.id, 'source_type': 'image',
AttributeError: 'unicode' object has no attribute 'id'
[15/Jun/2015 21:11:05] "POST /api/nova/servers/ HTTP/1.1" 500 40

Revision history for this message
Liyingjun (liyingjun) wrote :
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.