2504 Commits

Author SHA1 Message Date
Sean McGinnis
a0aba998f7
Switch to using stestr directly
ostestr is deprecated and projects should now be using stestr directly
for running tests.

Change-Id: Iad8911d6eb352c6e5b3b9fdcda6e9280b7efb5de
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-05-29 10:48:28 -05:00
Sean McGinnis
1af2c91e41
Unblock gate failures
There are a few issues causing all gate runs to fail that are addressed
in this patch.

Update constraints to match global requirements:

There are a few local requirements that conflict with what is now in
upstream global-requirements. This updates sphinx to match the
constrained versions due to incompatibility with py2 and uncaps
jsonschema.

Update handling for falcon 2.0.0 behavior changes:

The 2.0.0 release of falcon changed the default values for two request
query parsing options that would cause failures due to unexpected
results. This sets those options to their previous defaults to maintain
compatibility across 2.0.0 and pre-2.0.0 versions of the package.
Lower constraint version raised to 1.1.0 where the options were
introduced.

There are additional integration test failures with Falcon 2.0.0 that
were due to changes in the subscription URL path.

Closes-bug: #1830903

Requirements and upper constraints not enforced in some tox targets:

The docs and api-ref tox targets were not setting the right dependencies
or the upper constraints to use for pip installs. Also updates the
constraints to the newer preferred static redirect URL maintained by the
release team.

Co-authored-by: wanghao <sxmatch1986@gmail.com>
Change-Id: I19c5363878c629a04e1be902c865ee7cea92dcd9
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-05-29 09:31:18 -05:00
Frank Kloeker
d4730fa60b Fix Sphinx formating errors
Change-Id: I7504ec70f22dbbd014873fa64eaee8fcba11397b
2019-04-20 23:35:35 +02:00
OpenDev Sysadmins
8f93489978 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:45:44 +00:00
Ian Wienand
573fcc4881 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I116cf26bfd65f0f45f64115678bc3f34d12d0d62
2019-03-24 20:36:27 +00:00
Zuul
cf01152b3a Merge "Introduce the Topic resource into Zaqar-1" 8.0.0.0rc1 8.0.0 2019-03-19 07:45:20 +00:00
Zuul
ad17a411ce Merge "Remove the pool group totally" 2019-03-19 06:51:18 +00:00
wanghao
88f0dd7c8f Introduce the Topic resource into Zaqar-1
This patch will Introduce the Topic resource into Zaqar
and implement the storage in mongodb.

Change-Id: I6d37c93aa75d7df78d3939044b0e8fefa5d9a5f5
Implements: bp introduce-topic-resource-for-notification
2019-03-07 10:16:39 +08:00
gecong1973
d1a01d5919 Add releasenotes for bp remove-pool-group-totally
Change-Id: I8f69e8eb21271d2265199838fcf0b16a87b8bc2d
2019-03-05 22:55:01 -08:00
Damien Ciabrini
ff19fdeb54 Python 3: Fix parsing of received notification
The parsing of incoming notifications is performed with a helper
which normally resolves to a mimetools class.

For Python3, package mimetools doesn't exist anymore, and the helper
resolves to a class with incompatible signature.

In order to mimick the original helper behaviour and return a message
object as expected, use a different facility from package email.

Change-Id: I92f10755f1a98239df3b3a1494207299a3681a84
Closes-Bug: #1818046
Co-Authored-By: Michele Baldessari <michele@acksyn.org>
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2019-03-04 14:50:26 -07:00
sanoojm
813663bc03 The instructions on README.rst to create a sample queue was outdated.
Change-Id: Ib5a920dcb0f2da3b8997d280837d18de432bfaba
Closes-Bug: #1439568
2019-02-11 08:08:12 +05:30
OpenStack Proposal Bot
56390fe51f Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I4752ba84fce488de25b5a0b109fb465888a5dbc4
2019-02-01 08:08:28 +00:00
gecong1973
1675364c91 Remove the pool group totally
In Queens, we support the old way to use pool_group and the
new way without it in Flavor both. In Stein, we will remove
the pool_group totally and only keep the new way in Flavor
and Pool.
The patch remove the pool group totally

