Commit Graph

81 Commits

Author SHA1 Message Date
OpenDev Sysadmins a42dfc0165 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:36:05 +00:00
Mehdi Abaakouk 4252674cbd retrieve project id to ignore from keystone
We currently allows only project uuid, but this is a pain for deployer.
Also the default is a project name which doesn't work...

This change queries keystone to retrieve project ids when the
ignore_projects list are names.

By default, if auth_type is not set, we keep the previous behavior to
not query keystone.

This change also vendors keystoneauth1.loading.adapter that wasn't
exists in newton version of keystoneauth1.

(cherry picked from commit e2bf485044)

Fix default service project to "service"

Both devstack and TripleO uses "service" by default.
Nothing uses "services".

(cherry picked from commit fbd048f4c0)

Change-Id: I270d080d3e65eb6b0cd823498a4dd37389c49221
2017-06-26 19:13:45 +02:00
Mehdi Abaakouk 9f6a8e70a5 Gate fix: cap oslo.messaging
Change-Id: If25aca595254178fdcc43e8dbfb67e711bd64433
2017-05-31 15:31:40 +02:00
Julien Danjou a170716d3f Convert nonblocking_notify value from string to boolean
Otherwise just setting it to "False" which is a string and therefore, is
True, enables it!

(cherry picked from commit 87bd49b62e)

Change-Id: I1155e1a16ccd34ffb0cd1e966e0bef91f6257b6d
2016-11-07 23:45:48 +01:00
Doug Hellmann bc25de190d Update .gitreview for stable/newton
Change-Id: I971569084a81d6dbe05f0d24a0371c76101477bd
2016-08-29 16:34:42 -04:00
Jenkins 7f502e2c04 Merge "Upgrade hacking" 2016-07-16 22:24:07 +00:00
Jenkins bf17fdab16 Merge "Add background thread notifier sending ability" 2016-07-13 09:54:25 +00:00
Darren Hague c7cba1fe02 Add background thread notifier sending ability
Add ability to hand off notifier event sending to a queue processed by
a background thread so as not to block swift proxy. This fixes an
issue whereby if ceilometer's RabbitMQ went down then the swift proxy
would wait for it to come back up, effectively coupling Swift's
availabiilty to that of Ceilometer's RabbitMQ.
Background sending is activated by setting config item
'nonblocking_notify' to True.
Queue size defaults to 1000, which can be overridden by setting config
item 'send_queue_size'. If the queue is full, new events are discarded.

Change-Id: I3da2b88b2bc9b7fd8c572a0085fa1d78c4f54701
2016-07-11 16:37:13 +01:00
Mehdi Abaakouk 295e796a84 Upgrade hacking
Change-Id: I09ea520e2f18550c0f9b64bb94bc810cf5578f07
2016-07-11 11:00:58 +02:00
OpenStack Proposal Bot ab8c985588 Updated from global requirements
Change-Id: I73d0ed26a7f093bb96f10013daa4046d7602f679
2016-05-10 18:36:00 +00:00
Julien Danjou c962fedb85 Only install hacking in pep8
Change-Id: I15dc052f3419b548b5dc373c5edb3658e48d69a1
2016-05-10 12:10:12 +02:00
Julien Danjou 10f28d6bc8 Remove oslo.context dependency
There's no point in passing any fake context to the notifier.

Change-Id: Ib95776ecf1e3c9041b4268332cd3fb0b720b42f2
2016-05-10 12:10:12 +02:00
Julien Danjou 01e0856ae1 Remove unused requirements
Change-Id: Iab0dc79f7a039c9484381dda00399185862f231a
2016-05-10 12:10:12 +02:00
Julien Danjou 84a0d56cdd Add missing requirements for mock
We import and use it directly.

Change-Id: I2e39db2159b0d5242abad2e6bf250dfe8ee603e1
2016-05-10 12:10:02 +02:00
OpenStack Proposal Bot 112ed4d6ee Updated from global requirements
Change-Id: I655ff257caef9cc9bf13690688ea5666f39741d4
2016-05-06 22:15:49 +00:00
ZhiQiang Fan 07f8e677e8 [Trivial] Remove executable privilege of doc/source/conf.py
It is a configuration file rather than a script.

