Commit Graph

4875 Commits

Author SHA1 Message Date
wu.chunyang 421721a3e1 Enable network_isolation by default
We have already tested this feature on our CI for an entire cycle.
It's ready to be enabled as the default value.

Change-Id: Ifbe862020f7c2b1f6684164d2a26bb5ceb37bec3
2024-04-02 15:19:29 +00:00
Zuul c0cd2a0815 Merge "fix error when build mariadb backup docker image" 2024-04-02 10:26:41 +00:00
Zuul c8d1848c0f Merge "Bump hacking" 2024-04-02 07:33:36 +00:00
Bo Tran 2aff55714b fix error when build mariadb backup docker image
When build backup image, we use mariadb_repo_setup to set
repository, but it can't be download from current url.

This patch will fix this error.

Change-Id: I0610afe31fcbfe3732f95cc78eeccc2a67ebc456
2024-04-02 11:38:28 +07:00
Zuul d702a30db4 Merge "Fix error can't detach the configuration group binding" 2024-04-02 04:23:19 +00:00
Zuul a2775ec2aa Merge "Get rid of nose and Proboscis" 2024-03-29 08:26:04 +00:00
Zuul e19a7d4e50 Merge "Add Datastore Version Registry Extension" 2024-03-28 17:44:36 +00:00
wu.chunyang 93f35c7f04 Get rid of nose and Proboscis
they are not maintained for a long time, and trove already switch
the tests to templest.
This commit removes the usage of them. more details see story.

Story: 2010882
Task: 48606

Depends-On: https://review.opendev.org/c/openstack/trove/+/914228

Change-Id: Ie021e0bd708cf8ed13853dea632312af38190205
2024-03-28 07:07:15 +00:00
Zuul 3863b81a18 Merge "db: add commit action after querying" 2024-03-28 07:00:14 +00:00
wu.chunyang c59d54c427 db: add commit action after querying
Change-Id: Ibe39a9b999680cc1fba4eccd9fa2ed0fa41ccb00
2024-03-28 09:06:27 +08:00
Bo Tran Van b127068c20 Add Datastore Version Registry Extension
Current, users can config default datastore registry for managers not by
verions. This make you can flexible when have some experimental
datastore.

With this patch, users with the administrator role can configure the
datastore registry external for each datastore version using a command,
without editing configuration files.

Story: #2010860
Task: #48534
Change-Id: I910a1ba4a9216ab29faeed03198113b4acb2cb81
2024-03-27 05:56:09 +00:00
Sean Mooney 3367c25e77 stop using passlib
passlib is unmaintained and has not had a release since 2020
a recent bcrypt release just broke passlib
see https://github.com/pyca/bcrypt/issues/684

trove's use of passlib is pretty tirval so this change
just removes it as a depency and delegate the random password
generation in trove.common.utils to the generate_random_key
function in the trove.common.crypto_utils module

Change-Id: I6b6c64147c627025d5f89db6032d1c54445df94f
2024-03-26 14:46:55 +00:00
Bo Tran dbb18bea10 Fix error can't detach the configuration group binding
Story: #2011063
Task: #49697
Change-Id: I275bd77736020f02678fc34332edd277f5e2a6b6
2024-03-25 11:43:04 +07:00
Zuul 83a525067d Merge "Retire TripleO: remove the TripleO jobs/ref" 2024-03-25 04:28:10 +00:00
Takashi Kajinami bb260949d4 Bump hacking
hacking 3.1.0 is too old.

Note:
We can't directly bump hacking to 6.x.0 (which is the latest major
version) because of the existing cap by diskimage-builder. The cap is
now being updated by [1].

[1] https://review.opendev.org/c/openstack/diskimage-builder/+/909336

Change-Id: I8778a7decc6669b4d95d6886c971433e7c34c5c8
2024-03-22 00:03:05 +09:00
Zuul 110b8c3e32 Merge "Establish consistency on db_info.addresses between taskmanager and instance" 2024-03-21 04:32:32 +00:00
Zuul 89e4601e1a Merge "Imported Translations from Zanata" 2024-03-21 03:48:25 +00:00
OpenStack Proposal Bot cb0cd5b4a3 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I832247fa5eaefc7daec33b58d5ae0122bdcbc0bb
2024-03-21 03:07:19 +00:00
OpenStack Release Bot c5adc4fb4e 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: I6067b04332b5cef3a853910cac319ab52b86d458
2024-03-20 13:42:49 +00:00
Andrew Bogott 86a870cc50 Establish consistency on db_info.addresses between taskmanager and instance
We had two different workflows here using the same variable but expecting
it to have a totally different format. The taskmanager dns code
was populating that variable with nova api output; the database
list code populated it manually with a custom-format structure.

This seems to have survived a long time because these are both edge
cases: the dns workflow was only traversed with dns integration
is switched on (unusual) and the database list only relied on IP
addresses when hostnames weren't present.

This patch picks a winner (the custom structure used by the database
listing code) and modifies the dns workflow to live with that same format.

This is spackle over a whole lot of bitrot, but should get
both use cases working properly.

Story: #2010077
Task: #45568
Change-Id: I5832733dd312db24d2d8047658fdd1af9f4e700a
2024-03-20 08:24:38 +00:00
Ghanshyam Mann a2447137d9 Retire TripleO: remove the TripleO jobs/ref
TripleO is retired so removing its jobs/ref

- https://review.opendev.org/q/topic:%22retire-tripleo%22

