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
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
Three response parameters about dead_letter_queue is
missing in response doc.
Change-Id: Ibc92ae20306c6a733109e66ed87a4f270ee2d328
Closes-Bug: #1801678
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
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
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>
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
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
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
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
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
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
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>
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
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
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