Change-Id: I4a19b92912a96bca5c11616ff87d9c8d85ce617a
2016-04-29 19:31:19 +08:00
OpenStack Proposal Bot 3e1540d132 Updated from global requirements
Change-Id: I866cc43bda9388f4e093ae92b362e5c2137169b2
2016-04-19 12:22:26 +00:00
Jenkins cacc8521a5 Merge "use path as resource id when missing RESELLER prefix" 2016-04-19 06:54:26 +00:00
OpenStack Proposal Bot 6f4fa4f92d Updated from global requirements
Change-Id: Icaeeb288152c0bf4361ac1a335d68a65c663ea70
2016-04-07 17:06:58 +00:00
gordon chung 0789e5e30c use path as resource id when missing RESELLER prefix
we don't have an id if RESELLER prefix is not in path. this causes
an id to be autogenerated making each request a completely different
resource id.

this patch changes it so we just default to path as our id if one
cannot be computed.

Change-Id: I5775406a84b5f2ad0f95f366b7deca210d2f8e87
Closes-Bug: #1566940
2016-04-07 08:09:27 -04:00
OpenStack Proposal Bot db6dccbc6d Updated from global requirements
Change-Id: If60882813ed81026622645636c777f8333ec9a2f
2016-02-26 01:46:33 +00:00
OpenStack Proposal Bot a5332bcbbf Updated from global requirements
Change-Id: I49dbae45033743346cdb82dd17146ec0526356eb
2016-02-20 21:54:09 +00:00
OpenStack Proposal Bot 337b5d63e8 Updated from global requirements
Change-Id: Iaf628e8f9e965fc6a768b4620b1a7fa7cc0fcf35
2016-01-26 23:22:13 +00:00
OpenStack Proposal Bot d717d9fc1c Updated from global requirements
Change-Id: I5cdbb8a4ab8e7c2e6b378caf8e46981393706b6a
2016-01-23 10:21:33 +00:00
OpenStack Proposal Bot 4404693f4c Updated from global requirements
Change-Id: If8a70c2baf548860de15e33acce6452ae597fedb
2016-01-18 22:39:45 +00:00
OpenStack Proposal Bot c76295f3d8 Updated from global requirements
Change-Id: I3cdce9c449bf3cc2251935963c9b87388e2400c5
2016-01-07 16:43:01 +00:00
Swapnil Kulkarni (coolsvap) 504a04ab93 Use assertTrue/False instead of assertEqual(T/F)
The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).

Change-Id: I269fb387648916cc8c7b0e1e474457bd0f37395a
Closes-Bug:#1512207
2016-01-07 14:39:38 +05:30
OpenStack Proposal Bot ebb98396c4 Updated from global requirements
Change-Id: Ic4255570b71d162729a2f2459d84db1611075871
2016-01-01 20:27:11 +00:00
Jenkins c942cb3596 Merge "Removes MANIFEST.in as it is not needed explicitely by PBR" 2015-12-24 13:09:41 +00:00
sonu.kumar a5b08d1993 Removes MANIFEST.in as it is not needed explicitely by PBR
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: Ib0ac951f02842a476f6e890e67617b788408f7e3
2015-12-16 15:24:39 +05:30
sonu.kumar ddeb007584 Remove py26 support from ceilometermiddleware
As of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.

