yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49695
[Bug 1465405] Re: Error reported when creating new volume from Launch Instance NG
*** This bug is a duplicate of bug 1454283 ***
https://bugs.launchpad.net/bugs/1454283
** This bug has been marked a duplicate of bug 1454283
[launch instance] create volume during launch instance fails
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1465405
Title:
Error reported when creating new volume from Launch Instance NG
Status in OpenStack Dashboard (Horizon):
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1465405/+subscriptions
References