Commit Graph

101 Commits

Author SHA1 Message Date
OpenDev Sysadmins 43fd819161 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:44:30 +00:00
Mehdi Abaakouk 387c1797c5 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 ocata 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:09 +02:00
gord chung f311cd211e switch to topics when declaring notifier
topic kwarg is dead (for a while). long live topics.

Change-Id: Idd1eaccff9f32149a008606cad488c626dad1222
(cherry picked from commit d7c9cb3612)
2017-03-15 17:53:12 +00:00
OpenStack Release Bot 8af268d32e Update .gitreview for stable/ocata
Change-Id: I8d2ff0ea0763be2e1f3e2f859461839a7e4967c2
2017-02-15 16:35:03 +00:00
Julien Danjou 87bd49b62e Convert nonblocking_notify value from string to boolean
Otherwise just setting it to "False" which is a string and therefore, is
True, enables it!

Change-Id: Iaa5a25e9c7c1d33d13a244d5afe440cd5f1d9883
2016-11-07 14:08:20 -05:00
Jenkins 163b2060fa Merge "Enable release notes translation" 2016-10-17 19:41:02 +00:00
xiaozhuangqing 26bfc4859e No reason to start with '_' define a general variable
Just make code consistency,we usually use LOG to logging message rather than _LOG.
Also starting with '_' define a general variable make confused.

Change-Id: I47656e33cbc19774a0780e5b0034df0897f6afad
2016-10-11 07:15:47 +00:00
Andreas Jaeger 1c98aaa8bf Enable release notes translation
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: I53d883cdcd947b2c0c9fb55330b7ee70430f25cc
2016-10-06 20:25:14 +02:00
Cao Xuan Hoang 9d4c26e73f Clean imports in code
This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: Ib7f8e7e62af62ff768c1b1f065aca0a4c7db75c4
2016-09-23 15:29:38 +07:00
Jenkins 8c7067e839 Merge "Bump the oslo.messaging version" 2016-09-14 17:51:31 +00:00
Jenkins 7c83100094 Merge "clean up oslo-incubator related stuff" 2016-09-07 09:34:37 +00:00
xiaozhuangqing 0cd611b870 Bump the oslo.messaging version
Bump the oslo.messaging version to 5.2.0
to avoid the issue occurred with Ceilometer py34 jenkins job, see:
Icb34a7f0e03662868aa0ce6e060c5e951711b79e

Change-Id: I78cfd58582070028d85e663c7502b1fd765cf174
2016-09-05 14:00:06 +08:00
xiaozhuangqing a8dde3fbe4 clean up oslo-incubator related stuff
Oslo-incubator has retired, so don't keep oslo-incubator
related stuff here,delete openstack.common.conf file.

Change-Id: I2c38b74013fad004c086bd1e5a1dc16f301f6ab1
2016-09-01 12:11:53 +08:00
Steve Lewis 8f08f86c10 Add release note for background thread notifier
Change-Id: Iad4e6c5e517ca6b01b0e2205be9fcd1cb302ec63
Related: I3da2b88b2bc9b7fd8c572a0085fa1d78c4f54701
Related: I9a8fad8036a0887653d2ad5f99f6b5b1b953c2db
2016-08-30 12:45:40 -07:00
Jenkins 1fd6270c2e Merge "Add reno for release notes management" 2016-08-11 17:50:00 +00:00
Hanxi Liu b43fb3e577 Delete openstack/common from the exclude list of flake8 in tox
The directory openstack/common was used to keep codes from
oslo-incubator, we have retired oslo-incubator, so don't use
this directory any more.

Change-Id: I3fcbec9fcec6d36c3e8254a809de0ae0b02a4841
2016-08-03 16:26:00 +08:00
Steve Lewis 55e728897d Add reno for release notes management
As per the release process changes for liberty and mitaka [1], the
reno tooling is being added to the repository for the purpose of
implementing on-going release note additions.

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/078301.html

Change-Id: Ia824156badaceb3000ca37052af1c1c8ded1e584
2016-07-28 08:53:19 -07:00
Jenkins a5b2377d00 Merge "Avoid useless dependency on oslo_utils" 2016-07-28 15:24:07 +00:00
Jenkins 809e98c3b2 Merge "Fix bug in background sending" 2016-07-27 15:58:22 +00:00
Jenkins 3aac7144bd Merge "Update the home-page with developer documentation" 2016-07-27 15:47:29 +00:00
Julien Danjou cf29274171 Avoid useless dependency on oslo_utils
Change-Id: Icba21e8b487c2b9a2064212ee2c550ced4be1d2e
2016-07-27 17:02:33 +02:00
xiaozhuangqing 9f31a753dd Update the home-page with developer documentation
Change-Id: I85dc22cca9b1987a9fc65adc3a26e461b074fb47
2016-07-27 14:38:28 +08:00
Darren Hague e2e48b5d11 Fix bug in background sending
Thread's daemon property needs to be set from calling thread.
Ensure thread is alive whenever we add an event to the queue (for some reason, this is not the case for the first event when this is deployed in a swift proxy setup).

Change-Id: I9a8fad8036a0887653d2ad5f99f6b5b1b953c2db
2016-07-26 10:29:26 +01:00
Julien Danjou 34fe5f32f1 Add support for Python 3.5
Change-Id: I8cf4917913a6f1224b7599444937ff99ea1dc048
2016-07-21 13:56:26 +02:00
Julien Danjou d72a7cfc37 Remove py33 from tox envlist
Change-Id: Ie94e19c3f09687601d5c8f3736ff0a110646ea14
2016-07-21 13:01:28 +02: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