Change-Id: I47a897ec15ef0f74bce025a6af28e6c786bf9622
Related-Bug: #1519510
2015-12-16 15:14:23 +05:30
OpenStack Proposal Bot e9462d115c Updated from global requirements
Change-Id: I94a1e2f164d13a21f198e91759c38058c26fbbfc
2015-12-07 23:56:07 +00:00
OpenStack Proposal Bot bcde130e11 Updated from global requirements
Change-Id: Icda8f9c1cb80f656cbd794c0f36675edd3786e77
2015-11-19 15:54:52 +00:00
OpenStack Proposal Bot bac3d87390 Updated from global requirements
Change-Id: I0cbc4810673fc29a8327512cc5a53074978ffda0
2015-11-18 20:45:37 +00:00
OpenStack Proposal Bot 72cab11f79 Updated from global requirements
Change-Id: I79fb1ef5fe04ff67ab6a987d55f530c508037937
2015-11-13 17:09:33 +00:00
Jenkins 0727eb8bae Merge "swift: upgrade messaging to v2" 2015-11-12 10:33:32 +00:00
Julien Danjou 4607f5f9d2 swift: upgrade messaging to v2
Change-Id: Ic769ca23937760d4b0120c8abf81b3d413a795f5
2015-11-06 11:37:39 +01:00
OpenStack Proposal Bot 8c87b8823b Updated from global requirements
Change-Id: I4111cd5385abafb6ca804d074d3295c8ec9835a1
2015-10-23 18:43:57 +00:00
OpenStack Proposal Bot e131222b5d Updated from global requirements
Change-Id: If72e0f82560182225a7c1a5c4a352f8772434a9c
2015-10-19 23:26:42 +00:00
venkatamahesh 7c94bddc43 Fix the mistakes in .gitignore file
Change-Id: I4b5641804d346c1adc3dc25c519441c017b65051
2015-09-22 10:08:44 +05:30
Monty Taylor cd8cb6a89f Change ignore-errors to ignore_errors
Needed for coverage 4.0

Change-Id: Ieeb546dc5bd1736e9dc977e7ff469b5b6a30af39
2015-09-21 14:25:04 +00:00
Rohit Jaiswal 7005d98f47 Ignore request with swift.source in env
swift.source in env indicates request
that originate in swift middleware as a side
effect of another client request.

These requests should not be metered, this
fix adds a check for swift.source in env
and avoids generating a metering event.

Change-Id: I2ecbde8667cc366b192a2248abc93d0936956978
Closes-bug: 1485711
2015-09-15 15:56:00 +00:00
Jenkins 6a5642bbc2 Merge "Fixes parsing req path for account HEAD/GET" 2015-09-15 13:53:12 +00:00
OpenStack Proposal Bot bdab9bfa0c Updated from global requirements
Change-Id: If1cdf5139b80027fbb11e3cccae3e4f20160a94a
2015-09-07 16:50:19 +00:00
Rohit Jaiswal 41e869a311 Fixes parsing req path for account HEAD/GET
When path is of the form /v1/AUTH_xyz, the
path parsing expects 3 tokens, this fix retries
parsing to expect 2 tokens, so that operations at
an account level can be metered.

Change-Id: I5eb83e39e7902b9410487c98295f12640aeef140
Closes-Bug: 1488682
2015-08-28 06:13:29 +00:00
Jenkins 45fc416606 Merge "Activate pep8 check that _ is imported" 2015-08-20 13:19:31 +00:00
Clément Contini cfb357cf51 HTTP_X_TENANT_ID is deprecated and replaced by HTTP_X_PROJECT_ID
Change-Id: I619d9db86ddcb6f3599c2d1c3c37a3628b9c7239
2015-08-14 14:10:32 -04:00
OpenStack Proposal Bot 1eb9cc6f33 Updated from global requirements
Change-Id: Iff7f1b8fe5fa82fcaee3e594b401fd188f88fd4d
2015-08-10 01:05:00 +00:00
Tom Cocozzello 499797d94c Activate pep8 check that _ is imported
Remove the specification in tox.ini that _ is a builtin so that
it will no longer assume that _ does not need to be imported.
This helps ensure that the _ from i18n is used.

Activating this check did not flag any violations.

Change-Id: I7b3528e07aee6138563ad83c2caa08ecbe49f933
2015-08-04 10:47:28 -05:00
OpenStack Proposal Bot db30cf804b Updated from global requirements
Change-Id: I590a72f4f1fdce0c97a8b90f5c449728047ecb02
2015-08-04 00:43:37 +00:00