summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Remove pbr warnerrors in favor of sphinx check"3.29.0Jenkins2017-06-161-3/+1
|\
| * Remove pbr warnerrors in favor of sphinx checkVu Cong Tuan2017-06-121-3/+1
| | | | | | | | | | | | | | | | | | | | | | This change removes the now unused "warnerrors" setting, which is replaced by "warning-is-error" in sphinx releases >= 1.5 [1]. [1] http://lists.openstack.org/pipermail/openstack-dev/ 2017-March/113085.html Change-Id: If356e8bfd2ff414037a8688409798b13044fe3b2
* | Updated from global requirementsOpenStack Proposal Bot2017-06-151-1/+1
|/ | | | Change-Id: Ic325e064e1ab2c2fe31389c03befe9d97ff08d6e
* Updated from global requirements3.28.0OpenStack Proposal Bot2017-06-021-1/+1
| | | | Change-Id: I8c8e7b477e2d4c362d1f67928464d9e0a7c3631a
* Merge "Remove usage of parameter enforce_type"Jenkins2017-06-024-9/+5
|\
| * Remove usage of parameter enforce_typeChangBo Guo(gcb)2017-05-314-9/+5
| | | | | | | | | | | | | | | | | | We deprecate and change parameter enforce_type's default value to True[1], and will remove it int the future, so don't need it anymore. [1] https://review.openstack.org/328692 Change-Id: I243444f53e14543c5e4ae4c40d9582fb2d17e155
* | Updated from global requirementsOpenStack Proposal Bot2017-06-021-1/+1
|/ | | | Change-Id: I5edaea8053ea00ea8556157f6a953d4d5842e5a5
* Updated from global requirementsOpenStack Proposal Bot2017-05-261-1/+1
| | | | Change-Id: Ie2f72ad44298c3601a1465160f5c5f873f2c31cf
* Merge "Set global_request_id if passed in as X-OpenStack-Request-ID."3.27.0Jenkins2017-05-243-0/+65
|\
| * Set global_request_id if passed in as X-OpenStack-Request-ID.Sean Dague2017-05-233-0/+65
| | | | | | | | | | | | | | | | If an inbound header that validates against the regex ``req-$uuid`` is passed in, we'll set it where oslo.context could later read it. This creates a mechanism for parents to pass their request-id to children. Change-Id: I5c5268e8680392395fbe04efe0124575ad8db468
* | Merge "Allow compatibility headers for request_id"Jenkins2017-05-243-2/+45
|\ \ | |/
| * Allow compatibility headers for request_idSean Dague2017-05-233-2/+45
| | | | | | | | | | | | | | | | | | | | | | | | We discovered that Nova is using a local version of the request_id header code because it's x-compute-request-id predates x-openstack-request-id, and things were never migrated after the oslo code was extracted. In order to let Nova use the base code (which may become more complicated with inbound request-id setting) we need to support a compat headers field, which is additional http header names that should be set with the request-id value. Change-Id: I18a92f8bf2f85fcf30d32be68bae58f64b135df0
* | Updated from global requirementsOpenStack Proposal Bot2017-05-231-1/+1
| | | | | | | | Change-Id: I607978b6bfc0ca34f91c992f1f14b0706ef4c499
* | Updated from global requirementsOpenStack Proposal Bot2017-05-171-1/+1
|/ | | | Change-Id: Ibef33fb34d4e6848f4a116749f07c16afe7ae1a7
* Updated from global requirementsOpenStack Proposal Bot2017-05-151-1/+1
| | | | Change-Id: I60da2b02b5a758dc6ef57077d0e8dbb88c90ddff
* Merge "Optimize the link address"Jenkins2017-04-262-5/+5
|\
| * Optimize the link addresslioplhp2017-04-152-5/+5
| | | | | | | | | | | | Use https instead of http to ensure the safety Change-Id: I0a6a941b6e899d1f9a13e615454befce70f05d54
* | Updated from global requirements3.26.0OpenStack Proposal Bot2017-04-151-2/+2
|/ | | | Change-Id: I040d41c88588f353e52790d16744602f22bd4981
* Fix test_request_too_large_no_content_length failureChangBo Guo(gcb)2017-04-132-7/+1
| | | | | | | | | | | | | | | | Webob >=1.7.0 change its way to check if body is readable [1], The is_body_readable() method returns False now. request.content_length will be set when set request.body automatically, and if request.context_length is None request.body will return returns b''.[3] So just set request.body in test. [1] https://github.com/Pylons/webob/commit/0e6fcbfbc58af6fdd4e125543bf8f5fb91b984c6 [2] https://github.com/Pylons/webob/blame/master/webob/request.py#L699 [3] https://github.com/Pylons/webob/blame/master/webob/request.py#L692 Closes-Bug: #1679658 Change-Id: I4e0932dd8664d96b2733c5d3b1fa846af0c7d132
* Remove log translations3.25.0lioplhp2017-03-283-19/+7
| | | | | | | | | | | | | Log messages are no longer being translated. This removes all use of the _LE, _LI, and _LW translation markers to simplify logging and to avoid confusion with new contributions. See: http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html Change-Id: I797b5f0374d6f8ca1cb4641246cab414aa5466dd
* Updated from global requirementsOpenStack Proposal Bot2017-03-131-1/+1
| | | | Change-Id: I541f9d38c847f580f461de75531c2c472cbe532b
* Updated from global requirements3.24.0OpenStack Proposal Bot2017-03-033-5/+5
| | | | Change-Id: Ia6f0c93b68aef3baa5099ad51587cecd2ab923c7
* [Fix gate]Update test requirementricolin2017-03-021-1/+1
| | | | | | | | | Since pbr already landed and the old version of hacking seems not work very well with pbr>=2, we should update it to match global requirement. Partial-Bug: #1668848 Change-Id: Ifd5506f7cbaeda3ce198e8e3213dcfbf629a8c90
* Updated from global requirementsOpenStack Proposal Bot2017-02-102-2/+2
| | | | Change-Id: I4a7664a970bd14deb09a765707588509a2197e5f
* pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz)Davanum Srinivas2017-02-061-1/+1
| | | | | | | | | | | | We need to pass into VersionInfo what one would expect from running: setup.py --name Right now we pass in say oslo_context and pbr fails if there is no .git in the python source tree Closes-Bug: #1662266 Change-Id: Ia1495af62a02410607c27f443af59dc20b052072
* Update reno for stable/ocataOpenStack Release Bot2017-01-262-0/+7
| | | | Change-Id: I55b809bb367e97bf7278784a317632eec18a5a25
* Filter token data out of catch_errors middleware3.23.1Jamie Lennox2017-01-262-3/+30
| | | | | | | | | If an exception is caught by the catch_errors middleware the entire request is dumped into the log including sensitive information like tokens. Filter that information before outputting the failed request. Closes-Bug: #1628031 Change-Id: I2563403993513c37751576223275350cac2e0937
* Merge "remove superfluous random stuff"3.23.0Jenkins2017-01-171-27/+12
|\
| * remove superfluous random stuffDoug Hellmann2017-01-161-27/+12
| | | | | | | | | | Change-Id: Idb5ae55971e7f76348c224b1bea5c5e19c6278e0 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | Merge "Add new middleware to send API data to statsd"Jenkins2017-01-173-0/+289
|\ \ | |/
| * Add new middleware to send API data to statsdJulian Edwards2017-01-043-0/+289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new StatsMiddleware is a Paste filter that examines the URL path and request method, and sends a stat count and a timer to a statsd host whose name is based on the path/method. If your statsd is configured to send stats to Graphite, you'll end up with stat names of the form: timer.<appname>.<METHOD>.<path>.<from>.<url> Because a dot has special meaning in Graphite, dots in API versions that appear in the path will be replaced with _, so for example v2.1 becomes v2_1, and v1.0 becomes v1_0. Change-Id: Ieaffeded1bf81c0782d88f49b6f5209f11744899
* | Updated from global requirementsOpenStack Proposal Bot2017-01-121-1/+1
| | | | | | | | Change-Id: I9b4a1c61519986c8f9fb2eeb847735841183715a
* | Remove references to Python 3.4Eric Brown2017-01-091-1/+0
| | | | | | | | | | | | | | 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: I6264d7d2e1d97291b58b4358f3c397c1fbc320ac
* | Merge "Replaces uuid.uuid4 with uuidutils.generate_uuid()"Jenkins2017-01-051-2/+2
|\ \
| * | Replaces uuid.uuid4 with uuidutils.generate_uuid()zhangguoqing2016-12-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Openstack common has a wrapper for generating uuids. We should use that function when generating uuids for consistency. Change-Id: I50cd018b490dea341e6bcfb3034a0244194b4d99 Closes-Bug: #1082248
* | | Merge "Replace six.iteritems() with .items()"Jenkins2016-12-301-2/+1
|\ \ \
| * | | Replace six.iteritems() with .items()gengchc22016-12-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.As mentioned in [1], we should avoid using six.iteritems to achieve iterators. We can use dict.items instead, as it will return iterators in PY3 as well. And dict.items/keys will more readable. 2.In py2, the performance about list should be negligible, see the link [2]. [1] https://wiki.openstack.org/wiki/Python3 [2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html Change-Id: Ieb7b8a62ef5b8fae79fa41861ad3910ecad988c8
* | | | Add Constraints supportTony Breeds2016-12-202-1/+36
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 oslo.middleware. Change-Id: I069e64daf9558147fdab947341411b58770d3506
* | | Merge "Filter X-Auth-Token in catch_errors"Jenkins2016-12-072-0/+5
|\ \ \ | |/ / |/| |
| * | Filter X-Auth-Token in catch_errorsJiaJunsu2016-11-302-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | If X-Auth-Token is logged in files, it may be caught by attackers. This patch tries to replace token-id by * in log files. Change-Id: Icf0cd9d4da37575d79a0da94ade979793ad0d3fa Closes-Bug:#1646254
* | | Transform healthcheck from filter to an application3.22.0Julien Danjou2016-12-013-17/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The healthcheck middleware has actually wrongly been designed as a filter, whereas it is its own application. This patch fixes that by exporting the healthcheck middleware as an application, while keeping the old behaviour for compatibility with existing deployment. Change-Id: I1ff43c71449f1955267faf6a85f4d70f705db097
* | | Merge "Suggest to use egg based filter_factory rather than fragile full path"Jenkins2016-12-013-7/+7
|\ \ \ | |/ / |/| |
| * | Suggest to use egg based filter_factory rather than fragile full pathJulien Danjou2016-11-293-7/+7
| | | | | | | | | | | | | | | | | | This makes sure that if the module organization change, nothing breaks. Change-Id: Ib4fb1e2210a9cea6b12214e0d1e3570086ac2e68
* | | Merge "Document how to use detailed mode in healthcheck"3.21.0Jenkins2016-11-291-0/+4
|\ \ \ | |/ / |/| |
| * | Document how to use detailed mode in healthcheckMatt Fischer2016-11-281-0/+4
| | | | | | | | | | | | | | | | | | | | | The detailed mode is referenced in the documenation but it is never explained how to enable it. This exposes it in the docs. Change-Id: I136669a7dd0e6e0d293a9b9ea1b685de82404e2b
* | | Remove self-referential link in docsMatt Fischer2016-11-281-3/+0
|/ / | | | | | | | | | | | | | | The link in this file points to the same page that hosts the content. You can see this here: http://docs.openstack.org/developer/oslo.middleware/healthcheck_plugins.html Change-Id: I9645917f8f6d1a586d66ad1a6dddda20f949aeb6
* | Add Python 3.5 classifier and venvmelissaml2016-11-222-1/+2
| | | | | | | | | | | | | | | | Now that there is a passing gate job, we can claim support for Python 3.5 in the classifier. This patch also adds the convenience py35 venv. Change-Id: I73178227e44caee792e6f7e4f4ddf4cfb07e096d
* | Merge "Updated from global requirements"Jenkins2016-11-211-2/+2
|\ \
| * | Updated from global requirementsOpenStack Proposal Bot2016-11-091-2/+2
| | | | | | | | | | | | Change-Id: Ibec1f8e1eb921dc16de7e32424e3b8a1fb404738
* | | Enable release notes translationChangBo Guo(gcb)2016-11-161-0/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | Releasenote translation publishing is being prepared. 'locale_dirs' needs to be defined in conf.py to generate translated version of the release notes. Note that this repository might not get translated release notes - or no translations at all - but we add the entry here nevertheless to prepare for it. Change-Id: I399cfbc691637ef6e40ecb1e2c18a9227f84e243