16 Commits

Author SHA1 Message Date
wu.chunyang
e1b72b5115 [CI]: Add support for Ubuntu Jammy
Run tests on Ubuntu Jammy in zuul.
refer to:https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: Ib12b92ed4ddd9133ad7a3d079534d02f403dbdc0
2023-09-01 15:29:04 +08:00
wuchunyang
2f755b64b3 Add network isolation for trove
this PR adds a network_isolation config option for trove,
with network_isolation enabled, trove guest agent will
plug the user-defined port to database container by
docker host_nic network driver which is implemented in this PR.

docker host_nic network driver is a simple driver to plug host
nic to a container. this driver supports ipv4,ipv6 and dual-stack.

for more details please see the story.

story: 2010733
task: 47957

Change-Id: I35d6f8b81a2c5e847cbed3f5bc6095dc1d387165
2023-08-03 11:35:04 +00:00
Katarina Strenkova
f5eb742616 Replace deprecated terms
Following up on	the usage of inclusive jargon [1] and to ensure
consistency in code, there is a need to replace deprecated term
tempest_test_blacklist with a new term tempest_test_exclude_list.

[1] https://review.opendev.org/c/openstack/tempest/+/768583

Depends-On: I68cc25b9126115171f10637b742fa3d503394ad5

Change-Id: Ia184c0a08f2ada36154e085bb31707b24f6c562b
2023-08-01 11:34:01 +00:00
wu.chunyang
22df03a0c6 CI: fix trove tempest postgresql job
this change increases the tempest test timeout to 3600s

backup_test is often not finishing in 20 minutes in the gate.

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

Change-Id: I7ee2c69af82a19846931e771e846a97c042ffa15
2023-06-16 11:48:18 +08:00
wu.chunyang
09fd606163 synchronize guest logs to controller node
use rsync to synchronize guest logs to the controller node so that we can
find the logs even after the instance is deleted

Add a guest-log-collection timer, this timer triggers
guest-log-collection service every 10 seconds

Change-Id: I264235ce7b7df585358654c46bdac4dcd743fb3d
2023-06-13 10:39:25 +08:00
wu.chunyang
06c8ed94ab Revert "Add debug log for CI tests"
This reverts commit 49c16b889b68039b068eb420f345efdfaafcc1cc.

Reason for revert: this patch doesn't work as expected

Change-Id: I398dd7ac8c628d19b75693dcac0521346e8f5d64
2023-06-07 06:25:10 +00:00
wu.chunyang
49c16b889b Add debug log for CI tests
When the CI fails, specifically related to the Trove guest agent,
we are unable to find a way to debug it.
this patch synchronizes the guest agent logs to controller nodes.

Change-Id: I24695238075f9b1354ee4c54673d021de481a868
2023-06-06 15:43:44 +08:00
wu.chunyang
7d4b17339e Test 5.7.29 for mysql datastore
we test a exact mysql version in CI

Change-Id: Icb0fe4b7357805410de9e8c9f6c9c8a5284827c0
2023-03-31 13:51:26 +08:00
wu.chunyang
05522c766f Ignore more files for zuul jobs
Change-Id: Ib00fdb1b4e64b5e0c017024d2772e236ce6dc8bc
2023-03-22 23:26:06 +08:00
wu.chunyang
1f1e2becfe Using local registry in devstack.
This patch runs a registry container during the installation of
devstack

Change-Id: I5e5a89cd9c65d1ea5b47fece985dbc044bfdec5e
2023-02-26 17:27:17 +08:00
wu.chunyang
3134fd478d Follow up: CI: test build docker image
The previous patch forgot to push the tarball to openstack website.
This change adds a task to push it and replaces hard quote with soft
quote

Change-Id: I8619621b4348bff26808104e4f9e070c64429c3f
2022-11-23 18:57:18 +08:00
wu.chunyang
5a960b37a4 CI: test build docker image
Change-Id: Ia8ce0d8ec8f099501a39dc8bdff53a394bd53fea
2022-11-18 14:25:22 +08:00
wu.chunyang
8ea76a145a Drop bionic support
drop the support of bionic.
ref:
https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: I6dd126d49196af30bd5578c6aefa90fff9f1d5c1
2022-08-12 06:51:00 +00:00
wu.chunyang
2f8f2f8d92 Add ubuntu focal support for trove guest image
story: 2009996
task: 45072
Change-Id: Ib3613119dc136c8a0d96a27c52e0bc1874065775
2022-04-19 09:49:03 +08:00
wu.chunyang
4d8e55c5fe Add image build test on Centos8 stream
build image on Centos8 stream

Change-Id: I759d482430eaf0e9304986c9fad047cbd44c09ca
2022-04-17 16:53:52 +08:00
wu.chunyang
c0ad3f8c64 WIP: add guest image build check
This PR adds trove-guest-image-build check in ci.

Change-Id: If512cb7c094d14850555215d412b8e7b418c35ce
2022-04-13 22:51:20 +08:00