2482 Commits

Author SHA1 Message Date
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
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
changyufei
e1c62707d3 Using smtplib for Zaqar mail delivery
Add the new way which using smtplib for Zaqar email subscription
notification.

An example file for configure mail content and SMTP information
is added as well.

Change-Id: I4a1310b54bec38263981792ba0220ae516bea179
Implements: blueprint zaqar-email-delivery
2018-08-21 01:06:07 +00:00
Frank Kloeker
5830528f97 [trivial] fix some typo
Change-Id: I550bc52b83ada1e1f3550383b20c920ddab47066
2018-08-07 07:45:26 +02:00
ca91edfb66 Update reno for stable/rocky
Change-Id: I042908a65ad5f86d6628b76d3e39c0df05db746f
2018-08-06 17:01:07 +00:00
wanghao
bd644fec02 Update os_client_config to openstack.config
Since now os-client-config has been superceded by openstacksdk[1].
So need to replace the os-client-config in zaqarclient to
slove the issue that 'No module named os_client_config'.

[1]:https://docs.openstack.org/os-client-config/latest/

Change-Id: Icd133a467dea36f60d00f75a1113fcdf8e7ac76b
7.0.0.0rc1
2018-07-27 08:46:11 +08:00
Doug Hellmann
45eea410ba fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I98cf0911acb2f24e5d48661e20ff4a068b678754
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-07-24 07:38:52 +00:00
xywang
82c955ebf3 Fix wsgiref py3 error
The wsgiref's behevior is changed under py3.

Change-Id: I09a853a4e91b0ce9bfa656a8b94bc175a75576a6
2018-07-24 11:58:11 +08:00
xywang
6319cfa07f Handle bytes and str in py3
in python3, the autobahn lib's input and output is bytes instead
of string.

Change-Id: I6ce5fdad9c4a66a6c9a6f4c0b31af80ef2ea6e48
2018-07-20 16:27:35 +08:00
Dirk Mueller
179a08d604 Remove setting of DEVSTACK_GATE_EXERCISES
This defaults to 0 anyway, and is being removed as the devstack
excercises are being removed. see https://review.openstack.org/#/c/581377/

Change-Id: I3b8db07fd20a706d191b4d1c58911286bff17f09
7.0.0.0b3
2018-07-17 10:38:14 +02:00
Zuul
3dff7fd057 Merge "Remove format constraint of client id" 2018-07-13 08:03:08 +00:00
Zuul
611147f4bc Merge "Remove pool group from zaqar for api-ref" 2018-07-11 06:00:14 +00:00
gengchc2
93bd4fed93 Remove pool group from zaqar for api-ref
Co-Authored-By: wanghao<sxmatch1986@gmail.com>
Change-Id: I81c0cc322e89260cb8803de9f3c0afb58ed75532
Implement: blueprint remove-pool-group-from-zaqar
2018-07-09 13:55:43 +08:00
Zuul
80960e4ef2 Merge "Remove some unused lib" 2018-07-06 10:57:40 +00:00
Zuul
bc67748307 Merge "ignore linter error for 'long' type" 2018-07-06 10:57:39 +00:00
Zuul
54f74d1bd2 Merge "Fix assert error during queue creating in ut" 2018-07-06 10:57:38 +00:00
Corey Bryant
b9e5cc5ecb Fix assert error during queue creating in ut
In some concurrent test case, the queue may be created
more than one time in the setup function. Since the queue
in Zaqar is lazy, it returns 201 or 204 in this case.

This fixes some additional tests that weren't covered in
commit 8e0dd9763aba67bb7094cf92312daeba8d087866.

Change-Id: Iec341c83cdd28d6db50b2e456d082431a62846af
Co-Authored-By: Thomas Goirand <zigo@debian.org>
Closes-Bug: #1777645
2018-06-29 08:17:24 -04:00
Zuul
55974a135d Merge "Update the Bugs link for triage" 2018-06-29 10:00:11 +00:00
xywang
fd5b3a3123 Remove some unused lib
Change-Id: I9f65b4d12239fc5812b018c4f0caa77f8919a9a3
2018-06-29 16:51:58 +08:00
ZhijunWei
29e288c115 Update the Bugs link for triage
This content has been moved to [0]

[0]: https://docs.openstack.org/project-team-guide/bugs.html

Change-Id: Ia902c3cb15fad69d2db54d358b07897b6eac7dcc
2018-06-28 05:55:37 +00:00
Zuul
935fef1ff8 Merge "Update the method's parameters" 2018-06-23 13:44:53 +00:00
wanghao
fff82e7a11 Remove format constraint of client id
Since some clients use different format of client id not only uuid,
so Zaqar will support this function.

Add one option 'client_id_uuid_safe' to allow user to control
the validation of client id.

Add two options 'min_length_client_id' and 'max_length_client_id'
to allow user to control the length of client id if not using uuid.

This also requires user to ensure the client id is immutable.

Implements: blueprint remove-format-constraint-of-client-id
Change-Id: I96bc2620b09394419b66a733484ff3d8f0d56313
2018-06-23 10:50:36 +08:00
Zuul
788d57ed41 Merge "CONF file structure refactor" 2018-06-22 05:03:56 +00:00
wanghao
a1c36b9bd4 Update the method's parameters
This is the following patch to query filter.
Update the new parameters to list method.

Change-Id: I793fedf51c85f9252545ca6e226b70be65dadba0
2018-06-20 14:04:33 +08:00