2578 Commits

Author SHA1 Message Date
wanghao
cbaadc0e23 [doc]Update IRC Info
Move Zaqar IRC channel from freenode to OFTC

Change-Id: I1eb619420b7a0c7616160ee288e44dfcb133fe69
2021-06-15 09:47:40 +08:00
Zuul
6e6deabc9f Merge "Decode bytes to strings" 2021-05-20 01:39:30 +00:00
ZijianGuo
2f7507500a Decode bytes to strings
Change-Id: I6c8a4b2c9b62ca2d1c11aa633ad2389786216162
Signed-off-by: ZijianGuo <guozijn@gmail.com>
2021-05-19 10:15:22 +08:00
wanghao
db6a6b4908 Update swift client in Zaqar
Change-Id: I5af660388509f716adbe9e2ed9246b8dccdc6fd5
2021-05-18 15:39:31 +08:00
wanghao
7344381344 Add release notes foldler for wallaby
Add release notes folder

Change-Id: I3c734f4e82e2d3d5b4b311d4371ae38c950d02e6
2021-04-19 09:55:19 +08:00
Zuul
fd93478ac7 Merge "Support extra specs to subscription confirming" 2021-03-26 12:37:02 +00:00
wanghao
8e17ad34fd Update the requirement of oslo db
Change-Id: I97baabf273991f2221e0c97816432eb751b5f48f
2021-03-26 08:57:45 +08:00
wanghao
9b6edcf6ca Support extra specs to subscription confirming
Introduce "EXTRA-SPEC" request header to handling
the extra information when confirming subscription.
Developer could extend the tasks to support more functions.
User needs to specify the task name in value of "EXTRA-SPEC".

Change-Id: I9bca9a772d0f5a37c0d780c320ea2307c745a1e8
Implements: blueprint support-extra-specs-to-subscription-confirming
2021-03-17 17:47:45 +08:00
Zuul
6b6d90c3b7 Merge "Imported Translations from Zanata" wallaby-em 2021-03-12 06:56:15 +00:00
Ghanshyam Mann
948e88c268 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: I595b8c7cad7bb02486c8f0dd29fdc40789fc8e50
2021-02-17 00:58:28 +00:00
OpenStack Proposal Bot
8a457497d8 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I072ef69111e6d7f66d19df88d86f8b20dbb71be2
2021-01-15 10:09:10 +00:00
wu.shiming
656b93733e requirements: Drop os-testr
We've switched to stestr.

Change-Id: I28a966caa01e42ca86f1f740cf3c23e7a433dd8b
2021-01-13 05:22:27 +00:00
Sean McGinnis
d949c970ad Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I5f86837c601eb64dff3c370decd2670f2a6276b6
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2021-01-13 09:05:59 +08:00
wu.shiming
0c7e97bdac Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I081e83e15b0e31955f1c8bf3ed702d903f82025d
2021-01-12 09:17:15 +08:00
wanghao
bf086eb753 update lower constraints
Because autobahn 20.7.1 depends on cryptography>=2.7, we
need to update the version of cryptography.

Change-Id: Ib89beed50f5d6e63fe6d75bdd24a4c879bd4834a
2021-01-08 08:45:55 +08:00
melissaml
772db810a0 [Part1] Remove six
We don't need this in a Python 3-only world.
Remove six in follows:
1. zaqar/common/transport/wsgi/helpers.py
2. zaqar/common/urls.py
3. zaqar/common/utils.py
4. zaqar/notification/notifier.py
5. zaqar/notification/tasks/mailto.py

