stable/2024.1
Commit Graph

310 Commits

Author SHA1 Message Date
Takashi Kajinami
47ae381c99 Fix wrong command to install n-t-p
Change-Id: I88782bc32ecc6cdee47982a67dac8160112d0a3e
(cherry picked from commit a24472d3d8)
(cherry picked from commit e880c95ee0)
2025年04月17日 15:37:53 +00:00
Takashi Kajinami
1f1263d16b tempest: Avoid unnecessary package installation
When tempest should be installed from source, we don't (shouldn't)
install tempest packages.
Depends-on: https://review.opendev.org/917083
Change-Id: Ic22610b897f6e3de8d9d0de11cc387314cdb0d7b
(cherry picked from commit 0ff08bc9aa)
2024年04月26日 15:43:59 +00:00
Takashi Kajinami
cddbe5e38b Remove puppet-ec2api
The EC2-API project was marked inactive, because of lack of appropriate
maintenance effort[1] and the project was excluded from Caracal
deliverables. This removes testing with the puppet-ec2api module
because we are also retiring this module for the unmaintained project.
[1] https://review.opendev.org/c/openstack/governance/+/902625
Change-Id: Ic8c89e096e9b3acd5a71ec0be1bff20936977bcf
2024年02月28日 15:28:07 +09:00
Takashi Kajinami
94c7d321e7 Enable Neutron TaaS
This enables the Tap-as-a-Service plugin in neutron to test the
deployment support we recently added to puppet-neutron.
Depends-on: https://review.opendev.org/906016
Change-Id: I1bed97477fa737733d5b59b7de085e61494c69f9
2024年01月20日 20:08:04 +09:00
Takashi Kajinami
8e8eacbb03 Simplify tempest tests config
Telemetry integration test is explicitly enabled but it is later
disabled. We can just skip enabling it.
Change-Id: I48aedb22ac32d651db4029330d54ce25eb314764
2023年12月14日 02:51:36 +00:00
Zuul
b286d250b6 Merge "Ignore case when comparing boolean values" 2023年11月18日 04:05:58 +00:00
Takashi Kajinami
4690694faa Ignore case when comparing boolean values
In case an environment variable is set to a boolean value in ansible,
the actual value is capitalized(True or False). We have to ensure that
case is ignored when comparing such value with a reference.
Change-Id: Ic51e966acc7e6939dd17d60ab5e3971bd05e77d5
2023年11月17日 03:04:01 +09:00
Takashi Kajinami
85f3a7a520 Revert "Ubuntu: Use packages to install tempest"
This reverts commit 9bdb8fc1f5.
Reason for revert:
This change switched package installation source to upstream source
in fact. Some of the plugin tests are still failing during the attempt
to re-swtich the installation source to distro packages so it's
better to keep using source installation for Ubuntu now.
Change-Id: Icffbf68ce37730ead26758f8c48b3d49b3011fb2
2023年11月17日 00:44:30 +09:00
Zuul
f8d939eacc Merge "Ubuntu: Use packages to install tempest" 2023年11月15日 19:56:44 +00:00
Zuul
9d9adcf6d1 Merge "Globally disable EPEL" 2023年11月15日 17:13:29 +00:00
Zuul
7c80d35846 Merge "Keep puppet.log created at repository setup" 2023年11月15日 17:13:27 +00:00
Takashi Kajinami
9bdb8fc1f5 Ubuntu: Use packages to install tempest
Ubuntu provides tempest plugin packages in universe. We can use these
instead of installing tempest from source.
This allows us to have better test coverage.
Depends-on: https://review.opendev.org/c/openstack/puppet-tempest/+/900696
Change-Id: Iccd10512b83635b25c60c899802d2ed7b97a48a6
2023年11月11日 06:50:49 +00:00
Takashi Kajinami
f960aa6f9f Ubuntu: Drop unnecessary exclude list of mistral test cases
We do not run mistral-tempest-plugin tests now, thus these test cases
are not run. These currently succeeds in CentOS and we have not clear
clue that these are broken in Ubuntu/Debian.
Change-Id: I594a63960a837c6469186495d7162ab247debe04
2023年11月11日 12:09:35 +09:00
Takashi Kajinami
9f3cb023b1 Globally disable EPEL
We don't require EPEL to install the tool packages.
In case it's needed to deploy services then it should be enabled in
the repo setup steps.
Change-Id: I7f499e16efd69b7822ed3a7db2c72a1d59e9bf3d
2023年11月10日 14:42:20 +09:00
Takashi Kajinami
827bedca6c Keep puppet.log created at repository setup
In integration tests we first run puppet to configure repositories and
then run puppet two times for testing. However we don't move the log
after the first repository configuration, and the file is overridden
by the first deployment run.
This ensures the file created during repository set up is being moved
so that we can review the full records.
Change-Id: Ia3f94d89423bc7c4b9a95f6b4ddb760fdcacfcee
2023年11月10日 01:15:11 +09:00
Takashi Kajinami
02e65c7fc1 Refactor puppet installation in integration job
This splits the existing function to repository set up and actual
package installation and adds an additional knob to skip setting up
puppetlabs repo (and install puppet from distributions).
Change-Id: I3568883537e8cc29f234754c78fc2425ad6a8f4b
2023年11月09日 23:37:51 +09:00
Takashi Kajinami
753bae7ca2 Bump cirros version
The current version is quite old. Let's use the version currently used
in devstack jobs.
Change-Id: I2013bb2cba019574efc84045e60da6ce0feaedda
2023年10月15日 15:02:40 +09:00
Alfredo Moralejo
7015c8295f Update master jobs to use Ceph Reef
Ceph Reef has been released recently [1]. It has been requested by the
storage specialist to move openstack to it from Antelope on [2]. This
patch is moving p-o-i jobs to use Ceph Reef from CentOS Storage SIG
[1] https://docs.ceph.com/en/latest/releases/reef/
[2] https://review.rdoproject.org/r/c/rdo-infra/ansible-role-dlrn/+/49997
Depends-On: https://review.rdoproject.org/r/c/rdo-infra/ansible-role-dlrn/+/49997
Change-Id: I05f241235ef13b66ccd180bf21d1cfbd4f524de8
2023年09月18日 12:09:39 +02:00
Takashi Kajinami
85937d4666 Enable manila with cephfs driver
This enables manila with cephfs backend in scenario 004 test.
Depends-on: https://review.opendev.org/884461
Change-Id: I60d6ce301cf714cd918becaf493eb7396ec9631a
2023年05月30日 01:14:52 +00:00
Takashi Kajinami
1fa65898cf Exclude system packages from tempest virtualenv
In Debian/Ubuntu we install tempest from source, thus all system
packages should be excluded to avoid conflicts between system packages
and packages installed by pip.
Change-Id: I2947d21ee75b53c3916b50151a401d26180590c9
2023年04月03日 17:09:27 +09:00
Takashi Kajinami
e3150c2c92 Remove outdated comment about Mistral tests
Smoke tests of Mistral were re-enabled by [1] a while ago so we have
to remove this outdated comment.
[1] 388a029604
Change-Id: I69ffb860aef068dfd044f9262e61f78d1d0a3cfa
2023年03月24日 14:20:54 +09:00
Takashi Kajinami
14d12f96c7 Magnum: Enable API test
This enables the basic API test of Magnum so that we can ensure API and
the conductor services are running.
Also, recent magnum packages require python-werkzeug[1] and we don't
have to install the package additionally. This removes the outdated
(and unused) workaround.
[1] bafe87ce31
Change-Id: I5eb150def6744fb52043ef8413e72514d13f9c2e
2023年02月24日 13:40:52 +09:00
Alfredo Moralejo
00d2805a44 Switch to Ceph Quincy from Pacific
Change-Id: I1fd10e3a25d26f69ffb386661446d5629af925f3
2022年09月14日 17:40:04 +02:00
Zuul
89a5f41266 Merge "Enable heat-tempest-plugin tests" 2022年09月12日 16:58:35 +00:00
Zuul
3a003f1307 Merge "Re-enable object storage tests in Ubuntu" 2022年09月09日 10:50:31 +00:00
Takashi Kajinami
f7263a778e Enable heat-tempest-plugin tests
... to ensure basic heat functionality.
Depends-on: https://review.opendev.org/846018
Change-Id: I8294f1bdc21f82947c1d9533184de1a0be569fb4
2022年09月08日 14:46:12 +09:00
Zuul
839105efe9 Merge "Enable manila in integration job" 2022年09月08日 05:40:19 +00:00
Takashi Kajinami
369419b64c Re-enable object storage tests in Ubuntu
These tests were disabled in the past but the problem no longer exists
in recent versions.
Change-Id: I8e304a13b0ebd20e7005e7369176208cca02e041
2022年09月08日 13:44:05 +09:00
Zuul
055313cb8b Merge "Clean up logic for CentOS 8" 2022年09月07日 19:14:50 +00:00
Zuul
b157a5dfdd Merge "Fix outdated test case name for volume backup tests" 2022年09月07日 19:14:46 +00:00
Takashi Kajinami
0cc2002481 Clean up logic for CentOS 8
... because our modules no longer support CentOS 8. This also bumps
the default python version from 5 to 6 because master no longer
supports Puppet 5.
Change-Id: I941672eea72d9ee95ec571d0554cd86ded859d4f
2022年09月06日 10:50:24 +09:00
Takashi Kajinami
d8e9722074 Fix outdated test case name for volume backup tests
Cinder V2 API tests were renamed long ago[1] and
the VolumesBackupsAdminV2Test no longer exists.
[1] e8afb8c2c5f948ee45e1c7edab4d82516920bd9a
Change-Id: I7ada16c0db4246facc3a1c4745cef4763479414b
2022年09月05日 15:57:01 +00:00
Takashi Kajinami
4f09ea96df Enable manila in integration job
... to validate basic functionality of Manila deployment in CI.
Depends-on: https://review.opendev.org/855195
Depends-on: https://review.opendev.org/855217
Depends-on: https://review.opendev.org/855719
Change-Id: Iabf85c7da0cdca1378ee52882fc6981a273441b9
2022年09月05日 15:56:52 +00:00
Takashi Kajinami
a8ec973cec Skip lsb_release in CentOS
... because the command is not available.
Change-Id: Icb5c507593cc609df08707394512268c84af39f0
2022年09月05日 15:56:00 +00:00
Takashi Kajinami
6bd8016a19 Enable scenario tests to test Barbican
Change-Id: I8d25953dc77f449a3b6cdf63be850b157014bec2
2022年08月22日 02:12:34 +09:00
Zuul
c5b37d3ad5 Merge "Glance: Test cinder backend" 2022年08月02日 14:23:01 +00:00
Zuul
c777e42444 Merge "Enable dashboard scenario tests" 2022年08月02日 13:59:45 +00:00
Takashi Kajinami
b89202e267 Glance: Test cinder backend
This enables cinder backend in Glance in scenario 005 job so that we
can test the deployment architecture as part of integration jobs.
Depends-on: https://review.opendev.org/844813
Change-Id: I22d48bc7616caf66157110d6f3f5d66d943aee43
2022年08月01日 20:22:13 +09:00
Takashi Kajinami
69f7ee3189 Enable dashboard scenario tests
Currently there is no test to check functionality of Horizon, and
because of this missing test coverage we didn't notice a syntax error.
This change attempts to re-enable the dashboard scenario test to ensure
horizon configurations can be loaded without error.
Related-Bug: #1965970
Change-Id: I30dd59631cc8a8ae5345c537058d8e08ed827ad3
2022年07月31日 02:16:41 +09:00
Zuul
71ae261316 Merge "CentOS 9: Switch back to puppetlabs packages" 2022年07月14日 10:47:18 +00:00
Zuul
c6d6eaab28 Merge "Revert "Fix unprivileged ping"" 2022年07月13日 06:08:10 +00:00
Takashi Kajinami
7f32dfabc7 Revert "Fix unprivileged ping"
This reverts commit 50c2dab063.
Reason for revert:
The issue was already resolved in the latest CentOS 8/9.
Change-Id: I9236986dcf5bc0e893ede89a2f8c67f4f2587ec8
Related-Bug: #1957913 
2022年07月09日 16:10:19 +00:00
Takashi Kajinami
f94e042df5 CentOS 9: Switch back to puppetlabs packages
CnetOS 9 packages were already released in the puppetlabs repo.
This removes the workaround to use RDO packages, which was earlier
added to run integration jobs on CentOS Stream 9 before the packages
were released[1].
[1] f384effdb4
Change-Id: I0b9529b6a4f1c4beefa72b6e32b586b1ac9bea73
2022年07月10日 01:02:49 +09:00
Takashi Kajinami
28bc055fb9 Integration jobs: Increase default swap size
This change increases default swap size, installed by the run-test.sh
script, from 4GiB to 8GiB, because now we see frequent failures caused
by memory shortage.
This removes the separate ansible task to create an additional swap
space (added by f4429e07d8 ) because now
the enough amount is created by run-test.sh.
Change-Id: I24ebef234c79e636b24e47535732aea74e52a241
2022年03月30日 13:54:54 +00:00
Takashi Kajinami
682e8a0dda Skip searching selinux alerts
In integration job, there is a task to search selinux alerts but any
alerts don't effectively make the whole job fail, and we often observe
timeout caused slow sealert command with many denial records.
This change disables the task until we fix all of the current denials.
We capture audit.log in CI so we can review that raw file to find out
any denials.
Change-Id: Ic850acfb2b576224c194ceb361e690c5fbf89838
2022年02月22日 15:56:21 +09:00
Takashi Kajinami
8f2bc1aa61 Enable Octavia in scenario004
This change enables Octavia in scenario004 integration job so that we
can validate deployment of Octavia by puppet-octavia.
Because of limited resource in CI, noop driver is used and all of
backend operations like amphora instance management are disabled. This
is the same method as is used in a CI job in Octavia itself.
Depends-on: https://review.opendev.org/828063
Change-Id: I627872dd81d5ca576ea33ecf4755bf8de43df76a
2022年02月08日 22:57:51 +09:00
Takashi Kajinami
dab263aae2 Tempest: Update options to include/exclude tests
Some options to include/exclude specific tests have been updated[1] in
Tempest and old options are deprecated now.
[1] dc84423b7294a19cbea4bf1e4b75a59625dec1e9
Change-Id: I6f766331e7e4f2f0b97ca4e9a3e655a480ecb28f
2022年02月04日 01:03:57 +09:00
Takashi Kajinami
50c2dab063 Fix unprivileged ping
Recent iputils in CentOS 8 Stream removed capabilities on the ping
binary and requires the change in net.ipv4.ping_group_range to allow
unprivileged users to ping, however the change in systemd[1] is not
yet shipped.
This is a temporal workaround and sets the kernel parameter. This can
be removed once the fix is shipped as part of a new systemd package.
[1] https://github.com/redhat-plumbers/systemd-rhel8/pull/246
Closes-Bug: #1957913
Change-Id: I6fc0e7a62106c53d983818fc8c8b9d1e1cdebb31
2022年01月14日 20:25:59 +09:00
Alfredo Moralejo
f384effdb4 Add support for for CentOS Stream 9
CentOS has published the official mirror for CentOS Stream 9 [1]. In RDO,
we are working to get ready for it ASAP and we have the required repos
to run p-o-i on CS9 [2].
This patch is adding support to CS9 in p-o-i repo with the required
fixes. Also is adding integrations jobs for scenarios 0-4 and adding
them as non-voting. Note that we don't have promotion pipeline working
so i think it's better to not make it voting yet.
[1] http://mirror.stream.centos.org/9-stream/
[2] https://trunk.rdoproject.org/centos9-master/report.html
Change-Id: I9da46a6aaef3559b24d5a47fb0bde9ae1d09abdb
2021年11月23日 22:44:14 +09:00
Joel Capitao
ceb720bd8c Switch to Ceph Pacific from Octopus
As discussed in [1] we'll go along with Pacific with Xena
on CS8.
[1] https://review.rdoproject.org/r/c/rdo-infra/ansible-role-weirdo-puppet-openstack/+/35706
Change-Id: Iafbcd03b03adfb8597f5a7025dd84574a08b952f
2021年09月27日 10:08:54 +02:00