Commit Graph

2698 Commits

Author SHA1 Message Date
Zuul cf86121cd3 Merge "Deploy mongodb only when needed" 2024-04-26 02:38:52 +00:00
Zuul f8369d6986 Merge "reno: Update master for unmaintained/victoria" 2024-04-25 18:16:40 +00:00
Zuul f2b1624217 Merge "Support authentication with Redis Sentinel" 2024-04-23 10:33:58 +00:00
Zuul b0d1277957 Merge "redis: Add username" 2024-04-23 08:42:22 +00:00
Zuul 43d7c92168 Merge "Fix invalid parsing of IPv6 address in sentinel server" 2024-04-23 01:57:59 +00:00
Zuul 3172ed2316 Merge "Explicitly manage extra dependencies" 2024-04-22 17:47:21 +00:00
Zuul b6186b7fe6 Merge "reno: Update master for unmaintained/wallaby" 2024-04-22 17:47:19 +00:00
Zuul 9db516f28f Merge "reno: Update master for unmaintained/xena" 2024-04-22 17:37:16 +00:00
Takashi Kajinami fbe83c8a7b Support authentication with Redis Sentinel
... so that users can enable authentication in both Redis and Redis
Sentinel.

Change-Id: I3e68e23cf89081cca829d4f78f1d1b35a11d9496
2024-04-19 22:16:58 +00:00
Takashi Kajinami a45f70e938 redis: Add username
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
2024-04-19 22:16:45 +00:00
Takashi Kajinami 75c32dc34f Stop overriding install_command
... because upper constraints can be defined by the deps option.

Change-Id: I723774c6370ed46ad4777d57025d659978572e6f
2024-04-19 15:53:10 +00:00
Zuul 639c48a6b5 Merge "Update master for stable/2024.1" 2024-04-19 15:50:34 +00:00
Takashi Kajinami 70d2f725fe Fix invalid parsing of IPv6 address in sentinel server
Ensure IPv6 address is not incorrectly split to look up port, in case
the address is surrounded by [].

Change-Id: I0750838b0ab00c5cbabb16e177906335f369ab5d
2024-04-19 13:34:32 +00:00
Takashi Kajinami b59385e3f8 Explicitly manage extra dependencies
Some storage driver needs additional requirements.

Change-Id: I7d4913f67658fc49894be4e095df24f86f4adbed
2024-04-19 13:34:26 +00:00
Takashi Kajinami 42a61f5148 Deploy mongodb only when needed
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
2024-04-19 16:38:52 +09:00
Takashi Kajinami 92101df627 Do not enable bionic-security repository
We no longer use Bionic in recent versions.

Change-Id: Ie736769d28699f9d1be8146d4e2f66c7f4742bdd
2024-04-19 02:55:41 +09:00
OpenStack Release Bot ad8a855dd3 Update master for stable/2024.1
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
2024-04-15 02:23:17 +00:00
Stephen Finucane c20dd17088 devstack: Fix version check
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>
2024-03-22 14:40:12 +00:00
OpenStack Release Bot c03d128271 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Iaab3c9388995a4124ffdebe2e6ff4ca3bfced48f
2024-03-05 18:25:00 +00:00
OpenStack Release Bot 3cdfd5fab9 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I7faa6dd80cb35aa26561b3327a4dbd366ed42153
2024-03-05 18:24:26 +00:00
OpenStack Release Bot c53658cabb reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I142696fffa51603b89ffa8a82a79d4ba2861162e
2024-03-05 18:23:52 +00:00
Zuul 4ad3b5695c Merge "Bump hacking" 2024-02-21 00:58:48 +00:00
Takashi Kajinami cdb55499f6 Replace CRLF by LF
... 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
2024-02-15 02:28:37 +00:00
OpenStack Release Bot f246df12e5 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I3f3c8912006866e595ba3aa67abb0d906418bb5e
2024-02-05 15:53:04 +00:00
Takashi Kajinami 5c900d4ab5 Bump hacking
hacking 3.0.x is too old.

Also remove the note about very old pip's behavior.

