The variables in yum.yml and yum-cron.yml were deprecated in Ussuri.
This patch removes them, and updates the defaults in dnf.yml.
Story: 2008160
Task: 40906
Change-Id: I97cc98dd2ff726e5885fefcab17f17796d9fd453
The feature-flags.py script uses pathlib which is only supported in
Python 3. Update shebang to ensure it is run with the correct
interpreter.
Change-Id: I69ea0c90f68909399709626bddfc418e9df31acc
Since kayobe is installing python3-pip in pip.yml - and dnf proxy is set
later, it fails on no-direct-internet systems.
Change-Id: I93f29ec4334829bfec107ba7aa6df05a47d2ab96
Story: 2008067
Task: 40750
Depends-On: https://review.opendev.org/748587
Depends-On: https://review.opendev.org/750804
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Ignore bashate failure on one-liner loops.
Add pcre devel packages to fix failing pep8 jobs.
Change-Id: I3442174b378cc6e361550fcb9b32a62f61fa7972
People often seem to miss this useful information. Let's make it the
first page of the docs, rather than being buried in the index.
This was agreed at the Kayobe docs review call.
Change-Id: If464e2dbaafaaeb69029c4f4d81717c72e91dd6c
Story: 2008079
Task: 40773
bash-completion is useful to tab-complete commands, especially docker container
names - this change adds it to default packages list for dev-tools role.
Change-Id: Ic630e0cfa059969046194b9761b9b5e07978f202
Currently we perform pip configuration for a list of users, including
pip_conf.yml in a loop for each user. It is slightly more efficient to
loop over each task, since individual tasks have a higher overhead than
loops.
This change refactors the code into multiple loops, with a single
include. We keep the include to allow skipping the tasks when pip
configuration is not required.
Change-Id: I698d38613f45bd03a2e51572f6e6fb69e934f614
Story: 2007993
Task: 40719
Setting pip's proxy variable, operator needs to set also pip_index_url,
even when one wants to use default value of index_url.
This patch sets pip's index_url only when pip_index_url is not empty.
Change-Id: If435e9025f3d78364b229bbe4458f5f1e1ab49aa
- Skip rule 106 which fails due to the hyphen in "kolla-openstack"
- Fix code failing "File permissions not mentioned" rule
Change-Id: I7ce8a591b4e1eeef749c439e1140ecfb74dcb40e
Ansible 2.9.12 changed default permissions of created files to 600 [1].
This breaks kayobe because kolla-ansible generates admin-openrc.sh owned
by root:root with mode 0600, which kayobe fails to read to generate
public-openrc.sh.
Block only Ansible 2.9.12 as the next release should include a revert of
this change.
[1] https://github.com/ansible/ansible/issues/71200
Depends-On: https://review.opendev.org/746220
Change-Id: I3de408d384141eee1a088d222dca7d583251a297
Story: 2008011
Task: 40661
If using a CentOS 8.2 bifrost_deploy image on a CentOS 8.1 seed host, we
may see an error such as the following:
TASK [Ensure the overcloud host image has bogus name server entries removed]
fatal: [seed]: FAILED!
Running virt-customize with more debug in the Bifrost container, we see
this output:
qemu-kvm: error: failed to set MSR 0x48e to 0xfff9fffe04006172
qemu-kvm: /builddir/build/BUILD/qemu-4.2.0/target/i386/kvm.c:2695: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.
This appears to be an incompatibility between qemu/libvirt in CentOS 8.1
and 8.2.
This change fixes the issue for new deployments by updating the seed VM
image to CentOS 8.2. Existing deployments will need to update packages
on the seed host to match the bifrost_deploy container.
Change-Id: Icf64b15e58c84f31a11cdefcdb79558b58737da1
Story: 2007942
Task: 40407
These groups were added to kolla-ansible in
I6a4676bf6efeebc61383ec7a406db07c7a868b2a. They are required for the
common services to be deployed.
Change-Id: Iaa0a8c851dac8b2a71a8c021435b26cc8c1998da
The original instructions used an absolute path for the symbolic link,
which would not be valid if the kayobe-config repository was cloned in a
different location.
Change-Id: Id595a12845f445203993fc6ed567e7f7f393742f
Currently it is possible to set the CIDR, gateway and route table for
static routes. Other options cannot be set. This change adds support for
setting arbitrary options via an 'options' attribute in the route, which
should be a list of additional options to apply.
Depends on
https://github.com/michaelrigart/ansible-role-interfaces/pull/74.
Story: 2007835
Task: 40122
Change-Id: Ib27deac4ddf4976a571b192ee5d1b8ca57701916