Redis introduced ACL feature in 4.0.0, and this feature is supported by
redis-py since 3.4.0[1]. When ACL is enabled, authentication requires
username in addition to password.
This also fixes how password is parsed from uri string. The parameter
description has saied that password should be passed in the following
format
redis://[:<password>]<host>...
but the actual format current code expects is
redis://[<password>]<host>...
which is not compliant with standard URL format.
[1] 8df8cd54d1
Change-Id: I55f268eea13c7b45dceae85cfac86f3fb1562f1a
Ensure IPv6 address is not incorrectly split to look up port, in case
the address is surrounded by [].
Change-Id: I0750838b0ab00c5cbabb16e177906335f369ab5d
MongoDB fails to start frequently in CI because the recent builds are
not compatible with old CPU architecture.
Let's skip deploying MongoDB when it's not actually required, to reduce
failure rate.
Change-Id: Ia20a594ea397dbc64936598548c10d40bf57256c
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I3322daa58e49a26b4a1c288a3e63c138cf423d2d
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