yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28102
[Bug 1407885] Re: os-tenant-networks API of v2.1 fails
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => kilo-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1407885
Title:
os-tenant-networks API of v2.1 fails
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Now os-tenant-networks API of v2.1 fails like the following:
$ curl -i
'http://192.168.11.62:8774/v2.1/0d012e420eab4947a8adcaa37f5073e9/os-
tenant-networks' -X GET ..
HTTP/1.1 500 Internal Server Error
X-Openstack-Compute-Api-Version: 2.1
Vary: X-OpenStack-Compute-API-Version
Content-Length: 203
Content-Type: application/json; charset=UTF-8
X-Compute-Request-Id: req-3530c2f5-d8b7-4eac-9d08-cca54c48681c
Date: Tue, 06 Jan 2015 05:40:58 GMT
{"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<type 'exceptions.NotImplementedError'>", "code": 500}
$
The log of nova-api is the following:
2015-01-06 05:40:58.784 ERROR nova.api.openstack.extensions [req-3530c2f5-d8b7-4eac-9d08-cca54c48681c admin demo] Unexpected exception in API method
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions Traceback (most recent call last):
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/api/openstack/extensions.py", line 484, in wrapped
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions return f(*args, **kwargs)
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/api/openstack/compute/plugins/v3/tenant_networks.py", line 88, in index
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions return {'networks': [network_dict(n) for n in networks]}
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/api/openstack/compute/plugins/v3/tenant_networks.py", line 54, in network_dict
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions "cidr": str(network.get("cidr")),
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/objects/base.py", line 621, in get
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions return getattr(self, key)
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/objects/base.py", line 71, in getter
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions self.obj_load_attr(name)
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions File "/opt/stack/nova/nova/objects/base.py", line 506, in obj_load_attr
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions _("Cannot load '%s' in the base class") % attrname)
2015-01-06 05:40:58.784 TRACE nova.api.openstack.extensions NotImplementedError: Cannot load 'cidr' in the base class
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1407885/+subscriptions
References