Commit Graph

88 Commits

Author SHA1 Message Date
Takashi Kajinami e91c3d6be4 Drop logic for old puppet-ceph branches
... because these were already removed.

Change-Id: Ibdac9f450d0dba2408e13fd2f2bc1f7c759ebd63
2024-03-08 18:23:24 +09:00
Takashi Kajinami a13cec705c Revert "Disable mariadb:10.11 module"
This reverts commit 5097189902.

Reason for revert:
The issue was fixed in CentOS.

Conflicts:
	playbooks/prepare-node-common.yaml

Change-Id: Ib9ed12a501f086c3d6d5285439fa630d2b16657c
2024-03-06 16:27:47 +09:00
Takashi Kajinami 7593423371 Revert "Exclude known bad puppet version"
This reverts commit 44834b77ba.

Reason for revert:
New puppet 7.29.1 was released and this contains the fix.

Change-Id: I982e7b6f9b4eae99a60c4c50960ff8b0b0fae37e
2024-03-06 16:27:02 +09:00
Takashi Kajinami 44834b77ba Exclude known bad puppet version
puppet 7.29.0 introduced a regression[1], which is causing pops errors.
Let's exclude the version until the new version with an appropriate fix
is released.

[1] https://github.com/puppetlabs/puppet/issues/9268

Change-Id: If1cf943890fbdeb40bb6a7a2a2d7acf44337ddf6
2024-02-28 12:32:29 +09:00
Takashi Kajinami 1b8d5e1032 Revert "CentOS: Exclude libvirt 9.10.0"
This reverts commit af11f63c25.

Reason for revert:
The issue was fixed in libvirt-10.0.0-2.

Conflicts:
	playbooks/prepare-node-common.yaml

Change-Id: Ib0eb10eb30cc59e923faf4607b55cbcadb9e7fe1
2024-02-22 10:51:06 +09:00
Takashi Kajinami 34e47384a9 Revert "Do not install pip in advance"
This reverts commit c43907c7ce.

Reason for revert:
This is still needed by cookiecutter job.

Conflicts:
	playbooks/prepare-node-common.yaml

Change-Id: I6071a2c1468cfa6fd5ce0784a4bbcae10e071b9b
2024-02-22 10:50:07 +09:00
Takashi Kajinami 5097189902 Disable mariadb:10.11 module
Recent update in CentOS enabled the mariadb:10.11 module but
the mariadb package from this module broke mysql_install_db[1].
In addition, the mariadb package in core CentOS repo is supported
during CentOS9/RHEL9 lifecycle, and we should not basically switch to
the module[2].

This disable the module until the 10.11 module is disabled (or they
decide to keep it for some reason but fix the bug).

[1] https://issues.redhat.com/browse/RHEL-25575
[2] https://issues.redhat.com/browse/RHEL-25802

Change-Id: I88c7abceb7b1121478fe645e587954e98cc7f935
2024-02-16 08:37:45 +00:00
Takashi Kajinami af11f63c25 CentOS: Exclude libvirt 9.10.0
... to workaround the known problem which will be fixed by 10.0.0[1].

[1] https://issues.redhat.com/browse/RHEL-20609

Change-Id: If93e527f64888cd5714971666f63c4f02f27f366
2024-02-07 10:58:00 +09:00
Takashi Kajinami c03f2eaf7a Unpin bundler
The bundler library has been pinned to 2.2.11 but this is quite old.
This attempts to remove that pin and use the latest version instead.

Depends-on: https://review.opendev.org/c/openstack/puppet-openstack_spec_helper/+/900787
Change-Id: I1575f435a1248762602c376a2fafca16b0a7958d
2023-12-19 07:56:57 +00:00
Zuul 8fd432c4e9 Merge "Do not install pip in advance" 2023-11-15 19:57:18 +00:00
Takashi Kajinami c43907c7ce Do not install pip in advance
... because the package should be installed when needed.

Depends-on: https://review.opendev.org/c/openstack/puppet-tempest/+/900618
Change-Id: Ie1f71f933cedbd1ab0361e68a09b11cf1da585d4
2023-11-10 23:21:26 +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 c2000f96e5 Drop incomplete use_puppetlabs
This knob is incomplete. We do not use package installation for lint,
syntax, unit and litmus tests and we always use puppetlabs package in
integration tests.

