yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #33759
[Bug 1465405] [NEW] Error reported when creating new volume from Launch Instance NG
Public bug reported:
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
** Affects: horizon
Importance: Undecided
Status: New
--
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
Follow ups
References