keystonemiddleware 1.3 is breaking the gate

Bug #1404177 reported by Feilong Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
High
Feilong Wang

Bug Description

ft1.738: tests.unit.queues.transport.wsgi.test_v1_1.TestAuth.test_non_authenticated_StringException: Traceback (most recent call last):
  File "zaqar/tests/queues/transport/wsgi/v1_1/test_auth.py", line 42, in test_non_authenticated
    self.app(env, self.srmock)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 800, in __call__
    return self._reject_request(env, start_response)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 910, in _reject_request
    env, self._reject_auth_headers)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 898, in _reject_auth_headers
    header_val = 'Keystone uri=\'%s\'' % self._identity_server.auth_uri
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 1329, in _identity_server
    auth_plugin = auth.load_from_conf_options(CONF, _AUTHTOKEN_GROUP)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystoneclient/auth/conf.py", line 100, in load_from_conf_options
    if conf[group].auth_section:
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2361, in __getattr__
    return self._conf._get(name, self._group)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2091, in _get
    value = self._do_get(name, group, namespace)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2109, in _do_get
    info = self._get_opt_info(name, group)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2237, in _get_opt_info
    raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option in group keystone_authtoken: auth_section
Traceback (most recent call last):
_StringException: Empty attachments:
  stdout

pythonlogging:'zaqar': {{{sqlalchemy's data plane driver will be removed during the next release. Please, consider moving your data to one of the other supported drivers.}}}
stderr: {{{
2014-12-19 08:20:09.607 4117 WARNING zaqar.storage.sqlalchemy.driver [-] sqlalchemy's data plane driver will be removed during the next release. Please, consider moving your data to one of the other supported drivers.
2014-12-19 08:20:09.616 4117 WARNING keystonemiddleware.auth_token [-] Unable to find authentication token in headers
}}}

Traceback (most recent call last):
  File "zaqar/tests/queues/transport/wsgi/v1_1/test_auth.py", line 42, in test_non_authenticated
    self.app(env, self.srmock)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 800, in __call__
    return self._reject_request(env, start_response)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 910, in _reject_request
    env, self._reject_auth_headers)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 898, in _reject_auth_headers
    header_val = 'Keystone uri=\'%s\'' % self._identity_server.auth_uri
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 1329, in _identity_server
    auth_plugin = auth.load_from_conf_options(CONF, _AUTHTOKEN_GROUP)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystoneclient/auth/conf.py", line 100, in load_from_conf_options
    if conf[group].auth_section:
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2361, in __getattr__
    return self._conf._get(name, self._group)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2091, in _get
    value = self._do_get(name, group, namespace)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2109, in _do_get
    info = self._get_opt_info(name, group)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2237, in _get_opt_info
    raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option in group keystone_authtoken: auth_section

Traceback (most recent call last):
_StringException: Empty attachments:
  stdout

pythonlogging:'zaqar': {{{sqlalchemy's data plane driver will be removed during the next release. Please, consider moving your data to one of the other supported drivers.}}}
stderr: {{{
2014-12-19 08:20:09.607 4117 WARNING zaqar.storage.sqlalchemy.driver [-] sqlalchemy's data plane driver will be removed during the next release. Please, consider moving your data to one of the other supported drivers.
2014-12-19 08:20:09.616 4117 WARNING keystonemiddleware.auth_token [-] Unable to find authentication token in headers
}}}

Traceback (most recent call last):
  File "zaqar/tests/queues/transport/wsgi/v1_1/test_auth.py", line 42, in test_non_authenticated
    self.app(env, self.srmock)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 800, in __call__
    return self._reject_request(env, start_response)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 910, in _reject_request
    env, self._reject_auth_headers)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 898, in _reject_auth_headers
    header_val = 'Keystone uri=\'%s\'' % self._identity_server.auth_uri
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystonemiddleware/auth_token.py", line 1329, in _identity_server
    auth_plugin = auth.load_from_conf_options(CONF, _AUTHTOKEN_GROUP)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/keystoneclient/auth/conf.py", line 100, in load_from_conf_options
    if conf[group].auth_section:
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2361, in __getattr__
    return self._conf._get(name, self._group)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2091, in _get
    value = self._do_get(name, group, namespace)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2109, in _do_get
    info = self._get_opt_info(name, group)
  File "/home/jenkins/workspace/gate-zaqar-python27/.tox/py27/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2237, in _get_opt_info
    raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option in group keystone_authtoken: auth_section

Feilong Wang (flwang)
Changed in zaqar:
importance: Undecided → High
assignee: nobody → Fei Long Wang (flwang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zaqar (master)

Fix proposed to branch: master
Review: https://review.openstack.org/143038

Changed in zaqar:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zaqar (master)

Reviewed: https://review.openstack.org/143038
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=93c7da99f5f4da62fb2120a667712660084e99ea
Submitter: Jenkins
Branch: master

commit 93c7da99f5f4da62fb2120a667712660084e99ea
Author: Fei Long Wang <email address hidden>
Date: Fri Dec 19 23:27:50 2014 +1300

    Use keystoneclient auth and register required options

    This patch will import keystoneclient auth and use it to register
    options. Without this fix, zaqar's test will fail due to the
    change in keystonemiddleware 1.3.0.

    Closes-Bug: #1404177

    Change-Id: I2f2f9b378acdafb63940fcda2dec86572df679b0

Changed in zaqar:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in zaqar:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in zaqar:
milestone: kilo-2 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.