5054 Commits

Author SHA1 Message Date
Zuul
0243ca1406 Merge "pg_hba.conf not re-creating after rebuild in PostgreSQL" 2026-01-06 14:26:03 +00:00
wu.chunyang
124d89a896 Set ipc_mode to host to prevent potential shared memory exhaustion
Trove is launching Docker containers without specifying shm_size, which
left the default 64MB limit for /dev/shm. PostgreSQL uses shared_buffers
of 128MB by default, so any database running with default settings could
exceed the default /dev/shm size. In this situation PostgreSQL may fail
during shared memory operations with errors such as: "could not resize
shared memory segment: No space left on device".

This patch uses ipc_mode=host to pass the shared memory from host to container.

Co-Authored-By: Eric <mangust404@gmail.com>

Change-Id: I2a7c69776e2a41f9ac5fd9da93f5772746d87a2f
Signed-off-by: wu.chunyang <wchy1001@gmail.com>
2025-12-29 10:48:19 +08:00
Erkin Mussurmankulov
5ac23a213c pg_hba.conf not re-creating after rebuild in PostgreSQL
Hello guys!

After rebuild, the pg_hba.conf is not where it should be.

It seems like nobody mentioned it before. We've found this bug on
our production setup.

Change-Id: Icecb8391c1ec996d3d73f495edca9c8c92953b55
Signed-off-by: Erkin Mussurmankulov <mangust404@gmail.com>
2025-12-25 10:50:42 +05:00
Zuul
3ec0c5f8dd Merge "Return X-OpenStack-Request-Id header in response" 2025-12-05 09:32:15 +00:00
Zuul
000fce8bad Merge "Remove tags from README" 2025-12-05 09:27:50 +00:00
Zuul
c1c4303f58 Merge "Push datastore image to quay.io to support tests" 2025-12-05 09:27:47 +00:00
Ivan Anfimov
5c8be98cfc Push datastore image to quay.io to support tests
For PostgreSQL 18

Change-Id: I909c628b96173a5633572909524926a24bc1596d
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025-12-02 07:27:35 +00:00
Takashi Kajinami
354ec271db Return X-OpenStack-Request-Id header in response
It is very useful for debugging purpose, because it allows operators
to identify logs which is related to a specific client request.

Change-Id: I5ae5caf276a40126bd49d70e0548b2876e7d8398
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-12-02 06:40:11 +00:00
d932f98308 reno: Update master for unmaintained/2024.1
Update the 2024.1 release notes configuration to build from
unmaintained/2024.1.

Change-Id: I46625709e8ec67bd6d23a91f1dfc87ad9ad6fcaa
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/change_reno_branch_to_unmaintained.sh
2025-10-31 11:46:48 +00:00
Ivan Anfimov
c527964c3d Remove tags from README
The tags framework has been discontinued for a long time.

https://governance.openstack.org/tc/reference/tags/

https://governance.openstack.org/tc/resolutions/20211224-tags-framework-removal.html

Change-Id: I478dc38d41775d6d75a3cf37dcab3531159c09ab
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025-09-29 22:23:03 +00:00
Zuul
7ebcb39c9d Merge "Update master for stable/2025.2" 2025-09-16 07:31:40 +00:00
OpenStack Proposal Bot
4c911b5721 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I11b086a68d6051f09b334d3d95b4471130bff903
Signed-off-by: OpenStack Proposal Bot <openstack-infra@lists.openstack.org>
Generated-By: openstack/openstack-zuul-jobs:roles/prepare-zanata-client/files/common_translation_update.sh
2025-09-16 04:10:15 +00:00
9bf82ad977 Update master for stable/2025.2
Add file to the reno documentation build to show release notes for
stable/2025.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2025.2.

