mongosh versions 2.2.0 appears to have changed the verbosity of logging.
We are attempting to extract version information from the output, but
looking at it manually shows no such output.
$ mongosh zaqar --eval 'db.dropDatabase();'
{ ok: 1, dropped: 'zaqar' }
Downgrading the package to the last release before 2.2.0, 2.1.5, reveals
what we had been expecting:
$ sudo apt install mongodb-mongosh=2.1.5
$ mongosh zaqar --eval 'db.dropDatabase();'
Current Mongosh Log ID: 65fd88a57854a39dcce03169
Connecting to: mongodb://127.0.0.1:27017/zaqar?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.1.5
Using MongoDB: 7.0.7
Using Mongosh: 2.1.5
For mongosh info see: https://docs.mongodb.com/mongodb-shell/
To help improve our products, anonymous usage data is collected and sent to MongoDB periodically (https://www.mongodb.com/legal/privacy-policy).
You can opt-out by running the disableTelemetry() command.
------
The server generated these startup warnings when booting
<snip>
------
{ ok: 1, dropped: 'zaqar' }
We *could* increase the verbosity again using the '--verbosity' flag,
but rather than relying on arbitrary logging output, we could just use
the 'db.version()' function to pull our server version. Use that
instead.
Change-Id: I1faa317ebfa9927a4d576bd4da72872fab160560
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
... because LF is now commonly used as newline code.
Also some files in the samples directory has 755 permission but x bit
is not needed. This removes the unnecessary bit as well.
Change-Id: I6119e508481c9c0f8a5c1c2c40bb2e3a788abd3c
This jobs in this template do not install zaqar, so we don't have to
run these tests in Zaqar's CI.
Change-Id: I882b24b803200ff385b23ae9471dc19e762d4249
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg
Change-Id: Id56128f06aea4914b079e78e9928171a861f5299
The *_domain_name options are always ignored because the *_domain_id
options have the default values. This moves the default definition from
id options to name options so that setting the *_domain_name options
work.
Change-Id: I124a81c8eca2392916bb3ec638bb9ae61d5226a2
MySQLOpportunisticTestCase was removed in oslo.db 13.0.0[1] and the
MySQLOpportunisticFixture should instead be used.
Also fixed bindep so that it works in Debian 12.
[1] a609333c5482228ee69baab91858e1812909cd55
Closes-Bug: #2038473
Change-Id: I56f7e055876204940bc65cc6309c3481b22c1c6c
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: Ia900bd481c74b84b0ebd06884916693143851571
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
Calling processutils.execute() other than subprocess to
fix bytes-like and str issue in python3.
Closes-bug: #2029392
Change-Id: I16436aa19da2cf53951c9ad27bca14033194651a
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
This reverts commit 5a7636786e.
Reason for revert: We do not handle href links properly and this breaks other services depending on Zaqar.
Change-Id: I5fb0f2f25c280dd69cfb99d9f9b320df552462dc
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
After this change, Zaqar-wsgi will not be forced to port 8888 by
devstack. Use apache proxy now and the endpoint will be like:
http://IP/messaging by default.
Change-Id: I413cd24a9ef70a8bbada46d63d5dfdff09366b3e
For fixing the issue that mongodb in not in ubuntu 22.04 release, we need
to give a work-around way to install mongodb successfully in 22.04.
Change-Id: I5bb488f33d1c24298bb96e2702d2c98415db6cf4
Queues are now declared at the project level
https: //lists.openstack.org/pipermail/openstack-discuss/2021-November/025797.html
Change-Id: Iae33d7c725274be9de1aa66ad73b2d610c36e061
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
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I71b02bc7a535678dab6a2808aa8fae4de7782dc1
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
Change-Id: I132e2e4f2c71217bc42b28b53a52a1be6d3b19b4
Python 2 support was removed during Ussuri cycle. This change adds
the classifier to clearly state that only Python 3 is supported.
Change-Id: I8dc49f25e1f77f53388a8a048d3f5f7e16c2f808