Change-Id: Iae6d4f415b215b9fdf675a0fcf00282fc98d58b7
2020-10-24 15:47:52 +08:00
ZijianGuo
20fabeb0b5 Fix the issue that the subscription api always returns unconfirmed
Change-Id: Ie28aa35610d6fd0906eb20aec5d12e9b6f1a825d
Closes-Bug: #1894520
Signed-off-by: ZijianGuo <guozijn@gmail.com>
2020-10-12 10:38:29 +08:00
Zuul
60cd2da34f Merge "Update master for stable/victoria" 2020-10-01 03:47:40 +00:00
Zuul
f044684602 Merge "Add releasenotes for victoria" 2020-09-30 06:58:36 +00:00
wanghao
372559866c Fix the messages get bug
Change-Id: I26d78a84692af0c8409833518dd22c7d812022d8
2020-09-29 13:04:56 +08:00
wanghao
0e435a3522 Add releasenotes for victoria
Change-Id: I99ee33ff4db84084da19dee448484f6e54209673
2020-09-27 09:36:23 +08:00
f52643dc53 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: Iadecd39d0ef76e87a4389d38864a681706c7249d
Sem-Ver: feature
2020-09-23 14:38:46 +00:00
Zuul
bd4e5b62fc Merge "[goal] Migrate testing to ubuntu focal" victoria-em 2020-09-19 05:41:10 +00:00
Ghanshyam Mann
e35f9ad8d3 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1885825
Fix user creation with GRANT in MySQL 8.0(Ubuntu Focal)
Ubuntu Focal (20.04) has mysql 8.0 and with mysql 8.0 there
is no implicit user creation with GRANT. We need to
create the user first before using GRANT command.

- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.

Co-Author: wanghao <sxmatch1986@gmail.com>

Story: #2007865
Task: #40229

Closes-Bug: #1885825

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal>

Change-Id: Ic15dfe480e4d34c3ba102b65153fab1af787bd67
2020-09-18 11:28:46 -05:00
Zuul
73435a2418 Merge "Cleanup the gate scripts after the Zuul v3 migration" 2020-09-01 10:44:57 +00:00
Zuul
477f471220 Merge "Native Zuul v3 version of the grenade jobs" 2020-09-01 10:38:42 +00:00
Zuul
5d0646d4e3 Merge "Native Zuul v3 version of tempest and rally jobs" 2020-09-01 10:16:40 +00:00
Zuul
854da437e8 Merge "Cap jsonschema 3.2.0 as the minimal version" 2020-08-27 01:48:50 +00:00
Luigi Toscano
36138609f1 Cleanup the gate scripts after the Zuul v3 migration
They are not used anymore, they are tasks are covered by native
Zuul functionalities and job definitions.

Change-Id: If8b0675194aea60ed2b38620425636bf0d436466
2020-08-23 20:07:47 +02:00
Luigi Toscano
d8f02715c2 Native Zuul v3 version of the grenade jobs
The upgrade pre/post script have been removed, because they are empty.

This change includes a few fixes for the grenade plugin:
- make sure to install mongo-tools when running grenade tests,
  as they use mongodump which is part of that package.
- use sudo also when saving the redis dump file for the target
  logs, as it already happens when the dump for the base logs
  is copied.

The jobs have been ported separately from the tempest and rally
jobs because they can't be backported to all the older stable branches
like them (right now, only up to train).

Change-Id: I73c4c4dee994f13b7411a17f0c5d95ca9c84bd30
2020-08-23 20:06:05 +02:00
Luigi Toscano
aeb81e2274 Native Zuul v3 version of tempest and rally jobs
Use the native Zuul v3 jobs defined in the zaqar-tempest-plugin
repository, so that they can be used on all branches.

Use rally-task-zaqar provided by rally-openstack
as base for zaqar-rally.

Clean up the legacy files, but leave the hooks which are also
used by the grenade jobs. They will be cleaned separately.

Depends-On: https://review.opendev.org/747543
Change-Id: I31dae00091b0de7bf723c086b1c81d5500601dd3
2020-08-23 01:54:45 +02:00
ZijianGuo
d4cece4b81 Fix SSLError caused by not passing the cafile
When tls is enabled, the cafile needs to be passed in the session.

Change-Id: I176e3876f2652608aaf51b0f74f4d971d31253e2
Closes-Bug: #1890558
Signed-off-by: ZijianGuo <guozijn@gmail.com>
2020-08-18 11:31:57 +08:00
ZijianGuo
8baa824b85 Fix the issue that the function unpackb has no encoding option
Package msgpack has Removed the encoding option. Please refer to [1].

And the default encoding of python3 is 'utf-8', So there is no need to specify
the encoding as 'utf-8'.

[1] https://github.com/msgpack/msgpack-python/pull/380/files

