← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1052495] Re: Confusing error relating to quantum auth configuration

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-1

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

Title:
  Confusing error relating to quantum auth configuration

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When nova.network.quantumv2._get_auth_token fails it gives an error
  like:

  2012-09-18 15:27:06 DEBUG nova.network.quantumv2.api [-] get_instance_nw_info() for test from (pid=46409) _get_instance_nw_info /usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py:178
  2012-09-18 15:27:06 ERROR nova.network.quantumv2 [-] _get_auth_token() failed
  2012-09-18 15:27:06 TRACE nova.network.quantumv2 Traceback (most recent call last):
  2012-09-18 15:27:06 TRACE nova.network.quantumv2   File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", line 38, in _get_auth_token
  2012-09-18 15:27:06 TRACE nova.network.quantumv2     httpclient.authenticate()
  2012-09-18 15:27:06 TRACE nova.network.quantumv2   File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 209, in authenticate
  2012-09-18 15:27:06 TRACE nova.network.quantumv2     def get_status_code(self, response):
  2012-09-18 15:27:06 TRACE nova.network.quantumv2   File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 176, in _extract_service_catalog
  2012-09-18 15:27:06 TRACE nova.network.quantumv2     endpoint_type='adminURL')
  2012-09-18 15:27:06 TRACE nova.network.quantumv2   File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 176, in _extract_service_catalog
  2012-09-18 15:27:06 TRACE nova.network.quantumv2     endpoint_type='adminURL')
  2012-09-18 15:27:06 TRACE nova.network.quantumv2   File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
  2012-09-18 15:27:06 TRACE nova.network.quantumv2     return self.dispatch_line(frame)
  2012-09-18 15:27:06 TRACE nova.network.quantumv2   File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
  2012-09-18 15:27:06 TRACE nova.network.quantumv2     if self.quitting: raise BdbQuit
  2012-09-18 15:27:06 TRACE nova.network.quantumv2 BdbQuit
  2012-09-18 15:27:06 TRACE nova.network.quantumv2

  Could this be changed into something more useful that gives the
  operator / person trying to figure out the error more of a clue to the
  error ? Like a Human Readable error?

  I had a error where I had quantum_admin_tenant instead of
  quantum_admin_tenant_name which made me think that I was missing a
  endpoint in KS.

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