Sem-Ver: feature
Change-Id: Id01da16672b76e69c6a75a22f39ea1687a89bd72
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/add_release_note_page.sh
2025-09-15 09:56:53 +00:00
Zuul
b068b403b7 Merge "Consistent voting job in check and gate" 24.0.0.0rc1 24.0.0 2025-09-10 03:13:57 +00:00
Zuul
9179844943 Merge "Replace LOG.warn" 2025-09-08 16:02:48 +00:00
Zuul
85d7ca7ad0 Merge "Remove pylint" 2025-09-08 13:03:27 +00:00
Takashi Kajinami
21457af4cc Consistent voting job in check and gate
It's a general good practise to have more test coverage in check than
gate. Make sure that all jobs voting in gate are voting in check.

Also drop a few redundant job overrides.

Change-Id: Iee48902dcb3e85e54eada23f27ac61d53c1897ac
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-09-08 17:41:35 +09:00
Zuul
6f978dafa7 Merge "Drop description about CentOS7 and RHEL7" 2025-09-08 02:37:21 +00:00
Zuul
b38165b520 Merge "Use systemctl command to manage service" 2025-09-08 02:37:18 +00:00
Takashi Kajinami
018bcb0900 Replace LOG.warn
The warn method is deprecated in favor of the warning method.

Change-Id: If7b6bcc4fa6c991f784884feeacb2b20dd2109e6
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-19 13:22:22 +00:00
Takashi Kajinami
bf116bae67 Use built-in hacking check
Recent hacking provides the built-in check to prohibit usage of
assertRaisesRegexp (H213) .

Change-Id: I33b0ea630fa7b87bce66d0b032f352dc8450af4e
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-19 13:22:17 +00:00
Takashi Kajinami
5757856124 Replace oslo_utils.encodeutils.exception_to_unicode (again)
The function is deprecated because it is equivalent to str(ex) in
Python 3.

Fix a few remaining usages which were overlooked by the previous
attempt[1].

[1] 8331446fa4

Change-Id: I8915500f49f3bd13b848da2709658da533d14cfe
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-10 00:33:28 +09:00
Zuul
2cd499fc54 Merge "[doc] Datastore support matrix" 2025-07-28 13:31:14 +00:00
Dmitriy Chubinidze
8874e9f5ef [doc] Datastore support matrix
Add a datastore support matrix to the documentation. The matrix provides a clear overview of which databases are fully tested and officially supported.

+ Fix incorrect URL

Change-Id: Ic295193c5af021f2c6e851456c2b98dc558adee3
Signed-off-by: Dmitriy Chubinidze <dcu995@gmail.com>
2025-07-24 16:23:37 +00:00
Takashi Kajinami
b814af4b5b Drop description about CentOS7 and RHEL7
These old versions are no longer supported.

Also recent Fedora provides "python3-mod_wsgi" package rather than
"mod_wsgi" package.

Change-Id: Ia6f0c0cff4c3fd5b6b012a70a09a04c7ba3ff7c0
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-07-23 23:03:53 +09:00
Takashi Kajinami
edf500d244 Use systemctl command to manage service
systemd has been used as a default init system since Ubuntu 16.04 .

Change-Id: I3e82f411e65f2d13b0e88f91b18c140b1b4aef79
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-07-23 07:05:51 +00:00
Zuul
7ca314a8b9 Merge "Add support for MySQL 8.4" 2025-07-22 12:38:56 +00:00
Ivan Anfimov
5937eb6cb5 Replaced usage outdate egrep to grep
Change-Id: I78f4c93d4d196e5d870a39256cb90dcbec41da45
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025-07-18 12:59:05 +00:00
OpenStack Proposal Bot
8420adb0a7 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ie37946678a3f7c3c309c7df1c7e0ffe0f6696d90
Signed-off-by: OpenStack Proposal Bot <openstack-infra@lists.openstack.org>
Generated-By: openstack/openstack-zuul-jobs:roles/prepare-zanata-client/files/common_translation_update.sh
2025-07-15 03:32:30 +00:00
Zuul
f17ccc7c90 Merge "Fix small mistake in release note with MariaDB" 2025-07-15 01:49:44 +00:00
wu.chunyang
4f1f1bbc1d Add support for MySQL 8.4
Change-Id: If462e377d182a9a56614b37ce4258cfd692ab21b
Signed-off-by: wu.chunyang <wchy1001@gmail.com>
2025-07-11 14:05:03 +08:00
Zuul
57cbd95621 Merge "Add support for PostgreSQL 16 & 17" 2025-07-11 02:26:24 +00:00
Zuul
05f68b001c Merge "Remove Python 3.9 support" 2025-07-09 09:37:02 +00:00
wu.chunyang
bacf37e689 Add support for PostgreSQL 16 & 17
This commit adds healthcheck for postgresql to check health status.