Change-Id: Ibb92e983a79e5c1608f6a603816e1b88283e34c9
Closes-Bug: #1891008
Signed-off-by: ZijianGuo <guozijn@gmail.com>
2020-08-17 11:19:10 +08:00
wanghao
e12c65a369 Encrypted Messages in Queue
The queue in Zaqar will support to encrypt
messages before storing them into storage backends,
also could support to decrypt messages when those
are claimed by consumer. This feature will enhance
the security of messaging service.

Implements: blueprint encrypted-messages-in-queue
Signed-off-by: wanghao <sxmatch1986@gmail.com>
Change-Id: Icecfb9a232cfeefc2f9603934696bb2dcd56bc9c
2020-07-23 14:07:54 +08:00
Slawek Kaplonski
98ae5dac80 Remove neutron-fwaas from the jobs' required project
Neutron-fwaas is going to be deprecated in master branch with [1].

[1] https://review.opendev.org/#/c/735828/

Change-Id: Ia8f9a90c0b22680bf33c6f58ef7a3a49b2cc30fe
2020-06-16 12:35:01 +02:00
Zuul
b5936860a2 Merge "Update hacking for Python3" 2020-06-09 02:30:58 +00:00
Hervé Beraud
bf863c5e3a Cap jsonschema 3.2.0 as the minimal version
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] https://github.com/Julian/jsonschema/pull/627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Id7e0f5b9c2c54ec0d5f1f7b0cd8199bc60718971
2020-05-26 22:15:51 +02:00
melissaml
e195c8112b Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_auto_name to use 'project' as name.

Change pygments_style to 'native' since old theme version always
used 'native' and the theme now respects the setting and using 'sphinx'
can lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not
needed during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the
renames before the next release removes them. A couple of variables
are also not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ie623e7a2389c292ffc71a285f0fc2d4bb9820c3f
2020-05-26 14:03:34 +08:00
wanghao
699bbff966 Add realeasenotes index for ussuri cycle
Change-Id: Ia2de10db5f33de83b5e09556b175c71466d3bf2f
2020-05-15 09:22:09 +08:00
Andreas Jaeger
b6e1688b24 Doc cleanups
Switch to newer openstackdocstheme and remove settings that
are default now.

Change-Id: I27895a6fb91ba3be37831a697098718082eec00f
2020-05-13 17:49:28 +08:00
Andreas Jaeger
1d9a681b83 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Remove hacking and friends from lower-constraints, they are not needed
to be installed at run-time.

Change-Id: I602e3f3dd3f158799f910d73ac9c759efe15fcc0
2020-04-02 10:18:47 +02:00
Zuul
22c457a55b Merge "Fix exception mishandling" 2020-01-31 05:28:22 +00:00
Zuul
ffd8b5621f Merge "Support query queues with count" 2020-01-17 05:16:27 +00:00
wanghao
7aa2522e3d Support query queues with count
Zaqar will support query queues with 'with_count' to
return the amount of the queues. This will help users to
quickly get the exact total number of queues which they own.

Change-Id: I1d2cdc802ecd76c01671cd5660ae79dd39505d43
Implements: blueprint query-queues-with-count
Signed-off-by: wanghao <sxmatch1986@gmail.com>
2020-01-10 14:52:10 +08:00
Zuul
f6c269fce6 Merge "[train][goal] Define new 'zaqar-tempest-swift-ipv6' job" 2020-01-09 03:49:19 +00:00
Zuul
286ba01c16 Merge "[ussuri][goal] Drop python 2.7 support and testing" 2019-12-25 05:03:01 +00:00
wanghao
0c952ebe29 Fix the incompatibility for python3
Change-Id: I1c6c0cb37819f93aa6f2a46508519fb9470f80f6
2019-12-20 15:39:37 +08:00
Ghanshyam Mann
22ade4fa77 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Zaqar is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/

Change-Id: I0fde9d2f16f3cc77be3d4cab482fa0fb7ab9e7fc
2019-12-13 00:22:57 +00:00
Zuul
55c73e22ca Merge "Update master for stable/train" 2019-11-18 08:14:43 +00:00
OpenStack Proposal Bot
ea6eef8a0a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I09dea080166a1c6d46ffe67a2fb905d180300740
2019-09-27 06:18:30 +00:00