108 Commits

Author SHA1 Message Date
341bde30b9 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I6fd030ca884d5048a6612ee42ddaa4d267efb3e9
2022-04-14 07:05:03 +00:00
Mark Goddard
88dd02dc92 [release] Use OpenStack Yoga release
Switch all dependencies to use the OpenStack Yoga release.

This commit should be reverted on the master branch once the
Kayobe stable/yoga branch has been cut and RC1 released.

Change-Id: Ib7495c1bf79de8b1ea67e4a8652345c22e9d1a3e
2022-04-07 13:51:18 +01:00
Zuul
60d74df815 Merge "CI: separate image builds into a non-voting job" 2022-04-06 12:49:57 +00:00
Mark Goddard
8b3494e2a4 Revert "CI: Revert from UEFI to BIOS mode in TLS jobs"
This reverts commit b2e8e715538b4f7dcfda7d657497818828a66dae.

Reason for revert: Other measures were taken to reduce memory overhead.

Change-Id: I4987480b4ed1bd4bd95a0ae72861f471cc229e20
2022-04-06 07:00:38 +00:00
Mark Goddard
a7ee3ac5c8 CI: separate image builds into a non-voting job
Disk and container image builds tend to be fairly unreliable.
With 3 voting seed jobs all building images, this can introduce
instability into the CI jobs.

This change adds a non-voting kayobe-seed-images-centos8s job, which
does the following:

* Builds IPA images
* Builds an overcloud host image
* Builds a base container image

Similar Rocky and Ubuntu jobs are added to the experimental pipeline,
and may be run by commenting 'check experimental' in gerrit.

The existing kayobe-seed-* jobs no longer build images.

Change-Id: Idecda342f3ab86733e8d59061458d44af834dbb0
2022-03-31 08:52:17 +00:00
Zuul
4616c87010 Merge "Add support for Rocky Linux 8" 2022-03-20 22:20:24 +00:00
Michal Nasiadka
8e55ea08a4 Add support for Rocky Linux 8
Change-Id: If7d6e58b19f98ccb7cc4c209e458cb6f4f4765ad
2022-03-18 15:04:21 +00:00
Pierre Riteau
2d16a70e00 CI: Enable overcloud TLS job again
Change If483a6a6fb6d5b2c9b6b7dbd22939b0b46599538 which fixed the job
should have included this bit.

Change-Id: I22e2e6d361bc15fe7aa47ff833b3c5a525266221
2022-03-16 15:40:19 +01:00
Mark Goddard
07eb06755e CI: Pin ansible-lint to <6
The molecule job is failing with the following since the release of
ansible-lint 6.0.0:

    ModuleNotFoundError: No module named 'ansiblelint.prerun'

Pin ansible-lint to <6.

Also ignore changes to molecule-requirements.txt for jobs that don't use
it.

Change-Id: I00ea1b4cd57a22a1a0939ddc463ef336da2f0902
2022-03-15 15:10:01 +00:00
Pierre Riteau
5fb6362e25 CI: Disable TLS job until fixed
The overcloud job with TLS is failing frequently with the Tenks VM
triggering the OOM killer. Disable until we find a reliable fix.

Change-Id: If42d1f0580d8305a36dd4fd4431680559eb5d68f
2022-03-11 10:19:31 +01:00
Mark Goddard
f477473bd7 Revert "CI: drop jobs requiring kolla-ansible"
This reverts commit f00a65ead9f3e7431c7c54c2eb7132c2ff32a089.

Reason for revert: fix for kolla-ansible installation with
openstack.kolla has merged.

Change-Id: I361c68904eb66e9728b4a902a0998e4bc06d2dcd
2022-02-22 10:13:04 +00:00
Mark Goddard
3efc551e7e Install Ansible collections for kolla-ansible
This change uses the new Galaxy requirements file in Kolla Ansible to
install the openstack.kolla collection.

Cross-project dependencies on ansible-collection-kolla are supported.

Story: 2009854
Task: 44504

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/819430
Change-Id: Iac185dd2bbbca128c6cf71b2734e94b3e1c6133b
2022-02-22 09:23:35 +00:00
Mark Goddard
06c6191799 Install openstack.kolla collection
This patch adds the openstack.kolla collection to the Galaxy
requirements. It is installed from the OpenDev git repository. The
collection is not yet used by Kayobe.

Zuul cross-project dependencies on the ansible-collection-kolla
repository are supported (and used in this commit).

