← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1872747] Re: Unexpected API Error

 

Tons of connection exceptions in the n-cpu logs. Looks like you
misconfigured it.

2020-04-12 23:29:01.150 10350 CRITICAL nova [req-51f5a237-fddc-4298-92fb-0b09b134b85c - - - - -] Unhandled error: ConnectFailure: Unable to establish connection to http://10.0.0.11:5000/v3/auth/tokens: HTTPConnectionPool(host='10.0.0.11', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd9138f81d0>: Failed to establish a new connection: [Errno 113] EHOSTUNREACH',))
2020-04-12 23:29:01.150 10350 ERROR nova Traceback (most recent call last):
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/bin/nova-compute", line 10, in <module>
2020-04-12 23:29:01.150 10350 ERROR nova     sys.exit(main())
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/cmd/compute.py", line 57, in main
2020-04-12 23:29:01.150 10350 ERROR nova     topic=compute_rpcapi.RPC_TOPIC)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/service.py", line 257, in create
2020-04-12 23:29:01.150 10350 ERROR nova     periodic_interval_max=periodic_interval_max)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/service.py", line 129, in __init__
2020-04-12 23:29:01.150 10350 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 531, in __init__
2020-04-12 23:29:01.150 10350 ERROR nova     self.reportclient = report.SchedulerReportClient()
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 186, in __init__
2020-04-12 23:29:01.150 10350 ERROR nova     self._client = self._create_client()
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 229, in _create_client
2020-04-12 23:29:01.150 10350 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/nova/utils.py", line 1039, in get_sdk_adapter
2020-04-12 23:29:01.150 10350 ERROR nova     return getattr(conn, service_type)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/openstack/service_description.py", line 92, in __get__
2020-04-12 23:29:01.150 10350 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint
2020-04-12 23:29:01.150 10350 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1200, in get_endpoint
2020-04-12 23:29:01.150 10350 ERROR nova     return auth.get_endpoint(self, **kwargs)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 380, in get_endpoint
2020-04-12 23:29:01.150 10350 ERROR nova     allow_version_hack=allow_version_hack, **kwargs)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 271, in get_endpoint_data
2020-04-12 23:29:01.150 10350 ERROR nova     service_catalog = self.get_access(session).service_catalog
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 134, in get_access
2020-04-12 23:29:01.150 10350 ERROR nova     self.auth_ref = self.get_auth_ref(session)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 208, in get_auth_ref
2020-04-12 23:29:01.150 10350 ERROR nova     return self._plugin.get_auth_ref(session, **kwargs)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 184, in get_auth_ref
2020-04-12 23:29:01.150 10350 ERROR nova     authenticated=False, log=False, **rkwargs)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1106, in post
2020-04-12 23:29:01.150 10350 ERROR nova     return self.request(url, 'POST', **kwargs)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 888, in request
2020-04-12 23:29:01.150 10350 ERROR nova     resp = send(**kwargs)
2020-04-12 23:29:01.150 10350 ERROR nova   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 995, in _send_request
2020-04-12 23:29:01.150 10350 ERROR nova     raise exceptions.ConnectFailure(msg)
2020-04-12 23:29:01.150 10350 ERROR nova ConnectFailure: Unable to establish connection to http://10.0.0.11:5000/v3/auth/tokens: HTTPConnectionPool(host='10.0.0.11', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd9138f81d0>: Failed to establish a new connection: [Errno 113] EHOSTUNREACH',))
2020-04-12 23:29:01.150 10350 ERROR nova 


** 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/1872747

Title:
  Unexpected API Error

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  HI Team,

          I just finished my minimum openstack Train installation on
  virtual box by taking step by step help from

  https://docs.openstack.org/install-guide/

  When I reached at creating a VM with cirros image, got below error:

  
  Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'neutronclient.common.exceptions.Unauthorized'> (HTTP 500) (Request-ID: req-e99b1405-5a96-4842-bd7a-2a6c8f5c6b46)

  
  Storage type:  LVM
  Network type: Neutron with OpenVSwitch

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


References