Change-Id: Id6fc86b570627bc6863dde330877966da3126fe6
2024-03-20 08:23:44 +00:00
Zuul 6822a76ad9 Merge "reno: Update master for unmaintained/xena" 2024-03-20 06:32:50 +00:00
Zuul 93bd69017f Merge "reno: Update master for unmaintained/wallaby" 2024-03-20 06:32:49 +00:00
Zuul c5e59efd45 Merge "db: Remove use of autocommit" 2024-03-20 06:18:33 +00:00
wu.chunyang ab83ad7c85 db: Remove use of autocommit
Change-Id: I3f0d384f353069f1eb186bbfa2aa3d8afa969e05
2024-03-19 22:03:56 +08:00
OpenStack Release Bot e359e76e14 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I6781ce54ed6d7a29b652e1e358deba3823e57caa
2024-03-12 10:56:21 +00:00
OpenStack Release Bot 5acdf96222 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I7a80f7984939c2812e49ed25f3b79d616c822238
2024-03-12 10:55:40 +00:00
OpenStack Release Bot f0cd3e4f42 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: Ide1deface9cf3d69fe02b24e8c0e406c1d64c53b
2024-03-12 10:55:00 +00:00
Zuul 860772e1b0 Merge "Enable healthcheck middleware" 2024-02-27 06:11:49 +00:00
Zuul 3380fbc4ff Merge "Fix missing oslo.db options" 2024-02-26 02:29:47 +00:00
Takashi Kajinami 1298374998 Fix missing oslo.db options
This ensures that the options from the oslo.db library are picked up
by oslo-config-generator.

Also, update .gitignore so that the sample config file is ignored by
git.

Change-Id: I6ab051fd1c8034d9697b1caab9c1fda64a3275c3
2024-02-26 01:45:01 +09:00
Takashi Kajinami ebe15a1ba5 Enable healthcheck middleware
The healthcheck middleware from oslo.middleware library is now commonly
enabled in OpenStack services, for service healthcheck (often used by
load balancers such as haproxy). This enables the middleware so that
operators can use the healthcheck endpoint more easily. This also
replaces the oslo.middleware config entry point by more specific sub
entry points, to avoid rendering options from unused middlewares such
as sizelimit.

Change-Id: If3296e651e7f20a3f5314c085cc99ce4b004c065
2024-02-26 01:41:31 +09:00
Zuul fef0c13cdd Merge "Imported Translations from Zanata" 2024-02-23 13:24:05 +00:00
Zuul 27e5a710ce Merge "Change postgresql socket path to a persistent path" 2024-02-23 13:23:59 +00:00
OpenStack Proposal Bot 57aa13a0bd Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I01c3e2f2ad989a0c9f9d4a456c31bcb3208d584f
2024-02-23 03:37:52 +00:00
wu.chunyang 65bcf6d6e2 Set swift_api_insecure to false in trove-guest
As the devstack uses the self-signed certificate , we should
set swift_api_insecure to false by default to access the
swift service.

Change-Id: Idc2b8127dcfd589d48eb26d7624709a9fdc64029
2024-02-23 10:37:57 +08:00
Zuul 4060334cb9 Merge "reno: Update master for unmaintained/yoga" 2024-02-22 13:26:42 +00:00
Zuul f68959290a Merge "Clean up requirements for backup script" 2024-02-22 02:56:45 +00:00
OpenStack Release Bot 5e7a09f953 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I8ad86d635802c367712b20d20476c72d4e6cb56f
2024-02-19 09:19:27 +00:00
Zuul fd10a99377 Merge "Fixes the DIB script" 2024-01-30 06:29:43 +00:00
Takashi Kajinami 235bd9acd7 Remove global default_password_length
This option was deprecated multiple cycles ago[1] in favor of
the datastore specific options.

[1] f4cbaf6ccd

Change-Id: I1b40fb528d5df52f132a1d8cf027a42d8b65d544
2024-01-30 03:09:33 +00:00
wu.chunyang f151fd91d9 Change postgresql socket path to a persistent path
This patch changes the default socket patch on the host from
"/var/run/postgresql" to "/var/lib/postgresql-socket".
ensuring that the  database container starts properly after
a Nova instance is restarted.

Story: 2010599
Task: 47471

Change-Id: I54a53cc802bbd20bb9e2c6508919e4c8dda38f2a
2024-01-30 03:08:55 +00:00
Hirotaka Wakabayashi ab3563d621 Fixes the DIB script
This PR adds the "-y" option to the "add-apt-repository" script to
prevent from asking the yes/no question while installing openstack
automatically.

Change-Id: Ic6c86b95da28c4a3f2ab0a4c918e291a7e1b9bb3
2024-01-30 03:06:44 +00:00
Takashi Kajinami 3731d21c8f Clean up requirements for backup script
We can remove the version marked because now only python 3.x is
supported.

Change-Id: Id809ea11ad68f1410fcd058aa2cb7f25bd8ac06a
2024-01-30 11:34:57 +09:00
Takashi Kajinami f9fa6a674e bandit: Install baseline extra
Since bandit 1.7.7[1] we have to install the baseline extra to use
bandit-baseline.

[1] 22c75a8306

Change-Id: I6661c86418f6334080de8514f1bb02a8212ec63d
2024-01-29 22:49:25 +09:00
Zuul c179534ba9 Merge "The backup_aes_cbc_key option should be secret" 2024-01-25 08:37:52 +00:00
Zuul 40fdb7b44f Merge "Change mysql socket path to a persistent path." 2024-01-19 04:52:06 +00:00
Zuul cd2f4c2f73 Merge "fix: prepare mariadb after restore" 2024-01-19 01:43:15 +00:00
Zuul 422507ca42 Merge "Fix potential network conflict" 2024-01-16 08:37:12 +00:00
Zuul fa0c776b64 Merge "Updates guest-agent image issues" 2024-01-16 07:45:20 +00:00