Story: 2009854
Task: 44503

Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/820165/
Change-Id: I91cbac839f816a00ac54bc4a350f44b5ae457cc3
2022-02-22 09:23:14 +00:00
Mark Goddard
f00a65ead9 CI: drop jobs requiring kolla-ansible
Drop Kayobe jobs until we support installing kolla-ansible with
openstack.kolla collection
(Iac185dd2bbbca128c6cf71b2734e94b3e1c6133b).

Change-Id: Ia6cc7e2f7a9a9fb0a1c3e0fdf07e7cdd1cbd431c
2022-02-22 09:17:18 +00:00
Mark Goddard
b2e8e71553 CI: Revert from UEFI to BIOS mode in TLS jobs
We keep hitting the OOM killer in the TLS job, and the switch to UEFI
mode in bare metal testing seems like the most likely culprit.

This change keeps in place most of the changes of
Id1b4e9775c834b8b97e086241ee8b247977225a2, but removes the override of
ironic_boot_mode in the TLS job.

Change-Id: Id35894be893183b0b84e6dacb81e1b72e4a828f9
2022-02-21 17:34:08 +00:00
Mark Goddard
b57b94bbad CI: test ironic UEFI boot mode in overcloud TLS jobs
Set the Ironic boot mode to legacy BIOS explicitly in Tenks config in
anticipation of an upcoming change to the default boot mode.

Override the boot mode to UEFI in the overcloud TLS job to improve
coverage. This requires enabling iPXE booting.

Depends-On: https://review.opendev.org/c/openstack/tenks/+/827479/

Change-Id: Id1b4e9775c834b8b97e086241ee8b247977225a2
2022-02-08 11:16:03 +00:00
Radosław Piliszek
fa5514c0d7 [CI] Drop unused nodeset
It is required for infra cleanup.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-December/026408.html

Change-Id: I4ab7b637baee8fa2c40aae510dcefb3fa84eecd3
2022-01-03 11:26:00 +00:00
Zuul
e61d8f24a6 Merge "[release] Set previous_release to xena" 2021-11-25 19:22:59 +00:00
Zuul
dbb2b06ee5 Merge "Revert "Use OpenStack Xena release"" 2021-11-25 19:19:59 +00:00
Zuul
e55fab9674 Merge "CI: add Infra VM jobs" 2021-11-11 22:20:57 +00:00
Mark Goddard
8df7b75c06 Ubuntu: add upgrade jobs to gate
Follow up to I69868dca6e1f3e4a1bf123c9e7f1f3412162b264

Change-Id: I7812c4b66bac30648c00054381703e390671a821
2021-11-10 09:19:17 +00:00
Mark Goddard
4bf7cdf1e3 [release] Set previous_release to xena
Also remove some Wallaby upgrade compatibility code in CI playbooks

Change-Id: I84e336bec37eac12c659c7a9d9fc4ddd191a379d
2021-11-09 17:31:53 +00:00
Mark Goddard
7f72fdbe55 Revert "Use OpenStack Xena release"
This reverts commit e0c42ea940717ae586e9d99258ef5bd829e4924c.

Xena has branched and is almost ready for release.

Change-Id: I9315110fa767ff62681486e436fca5503339cabf
2021-11-09 17:31:48 +00:00
Mark Goddard
104e383fc7 CI: add Infra VM jobs
Depends-On: https://review.opendev.org/c/openstack/kayobe/+/812670
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/805239
Depends-On: https://review.opendev.org/c/openstack/kayobe/+/813212

Change-Id: I7dbd643fec72223bfda20cbbc37809ae78073804
2021-10-26 09:35:17 +01:00
17c628db90 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: If1a94728c4a31557d7a2b615d25c6d2bc92e1970
2021-10-25 10:02:24 +00:00
Michal Nasiadka
e0c42ea940 Use OpenStack Xena release
Switch all dependencies to use the OpenStack Xena release.

This commit should be reverted on the master branch once the
Kayobe stable/xena branch has been cut and RC1 released.

Change-Id: Iee21230217ab1614977498dcbc2a18952ab7d64e
2021-10-15 11:08:38 +02:00
Mark Goddard
3b90164102 Ubuntu: add upgrade jobs in CI
Now that the previous release is Wallaby, we can add overcloud and seed
upgrades on Ubuntu.

