← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1817752] Re: Nova Compute errors when launch instance

 

Looks like the [neutron] configuration in nova.conf is not correctly
setup for the neutron service auth user credentials to have nova make
requests to the neutron service.

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

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

Title:
  Nova Compute errors when launch instance

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  I launch an instance creation with the command: openstack server
  create --flavor m1.small --image cirros --security-group secgroup01
  --nic net-id=$netID --key-name mykey instance

  I get error

  this a nova logs bellow

  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/neutronclient/v2_0/client.py", line 282, in do_request
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     headers=headers)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/neutronclient/client.py", line 342, in do_request
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     self._check_uri_length(url)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/neutronclient/client.py", line 335, in _check_uri_length
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     uri_len = len(self.endpoint_url) + len(url)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/neutronclient/client.py", line 349, in endpoint_url
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     return self.get_endpoint()
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/keystoneauth1/adapter.py", line 247, in get_endpoint
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     return self.session.get_endpoint(auth or self.auth, **kwargs)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/keystoneauth1/session.py", line 1113, in get_endpoint
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     return auth.get_endpoint(self, **kwargs)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/keystoneauth1/identity/base.py", line 380, in get_endpoint
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     allow_version_hack=allow_version_hack, **kwargs)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/keystoneauth1/identity/base.py", line 271, in get_endpoint_data
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     service_catalog = self.get_access(session).service_catalog
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     self.auth_ref = self.get_auth_ref(session)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/keystoneauth1/identity/generic/base.py", line 208, in get_auth_ref
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     return self._plugin.get_auth_ref(session, **kwargs)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/keystoneauth1/identity/v3/base.py", line 178, in get_auth_ref
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     authenticated=False, log=False, **rkwargs)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/keystoneauth1/session.py", line 1019, in post
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     return self.request(url, 'POST', **kwargs)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi   File "/usr/local/lib/python3.6/dist-packages/keystoneauth1/session.py", line 869, in request
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi     raise exceptions.from_response(resp, method, url)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi keystoneauth1.exceptions.http.GatewayTimeout: Gateway Timeout (HTTP 504)
  2019-02-26 15:44:17.610 2863 ERROR nova.api.openstack.wsgi
  2019-02-26 15:45:16.632 2863 INFO nova.api.openstack.wsgi [req-f5cff5c7-0bec-4885-af15-a74c6dbf65fa 2aedac776fe7458d966b685c4ec83283 e03854cd7f9b4dacb509404d33caf86b - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'keystoneauth1.exceptions.http.GatewayTimeout'>
  2019-02-26 15:45:18.634 2863 INFO nova.osapi_compute.wsgi.server [req-f5cff5c7-0bec-4885-af15-a74c6dbf65fa 2aedac776fe7458d966b685c4ec83283 e03854cd7f9b4dacb509404d33caf86b - default default] 192.168.1.52 "POST /v2.1/e03854cd7f9b4dacb509404d33caf86b/servers HTTP/1.1" status: 500 len: 651 time: 544.7109623

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1817752/+subscriptions


References