Change-Id: I110007516323e3193414e24ed6799e40b7870bd8
Signed-off-by: wu.chunyang <wchy1001@gmail.com>
2025-07-09 12:34:52 +08:00
Ivan Anfimov
b8a3f31652 Remove Python 3.9 support
Python 3.9 is no longer part of the tested runtimes[1].

[1] https://governance.openstack.org/tc/reference/runtimes/2025.2.html

Change-Id: Ie96b62f758461369cf750eb5937ea890c3bf83c0
Co-authored-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025-07-08 08:51:14 +00:00
Ivan Anfimov
8d1737781b Fix small mistake in README.rst
Change-Id: Ibe3fc9eaa26c30a0bccada360473d550d6d0b495
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025-07-06 22:36:43 +00:00
Zuul
8dd20ad68c Merge "Remove unicode prefix from code" 2025-07-06 15:15:33 +00:00
Ivan Anfimov
e54a9b71e6 Fix small mistake in release note with MariaDB
Change-Id: I902e896ca1fa339214d7be099ed5034c93e0f07a
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025-07-06 12:47:29 +00:00
Ivan Anfimov
fb0be77b30 Remove unicode prefix from code
All strings are considered as unicode string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: I4a3b5d8272d9dd3594218574d20de90a789ccc20
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025-07-04 20:47:39 +00:00
wu.chunyang
9e46762ae2 Add support for mariadb 11.4 & 11.8
This commits adds support for Mariadb-11.4 & 11.8

Change-Id: I16166475d665defe046dee9c79646af4035ad841
Signed-off-by: wu.chunyang <wchy1001@gmail.com>
2025-07-04 03:16:58 +00:00
wu.chunyang
e92f23471a Change default timeout for mariadb 11.4 & 11.8
This change sets default timeout from 30s to 120s and push to quay.io

Change-Id: I1046e5113b3d86284d4d06e1d046bff422695648
Signed-off-by: wu.chunyang <wchy1001@gmail.com>
2025-07-03 14:47:18 +08:00
Zuul
58bc2aee27 Merge "Follow up: Ibd8dbb8ad8fe895ba9d14e00038ed08e99fbfe0c" 2025-07-03 06:22:03 +00:00
wu.chunyang
bb358f9402 Follow up: Ibd8dbb8ad8fe895ba9d14e00038ed08e99fbfe0c
Fix a bug where while the swift invokes the seek function,
the segment is already closed

Change-Id: I7e75014cca5ce7f631571f0bb121ab3a704a6e1d
Signed-off-by: wu.chunyang <wchy1001@gmail.com>
2025-07-03 09:20:54 +08:00
Zuul
e9c02dc19c Merge "Replace deprecated datetime.datetime.utcnow()" 2025-07-02 10:04:04 +00:00
Zuul
11e865a417 Merge "Fix trove-imager-loader.service not started" 2025-07-02 09:00:15 +00:00
Zuul
f477d18404 Merge "Use mariadb-backup binary name for backup" 2025-07-02 06:54:33 +00:00
Zuul
12930fabd7 Merge "Drop unused message constant" 2025-07-02 02:30:59 +00:00
wu.chunyang
f6cd2198f0 Fix trove-imager-loader.service not started
This service will pull database images after the system started.

Change-Id: I510adc33116760ec5af54a9158b76c9a628ef981
2025-07-01 02:57:51 +00:00
Zuul
f8bece7cce Merge "Add swift upload retry mechanism" 2025-06-30 06:50:20 +00:00
Zuul
aea712b404 Merge "Push datastore image to quay.io to support tests" 2025-06-30 06:42:09 +00:00