Setting use_puppetlabs results in conflict with the installation steps
in each jobs.

Change-Id: I9c84b73b68197d5d7d5764ed6a43cb22c3bca8e5
2023-11-09 22:17:28 +09:00
Takashi Kajinami e5ad7919f2 Remove logic for legacy Modulefile
We already replaced Modulefile by metadata.json, so this logic is no
longer used.

Change-Id: I16e313b01e4cdc8c0c2689e0e5a59f2f5a1a96c7
2023-10-12 23:09:38 +09:00
Takashi Kajinami 7ea649e243 CentOS: Stop installing yum
CentOS/RHEL replaced yum by dnf and yum is no longer available by
default. We (and the other projects) updated implementations to adapt
that change so we assume we no longer need the old yum command (which
is just an alias of dnf).

Depends-on: https://review.opendev.org/884307
Change-Id: I5152d1013a603e8d230748ff956d33507675450c
2023-05-25 12:03:38 +09:00
Takashi Kajinami 3fde8d655e Unpin rspec-puppet
Depends-on: https://review.opendev.org/883458
Change-Id: If88812340f50b952fb657e32e9f497f4e140e0f6
2023-05-18 13:19:56 +09:00
Takashi Kajinami ee4c7d17de Add non-voting Puppet 8 jobs
Puppet 8 was recently released. This adds a few non-voting jobs to
start testing our modules with that new major version.

Note that Puppet 8 requires Ruby 3.1, which is not available in Ubuntu
Jammy and CentOS 9 Stream by default. To meat that requirement we use
CentOS 9 Stream with the ruby:3.1 module enabled.

Change-Id: I0dc1d3a6c1b40c1e9cce636e9d41ec45e8bbf3ad
2023-04-28 16:59:00 +09:00
Takashi Kajinami 6225d065c0 Stop using deprecated --without argument
We've seen the following warning in CI jobs.

```
[DEPRECATED] The `--without` flag is deprecated because it relies on
being remembered across bundler invocations, which bundler will no
longer do in future versions. Instead please use `bundle config set
--local without 'system_tests'`, and stop using this flag
```

This updates the usage accordingly.

Change-Id: I9bddeea04ae0469b8074795b08f71ddd4ac6238e
2023-04-06 11:03:44 +09:00
Takashi Kajinami 93c841d379 Forcefully disables ceph repository in Ubuntu Jammy
This is follow-up of I5549e5edea33e720a7d5cf67c3056036daca52fc and
always disables ceph repository in Ubuntu Jammy. This is required to
disable the repository in litmus jobs.

Depends-on: https://review.opendev.org/871542
Change-Id: I79aefa3e9d19c34fa6f13c861008cce3f6cb97ef
2023-01-24 01:53:02 +00:00
Takashi Kajinami 1cd2ba1cff Ubuntu: Migrate jobs from 20.04 (focal) to 22.04 (jammy)
... because the Zed release is available for only 22.04.

Because Ruby 2 is no longer available in Ubuntu 22.04, this drops all
tests with Puppet 6, which supports only Ruby 2. (Ruby 3 is supported
since Puppet 7.8.0)

Also, this disables the separate ceph repository because the upstream
repository does not yet contain packages for Ubuntu Jammy. We install
ceph packages from UCA for the time being but would revisit this later.

Depends-on: https://review.opendev.org/c/openstack/puppet-nova/+/865105
Change-Id: Icbfe677dadb3dab96ea06afe650c524b4abbb753
2022-11-21 07:07:51 +00:00
Takashi Kajinami b3de4bea5f Remove logic for CentOS/RHEL < 9
... because now our modules support only CentOS/RHEL 9.

Change-Id: I5b2ad265ba84c3afbc5d6085173a8970181eb10b
2022-08-16 15:00:03 +09:00
Takashi Kajinami 799efc3b8e CentOS: Ensure python3-pip is installed
The python3-pip package is required in several jobs(eg. cookiecutter).
This change ensures the package is installed in CentOS.

