yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49602
[Bug 1570241] Re: ERROR (ClientException): Unexpected API Error during type the command: nova virtual-interface-list
*** This bug is a duplicate of bug 1183436 ***
https://bugs.launchpad.net/bugs/1183436
The nova-compute logs in here are confusing, the error is pretty obvious
in the n-api logs though:
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions vifs = self.network_api.get_vifs_by_instance(context, instance)
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1451, in get_vifs_by_instance
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions raise NotImplementedError()
You're using neutron and the nova.network.neutronv2.api in Nova doesn't
implement get_vifs_by_instance.
This is a duplicate of bug 1183436, you'd have to be on nova 12.0.3 to
get the change to return a 400 rather than a 500:
https://review.openstack.org/#/c/289383/
There is a spec for implementing this API in Newton:
https://review.openstack.org/#/c/289576/
** This bug has been marked a duplicate of bug 1183436
list_virtual_interfaces fails with Quantum
--
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/1570241
Title:
ERROR (ClientException): Unexpected API Error during type the
command: nova virtual-interface-list
Status in OpenStack Compute (nova):
New
Bug description:
[stack@undercloud ~]$ nova virtual-interface-list bae94215-cda7-4307-9425-f491f2be2343
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'> (HTTP 500) (Request-ID: req-2dc1eff6-874c-4a7c-b731-a56a6b9796fb)
I run the test with tempest on ospd setup 1 controller one compute
after the test failed and I got this log :
Traceback (most recent call last):
File "/root/tempest-dir/tempest/test.py", line 113, in wrapper
return f(self, *func_args, **func_kwargs)
File "/root/tempest-dir/tempest/api/compute/servers/test_virtual_interfaces.py", line 56, in test_list_virtual_interfaces
self.client.list_virtual_interfaces(self.server_id)
File "/root/tempest-dir/tempest/lib/services/compute/servers_client.py", line 478, in list_virtual_interfaces
'os-virtual-interfaces']))
File "/root/tempest-dir/tempest/lib/common/rest_client.py", line 274, in get
return self.request('GET', url, extra_headers, headers)
File "/root/tempest-dir/tempest/lib/services/compute/base_compute_client.py", line 53, in request
method, url, extra_headers, headers, body)
File "/root/tempest-dir/tempest/lib/common/rest_client.py", line 642, in request
resp, resp_body)
File "/root/tempest-dir/tempest/lib/common/rest_client.py", line 761, in _error_checker
message=message)
ServerFault: Got server fault
Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.NotImplementedError'>
I verified it manually .
[stack@undercloud ~]$ rpm -qa |grep -i nova
openstack-nova-conductor-12.0.2-5.el7ost.noarch
openstack-nova-compute-12.0.2-5.el7ost.noarch
openstack-nova-scheduler-12.0.2-5.el7ost.noarch
openstack-nova-api-12.0.2-5.el7ost.noarch
python-nova-12.0.2-5.el7ost.noarch
openstack-nova-cert-12.0.2-5.el7ost.noarch
openstack-nova-common-12.0.2-5.el7ost.noarch
python-novaclient-3.1.0-2.el7ost.noarch
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1570241/+subscriptions
References