Change-Id: I69868dca6e1f3e4a1bf123c9e7f1f3412162b264
2021-10-01 16:05:33 +02:00
Zuul
4faaebec0d Merge "[release] Set previous_release to wallaby" 2021-06-09 10:23:01 +00:00
Mark Goddard
1dc6d98be7 Revert "Use OpenStack Wallaby release"
This reverts commit 3f76d7d134d1f484d2ea21fddd0fbee00788e837.

The version of IPA images has been pinned to wallaby to ensure they are
compatible with the Wallaby Ironic in current Kolla master images.
Without this, bare metal tests fail with

    'Not found: Extension with id iscsi not found.'

Ironic removed the iscsi driver in Xena.

Change-Id: Ia4c70965d9f3f099046591bac7f702ee982fef71
2021-06-07 15:19:52 +01:00
Mark Goddard
8e825118c5 [release] Set previous_release to wallaby
This controls which release we are upgrading from.

Change-Id: Id4c3841d506d6b6ea082d0b9a294897761105dbd
2021-05-05 10:35:21 +01:00
7abf6360e4 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I59a2a1e00b148f20e5a01dced5dc818a56ed5056
2021-05-03 08:22:03 +00:00
Michał Nasiadka
3f76d7d134 Use OpenStack Wallaby release
Switch all dependencies to use the OpenStack Wallaby release.

This commit should be reverted on the master branch once the
Kayobe stable/wallaby branch has been cut and RC1 released.

Change-Id: I977943e81a79e4a40cca04d80d786ca49afd3d39
2021-04-26 08:45:42 +00:00
Zuul
83951b01ac Merge "zuul: add more irrelevant files" 2021-04-26 07:44:09 +00:00
Mark Goddard
2c21bb0172 CI: Switch to CentOS Stream 8
This change switches CentOS CI jobs to use CentOS stream 8 nodepool
images. Kolla containers switched to CentOS stream already.

Depends-On: https://review.opendev.org/c/openstack/kayobe/+/784926
Depends-On: https://review.opendev.org/c/openstack/kayobe/+/784853

Story: 2008795
Task: 42196

