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
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
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
Some hosts in the kayobe inventory might not be in the kolla-ansible
inventory so it makes sense for kayobe to manage NTP.
Change-Id: Iacb579a46b0e9769a4c404a858d17968f74dd7e0
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/786040
Story: 2007872
Task: 40240
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I831f08154dad5a80e8f34aeb9ae161d2de5ffa57
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: Iaa54c3c176d1dfb8e8a7e882640741419116d4c0
Kayobe removes any systemd-networkd configuration generated by netplan,
since it can shadow our own configuration. This is performed via a
handler, but in practice it may run after the handler that restarts
systemd-networkd. This can leave the system using the netplan
configuration, which might not be correct. For example, if the interface
should be a bridge port.
This change fixes the issue by flushing handlers before importing the
systemd-networkd role.
Change-Id: I62ef7746aca4c6889526692cd0897e422937e70e
Story: 2004960
Task: 42415
Adds a new 'os_distribution' variable which can be used to select the OS
distribution, with sensible defaults for other variables. The default
value is 'centos'.
This patch changes the default value for the '*_bootstrap_user'
variables from using the $USER environment variable to using fixed
defaults equal to the os_distribution variable. This aligns with the
standard user configured in most cloud images, and images created via
DIB.
Note that we are continuing to use a CentOS based IPA image, since we
have been unable to get IPA to build for Ubuntu.
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/788234
Change-Id: I9e10239f58fe209867116fa2e10f1ce74220b966
Story: 2004960
Task: 42323
On CentOS, when using the MichaelRigart.interfaces role, defining a VLAN
interface implies the existence of its parent interface. This is handled
via the CentOS network interface scripts. With systemd-networkd, the
parent interface is not implicit, and must be configured. The parent
interface network configuration file needs to contain this:
[Network]
VLAN = eth0.42
This change adds support for these implied parent interfaces. It also
removes the Broadcast = true option, which was added in an attempt to
fix an issue but is not supported in the [Network] section, and
generates a warning:
Unknown key name 'Broadcast' in section 'Network', ignoring.
Story: 2004960
Task: 42368
Task: 42367
Change-Id: I5d105006fad6e7e80473b9d9fa693de644c35a6d
On systems without qemu-img installed, seed VM provisioning will fail
when creating qcow2 disk images. This is the case with some Ubuntu
images. This change updates the stackhpc.libvirt-vm role to v1.14.1,
which installs qemu-img.
Change-Id: I205b40c142adcbe0deb2ea6296c246533fd49def
Story: 2004960
Task: 42330
The manual SSH command is buggy since it does not respect things
like ansible_ssh_extra_args.
TrivialFix
Change-Id: I30709df86b4cc334413b76507700dc03e7df2ea1
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
An initial version of the mrlesmithjr.mdadm role was released 2 days
ago. There are only minimal changes compared to the commit we were
using. This should avoid the following issue seen in CI:
[WARNING]: - mrlesmithjr.mdadm was NOT installed successfully: - the specified
version (5be3ee7d330aa17317897bd104dc87ff0df11915) of mrlesmithjr.mdadm was not
found in the list of available versions ([{'id': 152374, 'url': '', 'related':
{}, 'summary_fields': {}, 'created': '2021-04-24T02:51:30.453954Z', 'modified':
'2021-04-24T02:51:30.453980Z', 'name': 'v0.1.0', 'version': '0.1.0',
'commit_date': '2021-04-23T22:50:00-04:00', 'commit_sha':
'b8a9853b7eafa9afc62bbb7728f64fd5dc9f54de', 'download_url':
'https://github.com/mrlesmithjr/ansible-mdadm/archive/v0.1.0.tar.gz', 'active':
None}]).
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
Change-Id: I3d85b341cf541cfb9b486021e66b316833fe9130
Adds a script for syncing feature flags from Kolla Ansible, and updates
the release docs to include this step. Also adds the inventory sync
step.
Change-Id: Id2bd48897d6b37a5006bad7f6e8597db20aa1b8b
Syncs with Kolla Ansible feature flags and inventory for Wallaby
release, at commit 058dd6828d788b60b6803f24f53f1dfca0876e6b.
Change-Id: Ibd20a72bd29e20de016fe41de2f1691302e7e24d
Cleaning was disabled by default in Bifrost
(Ie1198768889bd468176cd68c8ccb48791c724262) until the Victoria release,
when the default was changed. The 'kayobe overcloud provision' command
does not handle cleaning states when moving nodes from manageable to
available. This can lead to provisioning failures.
This change disables cleaning to maintain backwards
compatibility with earlier versions of Kayobe.
Change-Id: I23eb5116d8d1944167a0d50cafe5b99f766ad687
Story: 2008850
Task: 42363