Change-Id: I6d2d180a9ec80664efae498f86a4d1f734aacfa5
2024-02-02 12:42:02 +00:00
Takashi Kajinami 2c85927511 Remove integrated-gate-storage
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
2024-01-20 20:23:26 +09:00
Zuul a603cb4df7 Merge "Storage URIs should be secret" 2024-01-11 08:15:49 +00:00
Zuul 87a5874b86 Merge "Update python classifier in setup.cfg" 2024-01-10 14:27:32 +00:00
Zuul 69ca2a7854 Merge "swift: Fix ignored *_domain_name options" 2024-01-09 03:59:49 +00:00
Ghanshyam Mann 7f246fec06 Update python classifier in setup.cfg
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
2024-01-05 04:40:40 +00:00
Zuul 3865aebd4b Merge "Imported Translations from Zanata" 2024-01-03 19:01:02 +00:00
wanghao 52c06346ef Support asymmetric encryption RSA
Change-Id: I758cf8a1b1260da060c13538c26f2c39d48d12a8
2024-01-02 09:36:18 -08:00
Takashi Kajinami 355e1d8fcc swift: Fix ignored *_domain_name options
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
2024-01-02 10:00:06 +00:00
OpenStack Proposal Bot 333517e796 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I369a332154775ffa66c0c8aaf6a5cfcd141cbfad
2023-12-29 04:20:18 +00:00
Zuul 24cca93be1 Merge "Remove indirect dependency (python-memcached)" 2023-12-29 01:42:45 +00:00
Takashi Kajinami d14b039182 Remove indirect dependency (python-memcached)
The python-memcached library is not imported directly from this module
and can be dropped.

Change-Id: I32f5e373c18011940ed1bb2ae3c2d2d5e77a4d8c
2023-12-28 03:15:15 +00:00
Takashi Kajinami 389bd83aaf Storage URIs should be secret
... because these can contain password as its element.

Change-Id: Id570941ee3b02e7b60ca3330c36edb8f0f9f56fc
2023-12-28 03:15:03 +00:00
Corey Bryant 7b4c359f92 Switch to MySQLOpportunisticFixture from test_fixtures
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
2023-12-27 10:11:28 -08:00
hwang 51350eabbe Fix ci broken for Debian 12
Change-Id: I82b6fcccb99e01b0790a4037d9c3dff0a5f1c99f
2023-12-20 12:19:50 -08:00
OpenStack Release Bot f5230aa5e3 Update master for stable/2023.2
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
2023-09-15 14:06:30 +00:00
hwang 3c1627dbca Fix devstack plugin to support centos/rhel 9
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
2023-08-30 17:13:05 -07:00
Zuul 169d917c3e Merge "Change StrictRedis usage to Redis" 2023-08-21 18:54:14 +00:00
Zuul e7c022e085 Merge "Use processutils to fix TypeError in subprocess" 2023-08-21 17:39:15 +00:00
Zuul 3e6b7dd5ef Merge "Add missing key for bionic-security repository" 2023-08-20 19:10:50 +00:00
Xing Zhang e0937b1f09
Use processutils to fix TypeError in subprocess
Calling processutils.execute() other than subprocess to
fix bytes-like and str issue in python3.

Closes-bug: #2029392
Change-Id: I16436aa19da2cf53951c9ad27bca14033194651a
2023-08-21 00:09:40 +08:00
hwang ef62a26dc4 fix the gateway CI error
Change-Id: I346e829b8c68f2f5444e098c36c7f0c7a32f6fb9
2023-08-16 10:41:25 -07:00
Martin André c8e8a3d029 Add missing key for bionic-security repository
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
2023-07-27 13:15:10 +09:00
Zuul d27fb63796 Merge "Revert "Refactor Zaqar to satisfy openstack uwsgi goal"" 2023-03-30 10:42:32 +00:00
Erik Olof Gunnar Andersson 4585b84224 Revert "Refactor Zaqar to satisfy openstack uwsgi goal"
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
2023-03-27 15:54:51 +00:00
Erik Olof Gunnar Andersson c4502d1593 Use bionic package of libssl1.1
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
2023-03-21 19:20:16 -07:00