yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #04033
[Bug 1044231] Re: cannot launch an instance due to KeyError 'port-id'
** Changed in: python-novaclient
Status: Fix Committed => Fix Released
--
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/1044231
Title:
cannot launch an instance due to KeyError 'port-id'
Status in OpenStack Dashboard (Horizon):
Won't Fix
Status in Python client library for Nova:
Fix Released
Bug description:
Due to a recent change in python-novaclient, trying to launch an
instance fails with the following stack trace.
[Fri Aug 31 01:22:00 2012] [error] File "/opt/stack-gh/horizon/openstack_dashboard/wsgi/../../horizon/dashboards/nova/instances/workflows.py", line 510, in handle
[Fri Aug 31 01:22:00 2012] [error] instance_count=int(context['count']))
[Fri Aug 31 01:22:00 2012] [error] File "/opt/stack-gh/horizon/openstack_dashboard/wsgi/../../horizon/api/nova.py", line 305, in server_create
[Fri Aug 31 01:22:00 2012] [error] min_count=instance_count), request)
[Fri Aug 31 01:22:00 2012] [error] File "/opt/stack-gh/python-novaclient/novaclient/v1_1/servers.py", line 498, in create
[Fri Aug 31 01:22:00 2012] [error] **boot_kwargs)
[Fri Aug 31 01:22:00 2012] [error] File "/opt/stack-gh/python-novaclient/novaclient/v1_1/base.py", line 153, in _boot
[Fri Aug 31 01:22:00 2012] [error] if nic_info['port-id']:
[Fri Aug 31 01:22:00 2012] [error] KeyError: 'port-id'
I guess horizon/dashboards/nova/instances/workflows.py needs to supply
'port-id' key.
The problem commit in python-novaclient is:
commit 52d24b19f9bb520c65b4dd937c5997592fa273ab
Author: Nachi Ueno <nachi@xxxxxxxxxx>
Date: Wed Aug 15 17:52:27 2012 +0000
Added -nic port-id=<port_uuid_in_qunatum> support
Fixes bug 1037202
Change-Id: I72d252edb7ce5fda61b88a9f9548d59d59a56156
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1044231/+subscriptions