Because regexes defined by Kayobe are not strict enough, Kolla can build
container images unrelated to the deployment. For example, the default
service configuration will build:
- centos-binary-barbican-keystone-listener (matches keystone)
- centos-binary-prometheus-memcached-exporter (matches memcached)
This commit makes regexes stricter to avoid unecessary builds. Note that
some images are still built unecessarily, such as nova-compute-ironic
when ironic is disabled or neutron-metadata-agent-ovn when ovn is
disabled.
Change-Id: I67f0e48ee03b150f6fe52b1a3e7e727b79207231
Migrating to Ironic hardware types was required in Rocky. This can now
be removed from upgrading instructions.
Change-Id: I0510db9fd1b8dd72540c83173267491b32728330
This allows us to include the correct branch when cloning repositories
in documentation.
Method adapted from OpenStack Ansible documentation. A backslash is
added on purpose before repository URLs to bypass highlighting which
makes them less readable (dark text on dark background).
https://opendev.org/openstack/openstack-ansible/src/branch/master/doc/source/conf.py
Story: 2008851
Task: 42366
Change-Id: I4b4a8d1c848bb992f65860b058cb9fd9d77613d0
libvirt-6.0.0-36.el8 was built [0] and released for CentOS Stream 8. It
includes a backport of a commit [1] from libvirt 7.4.0 to avoid erroring
out on unknown firmware features, which fixes the issue seen with the
newer edk2-ovmf package.
This reverts commit 1e14fa3a24fa64b84cc993c985e696a9cba78dea.
[0] https://koji.mbox.centos.org/koji/buildinfo?buildID=17918
[1] 61d95a1073
Change-Id: Ibe177fe078769204c7e89c04e40870890fe501ba
Currently we do not have any coverage of building container images. This
change adds a basic test of building the base image to the seed jobs.
A potential future enhancement could involve pushing to a local registry
running on the seed.
Change-Id: Id7378dd844aca7cb5634535308eba0f60342c81d
Container image builds broken due to disabling docker iptables
management in
https://review.opendev.org/c/openstack/kolla-ansible/+/751795. This
affects Wallaby and later.
This patch configures kolla-build to use network_mode=host.
Change-Id: I608c0362e6eeea65ffafb32cda5c19ccb6ec8b5c
Story: 2008942
Task: 42560
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
/usr/bin/python may be python 2 on Focal, which causes problems with
Ansible on the control host. By installing the python-is-python3 package
we ensure that the correct interpreter is used.
This change updates the installation documentation and development
environment scripts.
Story: 2004960
Task: 42579
Change-Id: Ie94099075bae3c491f9cf830c38e6cfc8af605a6
The Wallaby release adds support for configuring a chrony daemon on
hosts in the ntp group. The kolla chrony container is disabled by
default, meaning that users could be left without an NTP client if they
forget to add hosts to the ntp group.
This change adds a check for the existence of an ntp group in the
inventory. The group may be empty.
Change-Id: Ic0ff71bb11692eb6c5699a1673df2d16b8f894ec
Story: 2007872
Task: 42533
* add 'bridge_type: linuxbridge' to tenks configuration to avoid
dependency on OVS
* extend seed development environment testing to include overcloud
provisioning and deployment
* remove seed hypervisor and seed VM environments. These are very
stale, and largely replaced by a-universe-from-nothing. Add a link to
that workshop on the same page
Change-Id: I9928e5912e6770bdcc1d5d0884d2f101c16ee6a9
Some CentOS Stream CI jobs started to fail when defining VMs with:
libvirt.libvirtError: internal error: unknown feature amd-sev-es
This was introduced by edk2-ovmf-20200602gitca407c7246bf-5.el8.noarch.
This change excludes this package version in Zuul jobs, which fixes the
kayobe-seed-vm-centos8s job.
Overcloud centos8s jobs were also broken by the nova-libvirt Kolla image
containing this package, which is used by Tenks. Updated images using
the previous version of edk2-ovmf [1][2] are now available from quay.io.
This also needs to be fixed for Kayobe and Tenks in general, unless a
new package is released soon.
[1] https://review.opendev.org/c/openstack/kolla/+/792999
[2] https://review.opendev.org/c/openstack/kolla/+/793174
Change-Id: I5bc8197143ce763cdaf8a9ac0b782b524d5df258
The Kolla Ansible chrony container is disabled by default in the Wallaby
release. A new kolla-ansible chrony-cleanup command can be used to clean
up the container.
This change extends the 'kayobe overcloud host upgrade' command to cover
cleaning up the chrony container (if disabled) and deploying a host
chrony daemon.
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/792119
Change-Id: I275102ec6b5bab6982577b52fd29654c874446ce
It seems unlikely that anyone would want to extend the time servers
variable, so let's keep it simple and not add an additional variable
where one isn't necessary. This is also consistent with how we configure
DNS.
These variables haven't made it into an official release yet, so now
is the time to clean up.
Change-Id: I3c15c6976296abf9c78f1480c1779b854145c7ca
Some time ago in Kayobe we switched from using set_fact to override the
ansible_python_interpreter variable to using a task variable. However,
not all of the galaxy roles were updated to match. This can lead to an
issue where a fact set by the os_networks role overrides the task
variable set in Kayobe.
Note that we haven't seen this in CI since the code path requires the
use of a VLAN provisioning network, and CI uses a flat network.
Change-Id: I14289df5e248b5b47fb8e60c6eea1ac845f50fd3
Story: 2008284
Task: 41158
CentOS repositories were renamed following the separation of CentOS
Linux and Stream. This change updates their names when using a local
mirror. It also removes the old files.
Change-Id: Ifcc3781d771e150b5771f2bf20cd8bcbc5faa443
Story: 2008795
Task: 42435
Adds a new flag, 'docker_registry_network_mode', which defaults to
'host'. This may be used to set the network mode of the Docker registry
container.
This is a follow up to I404dd52701426a10c2e92727bd52b7fd7112abf6, which
changed the network mode from the default of bridge to host. It allows
that change to be backported to stable branches, without modifying the
default value.
Change-Id: Ic8ec3bb98f8f016e1d089bf10bd0538264394241
os_image_facts renamed to os_image_info, and no longer sets a fact.
Instead we use the registered result. The same is true for
os_networks_facts and os_networks_info.
We did not catch the networks issue in CI because the code only runs
with a VLAN provisioning network, and we use a flat network.
Change-Id: I6a801e8bb5171bebd2b3f20d6140329d38ea36a5
Overcloud upgrade jobs often fail when running on nodes with a 38G root
disk. The overcloud upgrade itself generally works, but post-upgrade
testing fails, for example when RabbitMQ gets in alarm state due to lack
of free disk space, which prevents Nova from functioning correctly and
makes it return "Unknown Error (HTTP 504)".
Change-Id: I536a526340f6d7dea7a69372904b777292774eba