- Apr 28, 2021
-
-
Pierre Riteau authored
The centos binary images now include nova 23.0.0 packages. Change-Id: I0c7d57231a63e1f9ff3fdcdef1be7fff57160e08
-
- Apr 21, 2021
-
-
Mark Goddard authored
Based on the discussions from recent Kolla meetings [1][2][3], we established that, to avoid the DockerHub pull limit issues in our CI, we will try using quay.io. The images have already been published via Kolla CI for master/Wallaby [4] and Victoria [5]. This change applies only to CI. The user-facing move is yet to be discussed. [1] http://eavesdrop.openstack.org/meetings/kolla/2021/kolla.2021-03-17-15.00.log.html#l-102 [2] http://eavesdrop.openstack.org/meetings/kolla/2021/kolla.2021-03-24-15.00.log.html#l-137 [3] http://eavesdrop.openstack.org/meetings/kolla/2021/kolla.2021-03-31-15.01.log.html#l-50 [4] https://review.opendev.org/c/openstack/kolla/+/781130 [5] https://review.opendev.org/c/openstack/kolla/+/781899 See related Kolla Ansible change I22e11a994801447526ac26fc2815a1679876225e Change-Id: Id6690dc9a486af0ed7d42555d84cf77d6de0b6af
-
Mark Goddard authored
This change adds support for policy-based routing via systemd-networkd. Due to differences in the configuration mechanism, routing policy rules are configured via dicts for Ubuntu, while remaining as strings on CentOS. Ideally we would support both formats. Story: 2004960 Task: 42217 Change-Id: I77aec0160eb7e4dd763326bfe6e3d9a44b248108
-
Mark Goddard authored
This change adds support for network configuration via systemd-networkd on Ubuntu systems. This is implemented via an Ansible Galaxy role, stackhpc.systemd_networkd which was forked from aruhier.systemd_networkd. Several improvements were made in https://github.com/stackhpc/ansible-role-systemd-networkd/pull/1, including: * Add support for removing unexpected config files * Use become where necessary * Refactor config generation into a single task to improve performance The systemd_networkd role does not add much abstraction on top of the systemd-networkd configuration file format, which provides a lot of flexibility at the expense of additional code in Kayobe. This code is implemented as filter plugins, similarly to the existing MichaelRigart.interfaces role. This patch includes support for: * Ethernet interfaces * bridges * bonds * VLANs * virtual Ethernet pairs (to connect Linux bridges and OVS bridges) * static IP addresses * static routes * MTU Some network attributes are currently not supported for systemd-networkd: * rules * route options * ethtool_opts * zone * allowed addresses Story: 2004960 Task: 41881 Change-Id: I248b5bb9ce5a80a07a2a311cb3aca6daca920720
-
- Apr 14, 2021
-
-
Pierre Riteau authored
Change-Id: Idf5419d9020d491c310d2c09c495b0a420578214
-
- Mar 25, 2021
-
-
Pierre Riteau authored
Change-Id: Iff105f9a491dc6277586c1d53b84747c38feb585
-
Pierre Riteau authored
The previous release has not been Rocky for a while. Change-Id: Ic082ed08614c0f90d82ff211ac3dd19ed78d2bf5
-
- Mar 10, 2021
-
-
Mark Goddard authored
The nodepool images include CirrOS images. Also update to newly released 0.5.2 image. Change-Id: I95fc2c3873c8cd17edf928f613a06d2154196786
-
- Mar 01, 2021
-
-
Piotr Parczewski authored
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
-
Mark Goddard authored
* Need to specify bash for &> syntax Story: 2004960 Task: 41806 Change-Id: Ic33d3e31096f7b0cec2e4e9284f5c1078a4ff04c
-
Mark Goddard authored
Issues: * bond configuration not working on Ubuntu - disabled in CI test Story: 2004960 Task: 41560 Change-Id: Ib124dc6f313a2a13fa509b10702c6141f102f2f9
-
Mark Goddard authored
* 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
-
- Feb 26, 2021
-
-
Mark Goddard authored
This partially reverts commit 47bbb96b which triggered a retry on vexxhost clouds. The issue was introduced in Ie8fd965165e8d347d27528a2c16d0647e412ccdc, which applied some fixes for CentOS 8.3, and inadvertently removed the Tenks variable that forces the use of qemu for 'bare metal' VMs. This lead to autodetection of KVM, which does not work well when nested in all CI cloud providers. This change fixes the issue by forcing the use of qemu for the overcloud once more. It also adds a similar option for the seed VM job. Change-Id: I6bc8da2b8da903e09b97df8cd95c68a562c11db9
-
Pierre Riteau authored
This is now merged into kayobe-config-dev [1]. [1] https://review.opendev.org/c/openstack/kayobe-config-dev/+/777076 Change-Id: I87b63966b55f04f80fd0255fbf2732d527732187
-
- Feb 25, 2021
-
-
Mark Goddard authored
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
-
- Feb 11, 2021
-
-
Pierre Riteau authored
Change-Id: Id5ed0b594d6270c4a03606caa776bbb291be2694
-
- Feb 09, 2021
-
-
Piotr Parczewski authored
This workaround is no longer needed for current CentOS 8 images as resolv.conf file comes now empty. Moreover, the workaround has been preventing seed host configure from running successfully on Ubuntu hosts. Change-Id: I30e34e3c58db3f3a93a07f3d6d53671286e4260e
-
- Feb 05, 2021
-
-
Pierre Riteau authored
This requires stackhpc.os-images v1.10.0 or newer, for compatibility with CentOS 8 when SELinux is enabled: we disable SELinux, but without rebooting it stays enabled. This Ansible role was updated to v1.10.2 in master and stable/victoria by I5efdbd52556721914fe69d7c6ba454b2c721b643, for another reason. Remember to bump the requirement when backporting to earlier releases. It also needs changes in the way we interact with Bifrost to avoid using the env-vars file which has been removed. This is implemented by change I25078e69acdf41a4ef9957f99fe5047de54b778d. Finally, it requires building seed deployment images only after deploying Bifrost, because the task copying images onto the seed expects /etc/kolla/bifrost to exist. We also copy log files to identify issues when the job fails. Change-Id: I4719b4d397c01b35c78cb84c6d686dd27742d1c0
-
- Dec 16, 2020
-
-
Mark Goddard authored
* Bump stackhpc.libvirt-host to v1.7.1. On seed-hypervisors installed using CentOS 8.2 or earlier, interaction with libvirt may fail due to libgcrypt being incompatible. See https://github.com/stackhpc/ansible-role-libvirt-host/issues/42 * Bump MichaelRigart.interfaces to v1.9.2. The CentOS 8.3 cloud image includes an ifcfg-ens3-1 file. See https://github.com/michaelrigart/ansible-role-interfaces/pull/93 * Previously a second libvirt daemon was installed by Tenks on the host, however changes in libvirt 6.0.0 to separate libvirtd into multiple daemons do not allow for customisation of the PID files used by the new daemons. This leads to a conflict between the container and host daemons. Update the Tenks config to use the containerised Nova libvirt daemon. This depends on a change to the stackhpc.libvirt-host role: https://github.com/stackhpc/ansible-role-libvirt-host/pull/44 * Not CentOS 8.3 related, but tox jobs are now failing on python dependencies. Remove upper limits from docker and paramiko. * Not CentOS 8.3 related, but Bifrost has enabled authentication by default. We are not ready to support this, so override it. Story: 2008429 Task: 41378 Change-Id: Ie8fd965165e8d347d27528a2c16d0647e412ccdc
-
- Nov 24, 2020
-
-
Mark Goddard authored
For some reason this configuration was omitted or incomplete in these jobs. Without this configuration, Kayobe development configuration adds eth1 to the breth1 bridge if it exists, or leaves the bridge without a port otherwise. This can lead to network connectivity issues, if the IP address of eth1 becomes inaccessible when it is added to breth1. This change fixes the issue by ensuring that the dummy1 interface exists, and configuring the aio network to add it to breth1 as a port, instead of eth1. Change-Id: I47115e5d8d1fb448cb9e46dc43b56c64987e428b
-
- Oct 01, 2020
-
-
Mark Goddard authored
Ironic is now disabled by default in the overcloud. This brings Kayobe's default set of services into line with Kolla Ansible. For environments using Ironic in the overcloud, set kolla_enable_ironic to true in kolla.yml. Story: 2008207 Task: 40991 Change-Id: I33eb4fa534847e199a599350b525d4762a2beaac
-
Stig Telfer authored
The flag dnf_install_epel was being used to predicate installation of the EPEL RPM repo package, but not preventing the installation of configuration for access to EPEL. This small patch completes the job. Updates the overcloud host configure CI job to install EPEL mirrors, since it was previously relying on this buggy behaviour. Change-Id: Ib417837d0772338b16ea9f7f2540549f277d5de8
-
Mark Goddard authored
Change-Id: I5fc49fb734d0fe94f5f75c66eb4c1a935774ef30
-
Mark Goddard authored
This reverts commit bb9a595e. Change-Id: Icd7b0f3b02bf3f22468daa8893c043ac9f3be4d6
-
- Sep 30, 2020
-
-
Mark Goddard authored
Ironic has an issue where nodes will be switched to use the direct deploy interface during upgrade, if it is enabled. This should be fixed via https://review.opendev.org/755295, after which this patch should be reverted. Change-Id: I55af5d979bdbee9dd963845204c2f082fa7b27d7
-
- Jun 16, 2020
-
-
Mark Goddard authored
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
-
- Jun 12, 2020
-
-
Mark Goddard authored
Switches to use the IPA builder project for building IPA images. Switches the IPA images used by default to CentOS 8 based image. Changes the file extension of the IPA kernel image from vmlinuz to kernel. Story: 2007070 Task: 37953 Change-Id: I82fc455f41f48dacb453e135870dd776895d7c99 Story: 2006574 Task: 39485
-
- May 29, 2020
-
-
Mark Goddard authored
Change-Id: Icb57b908be9c83700274c042185e4481d5ca6ea5
-
- May 28, 2020
-
-
Mark Goddard authored
This gives us some test coverage with Ansible Vault. Change-Id: Ic9db7f84e9f0dcbe69c31b6fff6bda3dfb401a33 Story: 2004959 Task: 39813
-
Mark Goddard authored
* Always use Python 3 * Drop code paths for CentOS 7 * Drop support for Yum * Remove support for host NTP daemon, always use chrony * Switch references from 'yum_install_epel' to 'dnf_install_epel' * Remove overcloud host image workaround for tagged VLAN admin network * Remove the kayobe.utils.yum_install function, which is unused Change-Id: I368f6edafed9779658798fc342116b4c1b3ffd48 Story: 2006574 Task: 39481
-
- May 20, 2020
-
-
Will Szumski authored
This can be advantageous in deployments with a data security requirement. Change-Id: I555ee575ccec0cfbcc4c4bcb53677796c83227e3 Story: 2007555 Task: 39410
-
- May 12, 2020
-
-
Mark Goddard authored
1. Blacklist Ansible 2.9.8 Ansible 2.9.8 includes a regression on the fileglob plugin [1] that causes the Kolla Ansible HAProxy role to fail. This change blacklists Ansible 2.9.8 to work around the issue. 2. Use ensure-docker role instead of install-docker The install-* roles are being deprecated and renamed to follow the ensure-* naming convention [2]. [1] https://github.com/ansible/ansible/issues/69450 [2] http://lists.zuul-ci.org/pipermail/zuul-announce/2020-April/000071.html Change-Id: Iab1d84e6a8c1b3dd81e53279309153687677a061 Story: 2007659 Task: 39748
-
- Apr 16, 2020
-
-
Mark Goddard authored
Tests various non-default configuration: * Custom users * Network interfaces, VLANs, bridges, bonds * Software RAID * LVM & docker devicemapper * timezone * Package mirrors * yum-cron / DNF automatic This improved test coverage allows us to be more confident about these features working on CentOS 8. Change-Id: I36148e4356deb7d5ec00d8d3ebeb2d3932ff4f94 Story: 2006574 Task: 38938
-
- Mar 23, 2020
-
-
Mark Goddard authored
Missing bifrost image for Train, so no seed upgrade job yet. Depends-On: https://review.opendev.org/711067 Change-Id: I0e88683f775769c1a80879685b0e7a2983599b08 Story: 2006574 Task: 39047
-
- Mar 11, 2020
-
-
Mark Goddard authored
CentOS 8 removes interfaces from their bridge during ifdown, and removes the bridge if there are no interfaces left. When Kayobe bounces veth links plugged into the bridge, it causes the bridge which has the IP we are using for SSH to be removed. Use a dummy interface in CI to avoid this problem. Kolla-ansible has dropped all CentOS 7 jobs on master now, and prechecks only allow CentOS 7 hosts. Drop all CentOS 7 jobs. We will have to run without upgrade jobs in place until Train supports CentOS 8. Depends-On: https://review.opendev.org/695881 Change-Id: I7c1a885b36445e33d4db1b1c8533db28a644b4a1 Story: 2006574 Task: 38870
-
- Feb 13, 2020
-
-
Mark Goddard authored
Currently Kayobe stderr is logged to the Zuul playbook output. This change redirects stderr to the ansible log files. Change-Id: Ia2f25a2e41859159275d418b57ab59bb97f58d6a
-
- Aug 22, 2019
-
-
Mark Goddard authored
Also refactors the CI job playbooks to create the previous git repo clones for upgrade jobs in the kayobe-base job. Change-Id: I10c2b872887a47fab1a373fc0525dcd6fc78f7e2
-
- Aug 15, 2019
-
-
Mark Goddard authored
Kayobe uses a number of virtual environments on the remote hosts for python dependencies such as shade, python-openstackclient, docker, etc. By default these are stored in /opt/kayobe/venvs/. Typically we do not provide version restrictions when installing these packages, so over the course of time they may become stale and incompatible. This change installs the latest version of packages allowed by OpenStack upper constraints. It also adds a new variable, 'pip_upper_constraints_file', to set the upper constraints file. The existing variable 'kolla_upper_constraints_file' now defaults to the value of 'pip_upper_constraints_file'. Change-Id: I8d2956f95bbc44b5a9e88e7569372048a62f12f5 Story: 2005923 Task: 34193
-
- Jun 17, 2019
-
-
Mark Goddard authored
Using Kayobe with cliff 2.15.0 fails with the following error: kayobe playbook run playbook.yml invalid conflict_resolution value: 'ignore' This change restricts cliff to <2.15.0. Also, fix git cloning previous release repos in CI to allow this patch to merge. Zuul provides repositories with all branches containing all prospective changes, not just the current branch. We can use this in the upgrade jobs to include changes to the previous release branch when a patch depends on them. Change-Id: I7966cf33f6133090d83232504b8c1da4c7817e0c Depends-On: https://review.opendev.org/665703/ Story: 2005891 Task: 33748
-
- Jun 06, 2019
-
-
Isaac Prior authored
Allows users to explicitly specify which type of tenks deployment they wish to create / destroy. Preserves existing behaviour with defaults. Modifies Zuul tests to use new tenks-deploy entrypoints. Change-Id: I9aafed8481fd7564c0fc0abe5f6b21eceb824d75
-