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
Some images were not being built automatically due to a missing regex.
The most notable being chrony.
Change-Id: Ia0aa15300f58fc4e912dea7ed304a1cdaf51382a
Story: 2007796
Task: 40050
We need these defined to figure out which images to build.
Only flags that are required by build regex map have been added, and
dependencies of those.
TrivialFix
Change-Id: I2f8ecad57f97e5cd3e15156959c017ad29335e31
Since I2172a74f4719605f6ec81fadec46ce49f8310a96, kolla-ansible.yml fails
if there is a network named external:
recursive loop detected in template string: {{ item in
(network_interfaces | net_select_bridges | map('net_interface')) }}
Rename the task variable 'external_interface' to avoid this conflict.
Affects master only.
Change-Id: Ia81e70e45c3e8a68720535b4f4d117f9951ed360
Story: 2007814
Task: 40087
Currently the ordering of network interfaces in the seed VM is
non-deterministic. This happens because we apply the 'unique' filter to
the network_interfaces list, which does not guarantee a deterministic
ordering. This list is then transformed and passed to the
stackhpc.libvirt-vm role.
There are two consequences of this:
* it is not possible to determine which interface names should be used
prior to creating a seed VM
* if a seed VM is recreated, the interface ordering may change
This change fixes the issue by sorting the network_interfaces list
alphabetically before it is transformed and passed to the
stackhpc.libvirt-vm.
A new 'seed_vm_interfaces' variable is also added, which allows for
customisation of the VM's interfaces - potentially allowing for more
complex setups such as trunked VLANs.
Story: 2007259
Task: 38621
There is a second issue, which is that if the seed VM has a
network interface not configured with a gateway, cloud-init will fail to
configure the network interfaces on the host. This has been observed on
CentOS 8, but is probably more tied to the version of cloud-init, and
may affect CentOS 7. The following error is seen in the cloud-init logs:
KeyError: 'gateway'
This change has been addressed in the jriguera.configdrive role, and
this change updates the version used in requirements.yml.
Story: 2007769
Task: 39993
Change-Id: Ib6ab41a3ba320a1fe15d0d23561fad2fab7861e6
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
The flags in etc/kayobe/kolla.yml were out of sync with
ansible/roles/kolla-ansible/vars/main.yml.
This commit sorts them all alphabetically and adds a script to simplify
generating the list.
TrivialFix
Change-Id: I0e3be19eed371853d80c401d6a46770a7d6dcbc5
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Disable openstackdocs_auto_name to use 'project' variable as name.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Ic10edb7103455b477cece3940f150f4345611562
Since adding support for Python 3, the following commands fail:
* kayobe baremetal compute inspect
* kayobe baremetal compute manage
* kayobe baremetal compute provide
There are two issues:
1. There is a missing /bin from the ansible_python_interpreter path used.
2. The stackhpc.os-ironic-nodes role fails with an undefined variable:
name 'openstack_cloud_from_module' is not defined
This is fixed in the stackhpc.os-ironic-nodes role version 1.3.1.
Story: 2007797
Task: 40051
Change-Id: Ie2a0a6bf75dc88458796a9691891e76f578d87ad
When performing inspection on baremetal compute nodes, inspector
currently has the following failure when storing inspection data to the
introspection store:
No 'keystoneauth1.plugin' driver found, looking for 'token_endpoint'
This happens because the token_endpoint auth type is no longer
available. The new way to do this is to set auth_type = none and provide
an endpoint override.
Story: 2007795
Task: 40049
Change-Id: Ideada0f299f34d16d1286633b6e21404b736918b
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: Iee73855fa78f80150b89e32cc9f3f79b98e5f95e
Sem-Ver: feature
The issue being addressed was resolved by
https://review.opendev.org/#/c/713988/ and released in diskimage-builder
3.0.0.
Change-Id: Ie25e88bb96f186399ae69837e93185127628ce86