summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove deprecated oslo.messaging aliases parameter4.15.0Thomas Bechtold2017-04-041-19/+1
| | | | | | | | | | | | | | | | | | | | | | Those are remnants from the oslo-incubator times. Also, oslo.messaging deprecated [1] transport aliases since 5.2.0+ that is the minimal version supported for stable/newton. [1] I314cefa5fb1803fa7e21e3e34300e5ced31bba89 Closes-Bug: #1424728 Change-Id: I50c4559ea2ebc8512a05ffad52e5f04b22743ff4
* | Merge "Remove old comment referencing fixed bug"Jenkins2017-03-152-4/+4
|\ \
| * | Remove old comment referencing fixed bugGage Hugo2017-03-082-4/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | There was an old comment left regarding this bug: https://bugs.launchpad.net/pbr/+bug/1260495 which was fixed over a year ago but left over. This change removes the comment and related extension and adds the referenced pbr setting. Change-Id: Ib334c136835a9b5b43cabe13b9616cce45e578e0
* | Pass located tests directory in oslo debugiswarya_vakati2017-03-131-1/+1
|/ | | | | | | | | | | | According to [1], we can passing a "-t" argument to oslo_debug_helper to indicate the directory where tests are located. This will solves ImportError exception. [1] https://docs.openstack.org/developer/oslotest/features.html Closes-Bug: #1666560 Change-Id: I18ea63e9303b2a69f69de3e42b52c8a9f25bf7a5
* Merge "Updated from global requirements"Jenkins2017-02-202-4/+4
|\
| * Updated from global requirementsOpenStack Proposal Bot2017-02-112-4/+4
| | | | | | | | Change-Id: Id74368e2b0b7421c2cc1ad498a008b33df38f39a
* | Remove unused logging importAnh Tran2017-02-171-4/+0
|/ | | | Change-Id: I0c4ef3ecbacc3968344659de47be6b2cb483c074
* Fixed man_pages no value warning when making docsGage Hugo2017-02-081-1/+1
| | | | | | | | | | | | | When building keystonemiddleware docs, the following warning is currently emitted: WARNING: no "man_pages" config value found; no manual pages will be written This change comments out man_pages since it was only specifying an empty list, and the warning no longer appears. Change-Id: Ia650abc6cb3b3bcf36469cae9d8c20e83d0317a4
* Use https for *.openstack.org referencesEric Brown2017-02-0510-18/+18
| | | | | | | The openstack.org pages now support https and our references to the site should by default be one signed by the organization. Change-Id: I8521461203fe40e4576f4de7cfb500bd64027d6d
* Imported Translations from ZanataOpenStack Proposal Bot2017-01-241-0/+73
| | | | | | | For more information about this automatic import see: http://docs.openstack.org/developer/i18n/reviewing-translation-import.html Change-Id: I900d796e4ded2cfe0f80be2d61894a9ae4bf3ced
* Updated from global requirementsOpenStack Proposal Bot2017-01-211-1/+1
| | | | Change-Id: I9b61fd0d06cb0ebdea1f389f9f9903b9e264ffb9
* Update reno for stable/ocataOpenStack Release Bot2017-01-182-0/+7
| | | | Change-Id: I889b5ef42de9b71800d7340bc3fced0bcf4da8e3
* Merge "use oslo.log instead of logging"ocata-em4.14.0Jenkins2017-01-1715-16/+15
|\
| * use oslo.log instead of loggingJanonymous2017-01-1315-16/+15
| | | | | | | | | | | | | | | | | | The constants of log levels were added in the 1.8 version of the oslo.log library. So we can replace all usage of system logging module with log module from oslo.log Change-Id: I97a1d913b543dc9dbd4d228b04adbdf7ee320df5
* | Merge "Removes unnecessary utf-8 coding"Jenkins2017-01-172-3/+0
|\ \
| * | Removes unnecessary utf-8 codingji-xuepeng2017-01-122-3/+0
| |/ | | | | | | Change-Id: I92884231ee5360873a55c29a928d3ef16bade441
* | Updated from global requirementsOpenStack Proposal Bot2017-01-161-1/+1
| | | | | | | | Change-Id: Ie9a3bef08a28346476651403fdf3b8fe202b8c58
* | fix broken linksSteve Martinelli2017-01-131-1/+1
|/ | | | | | | | | as noted in [1] we had a few broken links, this should fix the ones seen in the keystonemiddleware repo [1] http://lists.openstack.org/pipermail/openstack-docs/2017-January/009464.html Change-Id: I46a3e13ed78c4fca9a196089ceae994e41eff8bc
* Remove references to Python 3.4Eric Brown2017-01-052-2/+1
| | | | | | | Now that there exists only a gate job for Python 3.5 and not 3.4, we should remove those references to the 3.4 that is untested. Change-Id: I77626618b9c8a61017df3e28c10a779a54422080
* Switch tox unit test command to use ostestrLucas Alvares Gomes2017-01-032-1/+3
| | | | | | | | | | | | | | This commit switches the tox command to use ostestr instead of calling testr through setup.py. The primary advantage here is that it uses the subunit-trace output filter. ostestr primarily exists as a replacement for pretty_tox.sh bash scripts which spread like a plague through OpenStack projects after Nova copied it from Tempest. Note that this dramatically increases output while running tests. However, test failures are still at the bottom of the output, so it shouldn't cause much pain, if any. Change-Id: Id1ad26bc9670efa94c3c91142a177c75a12ce7d6
* Add Constraints support4.13.1Tony Breeds2017-01-032-2/+34
| | | | | | | | | | | | Adding constraints support to libraries is slightly more complex than services as the libraries themselves are listed in upper-constraints.txt which leads to errors that you can't install a specific version and a constrained version. This change adds constraints support by also adding a helper script to edit the constraints to remove keystonemiddleware. Change-Id: Ic181afad5bf3dd89a2edfdf9fb3026f85cdc37a6
* Auth token, set the correct charsetLucas Alvares Gomes2017-01-031-1/+2
| | | | | | | | | | | | | | Explicit set the charset to UTF-8 when replying with 401. It's now required by webob. A previous attempt to fix this problem was introduced as part of the commit 20fb1dbe5a884ecdbf6ee5ea26b2660f7a7e4b1e but this is only compatible with the version 1.7.0 of WebOb, older versions will break. See: http://logs.openstack.org/05/371605/12/check/gate-ironic-python35-db/686bd86/console.html#_2017-01-03_11_10_11_760197 Change-Id: I30adc87882ce8bd2c18588161d5c60d77a56925e Closes-Bug: #1653646
* Limit deprecated token message to single warning4.13.0Kevin Benton2016-12-311-6/+10
| | | | | | | | | | | The current behavior of a deprecation warning on every single request is making the logs very difficult to scan for other problems. One deprecation warning per run should be enough to get the message across. This patch ensures only one warning per lifetime of the middleware object. Change-Id: I481a1b11305cc1c90edf7e26c686824c32fe781f Closes-Bug: #1652929
* auth_token: set correct charset when replying with 401Julien Danjou2016-12-281-1/+1
| | | | | | | | | | | | | | | | | The Content-Type header does not contain the charset used for the message. It's now required by webob: File "/home/jenkins/workspace/gate-gnocchi-tox-db-py35-mysql-ubuntu-xenial/.tox/py35-mysql/lib/python3.5/site-packages/keystonemiddleware/auth_token/__init__.py", line 331, in __call__ response = self.process_request(req) File "/home/jenkins/workspace/gate-gnocchi-tox-db-py35-mysql-ubuntu-xenial/.tox/py35-mysql/lib/python3.5/site-packages/keystonemiddleware/auth_token/__init__.py", line 650, in process_request content_type='application/json') File "/home/jenkins/workspace/gate-gnocchi-tox-db-py35-mysql-ubuntu-xenial/.tox/py35-mysql/lib/python3.5/site-packages/webob/exc.py", line 268, in __init__' **kw) File "/home/jenkins/workspace/gate-gnocchi-tox-db-py35-mysql-ubuntu-xenial/.tox/py35-mysql/lib/python3.5/site-packages/webob/response.py", line 310, in __init__' "You cannot set the body to a text value without a " TypeError: You cannot set the body to a text value without a charset Change-Id: Ia6c667c9afcba0811f51f3e50f34de05310d1433
* Updated from global requirementsOpenStack Proposal Bot2016-12-151-1/+1
| | | | Change-Id: I5381a3354994e7398be705d8c3783d464aabbb9a
* Merge "Pass ?allow_expired"4.12.0Jenkins2016-12-158-55/+269
|\
| * Pass ?allow_expiredJamie Lennox2016-12-158-55/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | When a service token is present we should bypass the expiry checks and pass the allow_expired flag to the server. This will let the server return expired tokens. This has a very basic policy enforcement that is not backwards compatible with the current (sensible) default. We will need to discuss how we can make this work. Implements bp: allow-expired Change-Id: If3583ac08e33380f1c52ad50d7d5c74194393480
* | Merge "clean up a few doc building warnings"Jenkins2016-12-152-6/+11
|\ \
| * | clean up a few doc building warningsSteve Martinelli2016-12-152-6/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Fixed two warnings: - keystonemiddleware/auth_token/__init__.py:docstring of keystonemiddleware.auth_token.BaseAuthProtocol.kwargs_to_fetch_token WARNING: Inline strong start-string without end-string. - keystonemiddleware/doc/source/api/modules.rst WARNING: document isn't included in any toctree Change-Id: Iaec9adb228fe9131365ab1c15d4c85567921ccdd
* | Updated from global requirementsOpenStack Proposal Bot2016-12-151-1/+1
|/ | | | Change-Id: I759faf89ee7611ee3d010d494fb3e65a0e38389e
* Add docutils contraint on 0.13.1 to fix buildingGage Hugo2016-12-151-0/+1
| | | | | | | See: http://lists.openstack.org/pipermail/openstack-dev/2016-December/108742.html Change-Id: Ied3c922b8bbb52a3589c2f5308ecf87fc1415fbc
* Updated from global requirementsOpenStack Proposal Bot2016-12-071-1/+1
| | | | Change-Id: I4b215fe4c7e8994f0e1ba34f2217b9d05b90ea0e
* Updated from global requirementsOpenStack Proposal Bot2016-12-021-1/+1
| | | | Change-Id: I72dd0bb8b87c3e9b3964bb4e891c06f2cfdacaad
* Updated from global requirementsOpenStack Proposal Bot2016-12-021-1/+1
| | | | Change-Id: If2ac4bafa048f260bb22ebe931750a61c4405aac
* Drop MANIFEST.in - it's not needed by pbr4.11.0Spencer Yu2016-11-281-7/+0
| | | | | | | | | | | | | | Keystonemiddleware already uses PBR:- setuptools.setup( setup_requires=['pbr>=1.8'], pbr=True) This patch removes `MANIFEST.in` file as pbr generates a sensible manifest from git files and some standard files and it removes the need for an explicit `MANIFEST.in` file. Change-Id: I9886df7fc8cfe3d35795f475ddc20f4006521694 Closes-Bug: #1608980
* Show team and repo badges on READMEFlavio Percoco2016-11-251-0/+9
| | | | | | | | | | | | | | | | This patch adds the team's and repository's badges to the README file. The motivation behind this is to communicate the project status and features at first glance. For more information about this effort, please read this email thread: http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html To see an example of how this would look like check: https://gist.github.com/23379e562e65f9be0f8853f40d2e61b3 Change-Id: I6a1518a7a5ad3d05458aa5b9d23025924a7ea965
* Merge "Update .coveragerc after the removal of respective directory"Jenkins2016-11-101-1/+1
|\
| * Update .coveragerc after the removal of respective directoryIswarya_Vakati2016-10-241-1/+1
| | | | | | | | Change-Id: I53c37baa9660111a93b7502de20636062411ff2d
* | Merge "Deprecate PKI token format options"Jenkins2016-11-091-2/+17
|\ \
| * | Deprecate PKI token format optionsEric Brown2016-11-081-2/+17
| | | | | | | | | | | | | | | | | | | | | The PKI token option is in the process of removal from keystone, therefore the options in keystonemiddleware can be deprecated. Change-Id: I4668476b03c8978ce6468552fb3a7a3695a0b2ae
* | | Updated from global requirementsOpenStack Proposal Bot2016-11-091-1/+1
|/ / | | | | | | Change-Id: I99a55d7bf7b9ed1c610b566ed65830b563b29dd6
* | Merge "Mock log only after app creation"Jenkins2016-11-081-12/+13
|\ \
| * | Mock log only after app creationBoris Bobrov2016-11-011-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unit test that is getting fixed fails with error: AttributeError: None does not have the attribute 'info' It happens because _LOG.info is being patched at the moment when _LOG is None. For a reason, this doesn't happen always. For example, the problem was gone after a recheck in https://review.openstack.org/#/c/391130/. Patch log only after app creation. This seems to be a common pattern across all other tests involving mock, for example, in test_conf_middleware_log_and_default_as_messaging. Change-Id: Ia48520d6835c5712d77e182cffbf50cc6b56b9ce
* | | Updated from global requirementsOpenStack Proposal Bot2016-11-062-2/+2
|/ / | | | | | | Change-Id: I506b5036961fef7645c2010bef090f2b4b098189
* | Updated from global requirementsOpenStack Proposal Bot2016-10-271-1/+1
|/ | | | Change-Id: I48f690002699b255c05e7a77dcdbb2315be462e4
* Updated from global requirementsOpenStack Proposal Bot2016-10-221-1/+1
| | | | Change-Id: Ic4b6ab9857311a4f9efc111dd2cfc32fc6f76fd0
* Updated from global requirementsOpenStack Proposal Bot2016-10-211-1/+1
| | | | Change-Id: I47d293076ae0c0e775eccbd697466e077fcaee1f
* Merge "Add service token to user token plugin"Jenkins2016-10-203-14/+57
|\
| * Add service token to user token pluginJamie Lennox2016-10-113-14/+57
| | | | | | | | | | | | | | | | | | Include the X-Service-Token along with the X-Auth-Token for any requests made with the user authentication plugin. This indicates that the request came from another service rather than the user. Implements: bp allow-expired Change-Id: Ib8db4bcfc49c2598dcacdd1dd2222e78c2459af7
* | Updated from global requirementsOpenStack Proposal Bot2016-10-191-1/+1
| | | | | | | | Change-Id: I5579cc4505b63c845a35bc20ed1fee29b169901a