← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1570241] Re: ERROR (ClientException): Unexpected API Error during type the command: nova virtual-interface-list

 

less /var/log/nova/nova-api.log
2016-04-17 05:19:12.697 24505 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2016-04-17 05:19:12.698 24505 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "Could not find token: 058d81b26ee34f36b0e5b4de334ef5be", "code": 404, "title": "Not Found"}}
2016-04-17 05:19:12.700 24505 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions [req-606035da-18cf-4a79-bbf6-657dd4685597 2221c6978efd43df8e634932691fa06f 6d3b7a1a69cf4bb1ac75224f2cfaa12e - - -] Unexpected exception in API method
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions Traceback (most recent call last):
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions     return f(*args, **kwargs)
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/virtual_interfaces.py", line 69, in index
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions     entity_maker=_translate_vif_summary_view)
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions   File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/virtual_interfaces.py", line 60, in _items
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()
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions NotImplementedError
2016-04-17 06:05:49.290 24504 ERROR nova.api.openstack.extensions 


less /var/log/nova/nova-compute.log 
383e04ac, exception: Requested operation is not valid: cpu affinity is not supported
2016-04-17 06:07:49.635 19328 WARNING nova.virt.libvirt.driver [req-d9c8320c-bfd6-40ed-a8e7-32f5d8bf4ed5 - - - - -] couldn't obtain the vpu count from domain id: bae94215-cda7-4307-9425-f491f2be2343, exception: Requested operation is not valid: cpu affinity is not supported
2016-04-17 06:08:51.632 19328 WARNING nova.virt.libvirt.driver [req-d9c8320c-bfd6-40ed-a8e7-32f5d8bf4ed5 - - - - -] couldn't obtain the vpu count from domain id: 37fecbe8-82bf-4b3b-83a9-559e383e04ac, exception: Requested operation is not valid: cpu affinity is not supported
2016-04-17 06:08:51.635 19328 WARNING nova.virt.libvirt.driver [req-d9c8320c-bfd6-40ed-a8e7-32f5d8bf4ed5 - - - - -] couldn't obtain the vpu count from domain id: bae94215-cda7-4307-9425-f491f2be2343, exception: Requested operation is not valid: cpu affinity is not supported


** Changed in: nova
       Status: Invalid => New

-- 
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