Change-Id: I4732a601cb55e55de0c460f7f94682f4f6fd760c
2022-08-16 14:37:10 +09:00
Takashi Kajinami 946d86459f litmus: Make sure fixtures directory is cleared up
This is follow up of 3bb7ae978a .

We have seen several failures in the task to upload log files, and this
has been caused by circular symbolic links in spec/fixtures directory.
This change ensures the fixtures directory is cleared after gathering
logs into the logs directory, so that the directory is removed before
the upload task is executed.

Change-Id: I82cdc759ea03c2ad0c2537ec8951dc8a1f1c64ba
2022-08-10 12:56:19 +09: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 3bb7ae978a Capture service logs in litmus tests
This change allows gathering logs of OpenStack services in litmus
tests, so that we can check behavior of each services more in detail.

Change-Id: I9e0fe04e6786e1b8b73448c3d85255ffd39804ec
2022-07-15 05:48:41 +00:00
Takashi Kajinami 69adc6a870 CentOS: Disable SELinux in litmus jobs
Similarly to integration jobs, this change disables SELinux in litmus
job, to avoid direct failure caused by selinux denials. Denials can
be reviewed by audit.log captured as part of logs.

Change-Id: I4e1a41b62c0597e0f63793c35e00fda195d4f761
2022-06-10 17:45:26 +00:00
Takashi Kajinami f185fc8df3 Revert "CS9: Exclude the latest dyninst"
This reverts commit 91e9b23914.

Reason for revert: The new version of systemtap packages were released
and these resolve the package dependency issue.

Change-Id: I56453d2233fcf7ee91337ee95c94d33eebcb8269
2022-05-08 11:35:56 +00:00
Takashi Kajinami 91e9b23914 CS9: Exclude the latest dyninst
The latest dyninst is not compatible with the latest systemtap and
causes the following error during package update.

Error:
 Problem: package systemtap-client-4.6-11.el9.x86_64 requires
 libcommon.so.11.0()(64bit), but none of the providers can be installed

This excludes the latest dyninst until the updated systemtap packages
are released in CentOS Stream 9 repo.

See https://bugzilla.redhat.com/show_bug.cgi?id=2079892 for details.

Change-Id: I497cfc7568c5d44b3bb6b57e6ee14db670611936
2022-05-02 23:51:51 +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 f4429e07d8 Add swap space for integration job
... to avoid frequent memory allocation failure.

Change-Id: Id2012de86c066bef75e4151e502cd2aac890d794
2022-03-30 08:38:25 +09:00
Takashi Kajinami 9425333db8 Revert "Exclude known bad build of flexiblas in CS9"
This reverts commit fdebf5c953.

Reason for revert:
The fixed version was released and is now available in mirror.

Related-Bug: #1962506
Change-Id: I8fff91e3a5c2774425d966ead3b58c04f568ab38
2022-03-03 17:04:43 +00:00
Takashi Kajinami fdebf5c953 Exclude known bad build of flexiblas in CS9
As reported in [1] flexiblas-3.0.4-7 is bad and it's making all p-o-i
jobs to fail.

This patch is excluding this build from dnf configuration.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2058840

Related-Bug: #1962506
Change-Id: Iadb4cc8885de451ffc4aff1b57be824855483beb
2022-03-02 00:31:58 +09:00
Takashi Kajinami 3358d3cd95 Drop support for Fedora and CentOS/RHEL<8
... because these are no longer supported.

Change-Id: Ic7a538851801ad7b8851a9b83f01441c6fcf481b
2022-01-17 10:51:15 +00: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
Takashi Kajinami 88bd3f02bf Remove leftover about removed beaker job
Change-Id: Id0762d06e8613ddfc77a0c8efa2119b0204390ec
2021-05-05 20:46:57 +09:00
Wes Hayutin e8fe5bae37 keystone only puppet deployment
While evaluating new versions of a base
operating system it is handy to have a very
minimal deployment.

* configure_[images,networks] turned off
* tempest api tests only for keystone

Match TripleO's scenario000 deployment:
https://bit.ly/3tBNBor