Change-Id: I64fa5fde35f9b9f2e8aa4977eb2c253ffc6aee99
Implements: bp remove-pool-group-totally
2019-01-09 23:32:55 -08:00
Rafael Folco
2438c565d2 Replace tripleo-scenario002-multinode with scenario002-standalone
Change-Id: I1630fea3956cef601128769fa4526d44aa2c1d64
Story: https://tree.taiga.io/project/tripleo-ci-board/us/532
2019-01-03 17:07:56 -02:00
Zuul
d6ea81519c Merge "Add .stestr.conf configuration" 2018-12-26 04:40:46 +00:00
Zuul
2d96d9835a Merge "Update mailinglist from dev to discuss" 2018-12-24 11:32:27 +00:00
Zuul
19f5dcd6d7 Merge "Miss name filter in querying queues" 2018-12-24 04:43:11 +00:00
Zuul
3942dd87e3 Merge "Support delete messages with claim_ids" 2018-12-24 04:43:11 +00:00
Rui Yuan Dou
7681ed7c72 Add .stestr.conf configuration
os-testr has moved over to use stestr instead of testr. While this
is usually compaible with existing settings, there is a warning
that is emitted when .stestr.conf is not present. It is usually
able to fall back to parsing the .testr.conf file, but to be more
correct and to prevent future problems we should update the config.

Change-Id: I95a6d1135fb4861bd3fb2086ae7a63e486130db0
Closes-Bug: #1809062
2018-12-20 11:03:54 +08:00
wanghao
b963a91a11 Miss name filter in querying queues
Fix the missing name filter in querying queues.

Change-Id: I29f3f6e41773e84bb0580e87f1ac823917a0ea05
Closes-Bug: #1808756
2018-12-17 16:27:10 +08:00
whoami-rajat
37fc134d11 Add zaqar-status upgrade check command framework
This adds basic framework for zaqar-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: I855b4b72284df308c3bb250fd3a3f0fc643b4abf
Story: 2003657
Task: 26165
2018-12-12 06:08:06 +00:00
wanghao
be84598d3a Support delete messages with claim_ids
This patch will implement to delete messages with claim_ids
when option 'message_delete_with_claim_id' is True.

This will improve the security of the message avoiding
delete messages before they're claimed and handled.

Change-Id: Ib7ef8ff74c87c8629412af8ceb53b314ed0ca071
Implements: bp delete-message-with-claim-id
2018-12-11 11:19:39 +00:00
Jonathan Herlin
3dbdeead38 Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: I115c89897b5afa687b4f4a1cea6257b5ee2419c6
2018-12-11 11:18:58 +00:00
xywang
3641f28cc6 Fix redis CI job
Change-Id: Ia59ad6f5ce6311eda92cf033a72df9c94e1ffb18
2018-12-11 15:50:38 +08:00
7c2d6a970d Fix python3 Compatibility for hashlib md5 update
Without this change in Python3 it returns following:-
TypeError: Unicode-objects must be encoded before hashing

In Python3 encoding is explicitly needed, using encode method
or b"<string>" it can be achieved. Hashing examples with python([1])

[1] https://www.pythoncentral.io/hashing-strings-with-python/

Change-Id: I17ca99f00492633fa8e9e15558096792a48d204b
2018-11-15 17:59:54 +05:30
Zuul
53b7115144 Merge "Missing response parameters in API DOC" 2018-11-14 10:45:21 +00:00
wanghao
ee0b807a44 Missing response parameters in API DOC
Three response parameters about dead_letter_queue is
missing in response doc.

Change-Id: Ibc92ae20306c6a733109e66ed87a4f270ee2d328
Closes-Bug: #1801678
2018-11-13 11:20:20 +08:00
d7b2ca5333 Fix python3 Compatibility for urllib
The urllib module has been split into parts and renamed
in Python 3 to urllib.request, urllib.parse, and urllib.error [1].
This patch makes it work for both python2 and python3.

[1] https://docs.python.org/2/library/urllib.html

Change-Id: I36c6670acbe0f7aaf6d1ff17bcd392670f85b418
2018-11-13 02:07:41 +00:00
Thomas Herve
70a2b1ab6b Increase sleep in test_delay
This fixes a race condition