Change-Id: I02c76344bcb0b350fd96010becca52f259e1ee6f
2021-04-06 13:11:04 +00:00
Mark Goddard
2f0bb96c9f zuul: add more irrelevant files
zuul.d/* means we can change zuul config and not run all jobs. Zuul will
run jobs whose configuration has changed.

Change-Id: I59a9d7ef2769dc630455c00dd507a740fcfa58ff
2021-03-30 10:21:06 +01:00
Zuul
85046ede56 Merge "CI: Add Ubuntu seed job" 2021-03-10 16:07:51 +00:00
Zuul
6014af96c0 Merge "CI: add Ubuntu seed VM job" 2021-03-04 18:45:49 +00:00
Piotr Parczewski
534465797b CI: Add Ubuntu seed job
This commit adds Zuul job for deploying seed services against
Ubuntu 20.04 LTS (Focal Fossa).

Co-Authored-By: Mark Goddard <mark@stackhpc.com>

Story: 2004960
Task: 41807
Depends-On: https://review.opendev.org/c/openstack/kayobe/+/772929
Change-Id: I839cd1b9d63c9bbf3e0c75def76b8bff68637c75
2021-03-01 17:59:37 +00:00
Mark Goddard
7a99b88ebc CI: add Ubuntu seed VM job
* Need to specify bash for &> syntax

Story: 2004960
Task: 41806

Change-Id: Ic33d3e31096f7b0cec2e4e9284f5c1078a4ff04c
2021-03-01 17:59:31 +00:00
Mark Goddard
9c29d7d76c CI: Ubuntu host configure job
Issues:

* bond configuration not working on Ubuntu - disabled in CI test

Story: 2004960
Task: 41560

Change-Id: Ib124dc6f313a2a13fa509b10702c6141f102f2f9
2021-03-01 17:58:16 +00:00
Mark Goddard
9f41cefc15 CI: add Ubuntu overcloud deploy job
* Use source images
* Need to specify bash for &> syntax

Issues worked around:

* Manually configuring bridge via ip commands makes ifup fail to bring
  up the link. Adds a kayobe-network-bootstrap Zuul CI role that adds
  persistent configuration for the all-in-one network.

* bridge not active after interfaces role bounce. Added a pause, similar
  to https://github.com/michaelrigart/ansible-role-interfaces/pull/31

* fails installing docker python module for kolla user. WARNING: The
  repository located at mirror-int.ord.rax.opendev.org is not a trusted
  or secure host and is being ignored ERROR: No matching distribution
  found for docker===4.4.0 Adding trusted host for PyPI mirror.

* Tenks fails to create block devices - missing qemu-img (in qemu-utils)

* Tenks qemu emulator is different on Ubuntu

Remaining issues:

* Bare metal testing is unreliable on Ubuntu - some jobs see IPMI
  failures such as the following:

    ipmitool chassis bootdev pxe

    Error setting Chassis Boot Parameter 5\nError setting Chassis Boot
    Parameter 0\n

  Bare metal testing is disabled on Ubuntu for now.

Depends-On: https://review.opendev.org/766984
Depends-On: https://review.opendev.org/766958

Story: 2004960
Task: 29393

Change-Id: I1985efae7c18f55c3ff7c27c17d6242523904f3e
2021-03-01 17:57:51 +00:00
Mark Goddard
47bbb96b29 CI: retry overcloud jobs that land on vexxhost clouds
Jobs that test baremetal deployment are currently failing when run on
Vexxhost infrastructure. The seed VM job also has trouble on Vexxhost,
although does sometimes pass. It's not clear why yet, and we are still
investigating. Until we have a solution, fail in the pre phase when we
land on vexxhost clouds, in order to trigger the zuul retry mechanism.

Also use the normal number (5) of attempts for upgrade jobs, since these
no longer deploy the previous release in the pre phase.

Finally, incorporate a fix from
https://review.opendev.org/c/openstack/kayobe-config-dev/+/777076 to
allow this to merge. This part can be reverted once the
kayobe-config-dev patch merges.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-February/020685.html

Change-Id: Ie5ca04428855cbaf505adc57de76ea0b2d404080
2021-02-25 11:53:17 +00:00
Mark Goddard
c1c0f9d018 Revert "Use OpenStack Victoria release"
This reverts commit 074024d63f9cb364ca16a7a7f0ac94d77ee9466b.

Depends-On: https://review.opendev.org/763959

Change-Id: Ia5715c6914ac454081a95b6e1788e80f53c72e30
2020-11-24 15:12:03 +00:00
Mark Goddard
7226a1b8de CI: set previous_release to Victoria
This controls which release we are upgrading from.

Change-Id: I7abb6a25becde1e8855d1d177fafcb618789f0a1
2020-11-20 08:56:59 +00:00
ae93b364e5 Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ia29b3cfbedefca0fb6be1e37f0e0b92dc76f41bf
2020-11-18 17:17:44 +00:00
Michal Nasiadka
074024d63f Use OpenStack Victoria release
Switch all dependencies to use the OpenStack Victoria release.

This commit should be reverted on the master branch once the
Kayobe stable/victoria branch has been cut and RC1 released.

Change-Id: I7f1113577fd48aa0715b644cc66bfca197771ca6
2020-11-05 12:52:13 +00:00
Mark Goddard
081222753c CI: Add a CentOS 8 overcloud job with TLS enabled
Change-Id: I5fc49fb734d0fe94f5f75c66eb4c1a935774ef30
2020-10-01 09:49:21 +00:00
Mark Goddard
c16597aa2d Add seed VM provisioning CI job
Adds the kayobe-seed-vm-centos8 CI job to configure the Zuul VM as a
seed hypervisor, and use nested virt to provision a seed VM.  This
ensures that the seed hypervisor code paths are tested.

The job uses a Cirros image for the seed VM rather than the usual CentOS
cloud image. This is to reduce bandwidth required to download the image.
It does mean that the resulting seed VM cannot be used as a seed, but
nested virt would make this slow and unreliable anyway. Cirros does not
load cdrom drivers by default, so we add the configdrive as a disk
rather than a cdrom device.

Depends-On: https://review.opendev.org/617161

Change-Id: I2268a1ddf9a2870c713f32a40689e1686365aabd
Story: 2001655
Task: 6683
2020-06-16 17:19:47 +01:00
Zuul
8c312d0a35 Merge "CI: set previous_release to ussuri" 2020-06-16 12:50:07 +00:00
Will Szumski
0cc3703797 CI: set previous_release to ussuri
This controls which release we are upgrading from.

Change-Id: I16c86ce90d2b5a689e69681f12d0dbcb5c4cd6be
2020-06-12 13:51:28 +01:00