The latest pymongo removed support for mongodb < 7 but the version
available in Ubuntu Focal, which is currently used in py39 unit tests,
does not meet this requirement.
Change-Id: I8cb6f6b76f65c739aa1c3c1c4c1920674a45bf45
Since there is no official repo of MongoDB
for Centos-Stream-9 or Rhel-9, we will build
the repo by script.
Change-Id: I1f20eb22d6e922d12e0d88aae5bf47c032db3cb3
The devstack install on ubuntu jammy (22.04) fails to check the
signature for the bionic-security repo and exits, as seen in
https://github.com/gophercloud/gophercloud/issues/2701.
This commit adds the required key.
Change-Id: Ifab19c36fbca1813dae35d65750deed4fd81b91c
Instead of manually downloading the package and having to keep
that url up-to-date. This patch switches to just using the bionic
security repo as a source.
Change-Id: I81383955aea253769b02df682e9712233da77c26
Simplify the version check to make it less error prone, use the right
version of the 22.04 repository from mongodb.org (jammy vs focal) and
stop trying to install libssl package that no longer exists on the
repository.
Change-Id: I49d32e555e6a0df15c0e059e8c4152a969ab3975
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I29fcb9afa016b1321b0b4c0118a8d7ffbc00b02e
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
1. Fix the case of table names
2. Fix the sqlalchemy migration tests
NOTE: The sqlalchemy migrations test depends on oslo_db's migration
test which requires mysql user 'openstack_citest' with password
'openstack_citest' otherwise the test will be skipped.
Closes-Bug: #1654105
Change-Id: Ia672440a948fa4784f6dd1aa6d5fed0bc3915663
Oslo's config generator has been moved under oslo.config, which doesn't
require using a bash script anymore.
The patch removes the old scripts and updates the generation task in
tox.ini
Closes-bug: #1373800
Change-Id: Ia757b0d141f8557144108d386496d1e9bfc7333f
* Fix the redis opts typo in setup.cfg
* Fix the default value type for reconnect_sleep in redis
* add the redis to oslo.config.generator.rc
Change-Id: Ibd439e2bdaa46ddf21802724f9fe7fb6f2b61bc5
This fix adds the detailed API reference to the developers guide
as it's done in major projects in the stack.
It also fix Sphinx warning and errors and adds a .rst files
generator to easily update the api reference in the future.
Plus, it includes an index for API, modules and search.
Co-Authored-By: Flavio Percoco <fpercoco@redhat.com>
Change-Id: If42121c9e8e852785cb2db3aa5d6895223b9d604
auth_token middleware in python-keystoneclient is deprecated and has
been moved to the keystonemiddleware repo.
Change-Id: I174b62d035b84aff1cf0d60efb84f7650445f42c
Closes-Bug: #1342274
This patch renames every package, file, match of Marconi in the codebase
to Zaqar *except* for the .gitreview file, which will have to be updated
*after* I8e587af588d9be0b5ebbab4b0f729b106a2ae537 lands.
Implements blueprint: project-rename
Change-Id: I63cf2c680cead4641f3e430af379452058bce5b3
This patch adds oslo's config generator to the source tree and uses it
to generate marconi's sample configs. It also adds a check to pep8 that
verifies the config file is up-to-date.
Change-Id: Iec7defa244dc8649a5c832bb81b9ec6f30f0ee37
To pave the path for the project structure of the future, tools/ is
being eliminated.
New commands/utils should be added as entry points and placed in cmd/
tools/system-test-requires -> system-test-requirements.txt
Change-Id: I14b3189f2b2a1cee6508952a46274e00514addac
This patch updates the System tests to use nosetests,
in place Robot framework.
blueprint system-tests
Change-Id: I4c51cb042ab21e2796b55fb13d69ae3afa2af172
Instead of using paste and depending on the middleware chain, use
ceilomenter's strategy and wrap transport's app using the auth_token
middleware.
NOTE: Tests with successful auth are missing
Implements blueprint remove-paste
Change-Id: I61e7d1fae6b80114e22c0a43b4e391e2d5443123
The patch replaces gunicorn with wsgiref since it doesn't make sense to
have gunicorn as dependency. Lets let deployers choose whatever the
prefer to use as container.
The patch also removes lib/* since marconi_paste is not needed anymore,
the wsgi app can now be accessed through:
`marconi.transport.wsgi.app:app`
Backward incompatible change: bind refers now to the host and a new
config variable was introduced to specify the port it should bind to.
Fixes bug: #1187280
Implements blueprint: transport-wsgi
Change-Id: I9f7767ace5c6553e75e2f4587032d7d64b9537c4
This patch adds the System level testing framework &
the initial set of tests for Marconi.This will allow
developers to run the system tests (regression suite for
Marconi system level tests), against local Marconi server.
Refer tests/system/README.rst file for details on
how to add new tests and run the existing tests.
Change-Id: I2f47e03091acc260293b19edad69ff5c83888ec3
Implements: blueprint system-tests
This patch imports oslo's log module. I modified it since it depends on
oslo's notifier which has many other dependencies Marconi doesn't need.
There's sort of an issue with gunicorn, it seems that once
log.setup('marconi') is called, gunicorn starts logging twice each
message.
Change-Id: I85e8354b7af9b67ea1f87e54b3b73250d4a1115a
In the interest of conforming to the de-facto coding standard for
OpenStack projects, this patch enables all checks for flake8 and
hacking, plus fixes everything reported.
Also, several docstrings were edited for clarity and grammar.
Change-Id: If85c4e420811b6df8eb55de1b5f07a0a8acfceff
Implements: blueprint grizzly-debt
This removes the cloned Nova hacking.py in favor of the new OpenStack
hacking package on pypi. The new hacking module is a flake8 extension,
so running pep8 separately is no longer needed, and has been removed.
Note that some errors are currently being ignored; those will be fixed
in a followup patch.
Implements: blueprint grizzly-debt
Change-Id: I9d34b21d872a872b8c927717367023d3214ff38d
This patch ensures we are running flake8 in a DRY fashion, using the same
exclusions as used for pep8. Also fixed is the pep8 module version mismatch
between the version required for hacking.py and the newer version used by
flake8. Finally, the doctest run for pep8 was removed, and enabled for
nose instead.
Implements: blueprint grizzly-debt
Change-Id: I8e19512df4cd37f7ad637b66dff0a5982d14482c
This directory is no longer necessary, and the script is out of
date. marconi/bin is the new home for this sort of stuff.
Change-Id: I67b95dad314389d567d623521b69df9093c77dff
This patch adds gunicorn as dependency for starting and managing server
workers. Gunicorn allow users to chose whether to use workers based on a
sync process, eventlet or gevent. It also manages multiple workers, ssl,
process uid, process gid.
Implements blueprint transport-base
Change-Id: Ic328dbb937f8df69691911c6e6ff6b318bb1db34
* To build the query strings;
* to build content_location;
* and to ensure the type of the HTTP parameters.
Implements: blueprint transport-wsgi
Change-Id: Ibc06d68e43313e842854f08a8bff010624e7516c
This patch implements MessageController for the mongodb storage. In
order to test the changes made here, it was necessary to modify current
base classes.
This patch also adds more granular exceptions (QueueDoesNotExist and
MessageDoesNotExist) both based on the existing exception DoesNotExist.
Implements blueprint storage-base
Implements blueprint storage-mongodb
Change-Id: I0752c5d797104a9cc58efd8e866b3b627646bce5
* The JSON serialization is switched to msgpack;
* list() on messages and stats() on queues fail loudly.
Implements: blueprint message-pagination
Change-Id: Iadb1ef348a53e0de28c6b45782ef686a3f1bf1e2
* Inserted Keystone middleware into Paste Deploy pipeline when
running an HTTP transport instance.
Change-Id: I8d206747878b1013f668f116fdfc1d76204aef1c
This patch introduces a queue controller for the mongodb storage
backend.
Implements blueprint storage-mongodb
Change-Id: I473d0514b1948bedeae66c3b737d9e18e088c796
* Remove "bash" from command string in testenv:pep8 to stop it from
complaining about referencing something outside the virtualenv.
* Add missing pyflakes dependency
Change-Id: I10ae6dba764b4e7d7fcb9aef3f8d84b30ba1c773