Change-Id: I52d21f21ec74bf93d82ef0f977ec8b9340daa0a4
2018-11-12 21:25:32 +01:00
Zuul
3b6ce2323a Merge "Update min tox version to 2.0" 2018-11-09 05:50:52 +00:00
Vieri
ce8a30c463 Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: Id762433a6dcccfc39abe6ce744a945fca16010d2
2018-11-09 03:27:39 +00:00
OpenStack Proposal Bot
04d57e8426 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iceae4397ad8ed724dc85d2751443e598aa8a9be6
2018-11-06 06:49:04 +00:00
OpenStack Proposal Bot
3466da5c4c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9ac220d15eeed18aa4e423973fa73417c05a36b8
2018-11-01 12:36:19 +00:00
OpenStack Proposal Bot
883df0ed29 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I83c9e5053fab4d3ba98e697808d6984afd00c3ac
2018-10-26 07:33:09 +00:00
Sean McGinnis
e8b544cbeb Increment versioning with pbr instruction
With moving away from required milestone releases, the version numbers
calculated by PBR on the master branch will not work for those testing
upgrades from the last stable release. More details can be found in the
mailing list post here:

    http://lists.openstack.org/pipermail/openstack-dev/2018-October/135706.html

This is an empty commit that will cause PBR to increment its calculated
version to get around this.

PBR will see the following which will cause it to increment the version:

Sem-Ver: feature

Please merge this patch as soon as possible to support those testing
upgrades.

Change-Id: Ic34638ac84c26e6563d24c67c6e6179b901a616a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-10-12 13:09:39 -05:00
Zuul
618e09a4f2 Merge "Cleanup .zuul.yaml" 2018-10-08 06:33:25 +00:00
zhangdebo
dd0c1f7fc9 Update link for blueprints of zaqar-ui
Change-Id: I9c0c179662734faa5d7c83e663f831c6ebf1f92c
2018-10-01 22:47:58 -04:00
Andreas Jaeger
49d6cfaaf8 Cleanup .zuul.yaml
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates
* Remove install-guide-jobs template, this stayed in project-config
  and is wrong on this branch.
* Remove branches condition, there's an implicit one, this is not
  needed.
* Remove job tripleo-ci-centos-7-scenario002-multinode-oooq that
  only runs in pike, it gets ignored in this file.

Import job legacy-rally-dsvm-zaqar-zaqar and rename according to
Zuul v3 naming conventions.

Change-Id: Ic18f76fef2b139a3edefecc6004846b11ee7653e
2018-09-30 12:25:45 +02:00
Zuul
4ded126184 Merge "Imported Translations from Zanata" 2018-09-25 09:07:15 +00:00
Zuul
ec40ec0618 Merge "Update the client version in samples" 2018-09-25 04:00:16 +00:00
OpenStack Proposal Bot
f4db6b97b8 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I66e4f4fbca6476e63dfb78537bfefb545820713a
2018-09-18 06:20:21 +00:00
Zuul
b344291e08 Merge "Update reno for stable/rocky" 2018-09-17 06:48:49 +00:00
wanghao
091baa2359 Update the client version in samples
Now we have deprecated the v1 api for a while.
The client version in samples shoud be updated too.

Change-Id: Ib7789f3478a68522f44974eece6685ee8ef40614
Closes-Bug: #1792528
2018-09-17 10:50:25 +08:00
Zuul
331a984614 Merge "add python 3.6 unit test job" 2018-09-15 07:32:40 +00:00
Zuul
5eafe6a9a1 Merge "switch documentation job to new PTI" 2018-09-15 07:18:39 +00:00
Zuul
b7c94c1ed5 Merge "import zuul job settings from project-config" 2018-09-14 18:56:43 +00:00
xywang
b926235153 Fix lower constraints job
Change-Id: Id1d406442f1a59474cfa6c96eb99bddecfe1c163
2018-09-13 14:38:06 +08:00
98k
43585e550d add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I5de0ae8a1c1ee19e6e1155feb24054863a8947e1
Story: #2002586
Task: #24346
2018-09-13 06:21:02 +00:00
98k
4b9a982ff4 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Fix tox doc environment so that this works:
* move doc8 to pep8 following PTI
* build doc dir, not api-ref

Change-Id: I57003bd81f8214f27e3ca95ea87bba24fd44191b
Story: #2002586
Task: #24346
2018-09-13 06:20:55 +00:00
98k
40baee54b4 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Id841ebbb7a79984e6240b8a7fb7e0ba491f17c57
Story: #2002586
Task: #24346
2018-09-13 06:19:54 +00:00