Change-Id: Ie7ebee89b1ca00ca2fc50b7d1cbd2d8364daca46
2021-04-21 21:26:11 +09:00
Takashi Kajinami b033cd2f92 Replace the remaning usage of gem --no-ri and --no-rdoc
This change replaces the remaining usage of --no-iro and --no-rdoc
with --no-document, because these two options are no longer valid
in the later version especially available in Ubuntu Focal.

[1] ddb24d6a06

Change-Id: I42d7e2b5f3ab8ae9e020fa9f1ec6e355431e4814
2021-03-18 21:32:36 +09:00
yatinkarel e6f762f780 Collect logs in post when not collected in run phase
Noticed in https://review.opendev.org/780856 when
job times out logs are not collected.
Collected logs can be helpful for debugging the issue
for which job timed out.

Change-Id: I315447073294896b1af6b94db917a11a9dfee506
2021-03-17 18:53:41 +05:30
Takashi Kajinami 4d2d86e0df pin bundler to 2.2.11
It seems the latest 2.2.12 requires rake>13.0 installed and that
requirement doesn't work well in current our CI jobs.
Let's pin it to the previous version until we resolve the issue.

This change also removes the pin for the very old Ruby version.

Closes-Bug: #1917457
Change-Id: I62f35dce338ae186a217dd1d0a141d3a737243a0
2021-03-02 23:03:10 +09:00
Takashi Kajinami 7ea2e4f590 Use python3 instead of python2
Change-Id: If75c8d42891efa87ca1922e2189027b077e37fd9
2021-02-15 20:02:51 +09:00
Takashi Kajinami 811f30adf1 Install the proper version from puppetlabs
Now we always install puppet 5 when we install puppet from puppetlabs,
but that version should be selected according to job definitions.

Change-Id: Ifa0b15c46ebc6a70697df5b42b41ee1db51fa820
2021-01-24 08:13:42 +09:00
Takashi Kajinami d620c393ec Use el package instead of fedora package on CentOS8
Change-Id: Idfec192debc3841d91420aae6ca3a4cbcd1c83b1
2021-01-24 07:59:38 +09:00
Tobias Urdin 099722bca4 Remove beaker
Change-Id: Ie9efc39070db608185a358f817f1074fd4f5810f
2020-09-21 18:52:28 +00:00
Tobias Urdin 7d392fc095 Use Litmus for libraries jobs
Change-Id: I9a989ccf4c271cb519aa90445931628cc9664b7e
2020-09-19 00:17:45 +02:00
Zuul dd44f6f0f2 Merge "Add Puppet Litmus and remove Puppet 5 testing" 2020-09-08 20:03:05 +00:00
Tobias Urdin ddb24d6a06 Replace gem --no-ri and --no-rdoc with --no-document
The --no-ri and --no-rdoc option is removed in later versions.

Change-Id: I199e980fe13d4932e7d3f9f484ea3dc25e58f01c
2020-09-02 14:15:03 +02:00
Tobias Urdin ef3c5dc9b7 Add Puppet Litmus and remove Puppet 5 testing
This patch adds the needed bits to replace Beaker
with Puppet Litmus.

Since Puppet Litmus only supports Puppet 6 we
need to remove Puppet 5 testing. The probability
that we break Puppet 5 support (we have promised
to keep it in Victoria) this late in the cycle is
very low hence we should try to get this through.

When this is merged we can move all modules over
to use Litmus and then cleanup all Beaker things.

Change-Id: I73f18345ed3e6481f86ad7af7d68f66b19d2250e
2020-09-01 15:06:37 +02:00
ZhongShengping ea99adf85d Missing pip package for Ubuntu
Change-Id: I237fd20e4d4b43e9da054dd161f84059613d3080
Closes-Bug: #1892297
2020-08-21 16:20:38 +08:00
Takashi Kajinami 25bff52a31 Force overwriting existing ssh keys
Change-Id: I5acda250e2c134918d8c22e8b010e20cfc3f9b33
2020-07-21 20:37:05 +09:00
Tobias Urdin a69725e973 Ensure key format is PEM in beaker tests
Change-Id: If77a8b05f74a65466fb79d7c066e889540acd980
2020-07-16 20:24:22 +02:00