2457 Commits

Author SHA1 Message Date
866e869b55 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: Ic251a20c6c4e202bc69449a98a3632a5a5d2811c
2022-12-16 08:46:39 +00:00
Pierre Riteau
63e8a47206 [release] Clean up release notes for Zed release
Release notes about cloud image updates are removed because they refer
to unsupported systems.

Change-Id: I020ca65b2ec1d4be4f6660f9b90be80e952138b0
13.0.0.0rc1
2022-12-15 13:15:44 +01:00
Zuul
1ba4e9cf97 Merge "Some Rocky Linux 9 cleanups" 2022-12-15 09:35:29 +00:00
Mark Goddard
5846d81c53 Some Rocky Linux 9 cleanups
* Fix description of kolla_base_distro
* Update support matrix notes

Change-Id: Ibc2b9b647766231029fdc2c0e3671e872b1ae366
2022-12-15 10:14:40 +01:00
Zuul
d78d5d7995 Merge "Use environment variables for plugin paths" 2022-12-15 00:19:57 +00:00
Mark Goddard
73df27677c Use environment variables for plugin paths
Kayobe provides various roles and plugins in the ansible directory.
These are accessible to Kayobe playbooks in the same directory.

In some cases it can be useful to use these items from Kayobe custom
playbooks, however they cannot since they reside in a different
directory. Typically we work around this by symlinking to the relevant
directory from the directory containing the custom playbook. This is not
an elegant workaround, and has assumptions about the relative paths of
the Kayobe configuration and virtual environment in which Kayobe is
installed.

This change adds the Kayobe role, collection, and plugin paths to the
relevant Ansible lookup paths using environment variables. This allows
custom playbooks to use these items. Also added to the lookup paths are
roles, collections and plugins in Kayobe configuration in the
etc/kayobe/ansible/ directory. This removes the limitation of playbooks
needing to reside in the same directory as those items in order to use
them.

We import the Ansible configuration settings module directly, since it
avoids replicating the configuration logic.

Story: 2010280
Task: 46234

Change-Id: I2fb2b4d7ed937e0184a62b0f119659569448f8df
2022-12-14 22:52:41 +01:00
Bartosz Bezak
65c59b9f59 Use OpenStack Zed release
Switch all dependencies to use the OpenStack Zed release.

This commit should be reverted on the master branch once the
Kayobe stable/zed branch has been cut and RC1 released.

Change-Id: I1ea18a68bb2c1ea6a2a45f6cbd3c48fd30bb1c8a
2022-12-14 20:42:32 +00:00
Zuul
9ac1c95f1d Merge "Bump up Ansible supported versions to 5.x/6.x" 2022-12-14 20:07:36 +00:00
Zuul
4b20bb62a8 Merge "CI: Add kayobe-seed-images-centos9s to experimental jobs" 2022-12-14 15:48:01 +00:00
Michal Nasiadka
65587cb279 Bump up Ansible supported versions to 5.x/6.x
This change bumps up the maximum supported Ansible version to 6.x
(ansible-core 2.13.x) and minimum to 5.x. This synchronises Kayobe with
Kolla Ansible.

Shebang has been removed from modules due to [1].

os_openstacksdk_version has been added as openstack cloud modules don't
support versions greater than 0.99.

[1]: https://github.com/ansible/ansible/pull/76677

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/867546
Change-Id: Ibb00f6d079442a8509411ae8a71d74fd7bd8cccd
2022-12-14 14:55:33 +00:00
Pierre Riteau
5207d88145 docs: Use recent dependencies update change
We need to change the version of ansible-collection-kolla used for each
release. Use a more recent patch including this change.

Change-Id: I3e7bcbaca442f7aa01f43df9209a80f7e176c548
2022-12-14 12:27:08 +01:00
Zuul
e25e7d64b2 Merge "Restore use of upper constraints for molecule" 2022-12-14 10:42:18 +00:00
Pierre Riteau
0671cd454c Restore use of upper constraints for molecule
Change-Id: I90413a04ab38820172f1b4bcb3afa18f3961639e
2022-12-14 10:01:46 +01:00
Pierre Riteau
5b84ef3760 Use master upper constraints
Yoga upper constraints were used to keep compatibility with Python 3.6.
This is not needed with all supported OS using Python 3.9 or newer.

This reverts commits d2e0d64eb00d4cea8a4f8ff6a963b1ec0c3660ac and
d190e9e3a33e049267300ef0ce90bc1a4db14061.

Change-Id: I35a07bcc2b7c9cbb49fa60e6802cc6288a34fbd8
2022-12-14 08:58:30 +01:00
Zuul
4fa3165fad Merge "docs: fix virsh command" 2022-12-13 16:08:14 +00:00
Zuul
170e836af0 Merge "docs: explain how to enable Ironic in the automated setup" 2022-12-13 16:08:13 +00:00
Zuul
7c5eec3bb3 Merge "Custom Ansible Playbooks minor doc fix" 2022-12-13 16:08:11 +00:00
Pierre Riteau
7af1d246c5 CI: Add kayobe-seed-images-centos9s to experimental jobs
Change-Id: Ia663ef4a2e6f16e277f2aaef0b0136e473f37698
2022-12-13 14:40:40 +01:00
Pierre Riteau
f6660bbff8 Remove support for Monasca and its dependencies
This follows removal of support from Kolla Ansible. This also removes
support for configuring Grafana with overcloud post configure.

Change-Id: I8102fafb00db178f1ae6801d37c43a39033cbfe6
2022-12-13 14:32:33 +01:00
Zuul
ad1a107fa5 Merge "Support OpenSearch configuration" 2022-12-13 12:31:34 +00:00
Zuul
8ae38c5866 Merge "[release] Sync Kolla Ansible inventory for Zed" 2022-12-13 10:05:20 +00:00
Zuul
7b0fa1cd8f Merge "[release] Sync Kolla Ansible feature flags for Zed" 2022-12-13 10:05:17 +00:00
Pierre Riteau
12ab39568e Support OpenSearch configuration
Change-Id: I6af90d02e619d85b25ad364dc17d411008fd792e
2022-12-13 09:50:21 +00:00
Zuul
3a8311b7e4 Merge "Move to Rocky Linux 9" 2022-12-13 07:24:52 +00:00
Bartosz Bezak
2f447f6545 Move to Rocky Linux 9
CentOS Stream 8 support has been dropped. Migration path will be present
in Yoga release - as a followup change.

MichaelRigart.interfaces does not support custom routes for
NetworkManager yet. It has been disabled in CI for Rocky Linux 9
temporarily.

Non-voting CentOS Stream 9 CI overcloud job is using RL9 container
images (as kolla CI is not building CS9 images anymore).

Change-Id: Idf5ee822b03ba40179803c981500a6bad37594bf
2022-12-12 22:24:47 +01:00
as0
61eef11d21 Custom Ansible Playbooks minor doc fix
Running multiple playbooks do not require a comma to added between them.

Amend docs with a minor fix to improve readability/usability.

Change-Id: I17e1c50f63bbbd4df73bd7a76769bde942cc024a
2022-12-12 11:11:20 +00:00
Pierre Riteau
d27921b68d docs: fix virsh command
Tenks uses the system libvirt socket by default.

Change-Id: I70076a313672c4d9950eb41c8f8b5f39fbbd9c96
2022-12-09 18:03:20 +01:00
Pierre Riteau
60e8f702dc docs: explain how to enable Ironic in the automated setup
Change-Id: I34d339efd6748c1067e1499f7573d3dbb95e5e27
2022-12-09 18:00:30 +01:00
Zuul
13b005fafa Merge "Support copying nova_compute Kolla configuration" 2022-12-08 18:50:41 +00:00
Zuul
1d8a5d6c74 Merge "Support configuration of swap" 2022-12-08 15:55:53 +00:00
Pierre Riteau
f3ab02280d [release] Sync Kolla Ansible inventory for Zed
Syncs with Kolla Ansible inventory for Zed release, at commit
ce28cbc0d8bd907982212f4963b3a3e48215f688.

Change-Id: If7171c925be052e59e64423d62c9416485ca9113
2022-12-07 22:39:08 +01:00
Pierre Riteau
3d0e1a3818 [release] Sync Kolla Ansible feature flags for Zed
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/866884
Change-Id: Ie3ea200b2bbe07271942a06fa1887561a9c04fda
2022-12-07 22:38:41 +01:00
Zuul
ba38d7d6ce Merge "Fixes an issue with --wipe-disks" 2022-12-07 15:33:39 +00:00
Mark Goddard
0c074431d0 Support configuration of swap
Supports creating and using swap files, or using pre-existing swap
devices.

Story: 2004958
Task: 29390

Change-Id: Iadb540f42036a4a63cdd5b695b82f1504b3a4a28
2022-12-07 14:23:18 +00:00
Zuul
a50fdb6b7f Merge "Remove kolla_install_type variable" 2022-12-07 12:53:48 +00:00
Zuul
286d81f893 Merge "Use dnf module to get rid of warning" 2022-12-07 12:53:46 +00:00
Zuul
04502e44a4 Merge "Bump mrlesmithjr.lvm to skip swap resizes" 2022-12-07 12:53:44 +00:00
Zuul
820a60d1ca Merge "Build overcloud host images via DIB by default" 2022-12-07 12:53:42 +00:00
Zuul
3a4b3bea51 Merge "Remove support for Ironic boot option" 2022-12-07 11:22:55 +00:00
Bartosz Bezak
31085438b1 [release] Tidy up release notes for Zed
Change-Id: I4034376cfe78f6a520e035be8df028ff5a747b43
2022-12-07 09:37:05 +00:00
Mark Goddard
50f5fb14e3 Build overcloud host images via DIB by default
Changes overcloud_dib_build_host_images to true, as promised in
I93d242889e225b4e60254f6b9cc5eeb457294ac8.

Change-Id: I322432985535348fb4ebe5bff7db5dd68f16b340
2022-12-02 10:36:51 +00:00
Mark Goddard
3c1b9c4d9a Remove kolla_install_type variable
Kolla removed support for binary images in the Zed release, as well as
the install_type config option. It also changed the image tag format.

Yoga & earlier:

  openstack.kolla/centos-source-base:yoga

Zed & later:

  openstack.kolla/base:zed-centos-stream9

This change removes the kolla_install_type variable. It also adds a
kolla_base_distro_version variable, which is passed to kolla and
kolla-ansible.

The following two variables are also removed, since all images are now
of type source:

* overcloud_container_image_regex_map_source
* overcloud_container_image_regexes_source

Change-Id: I0023765438c0c73394c3465828c4d98f766d9350
2022-12-02 10:36:45 +00:00
Zuul
744ca0918f Merge "CI: Fix molecule job on Ubuntu Jammy" 2022-12-02 10:26:35 +00:00
Mark Goddard
564a06551f CI: Fix molecule job on Ubuntu Jammy
OpenDev has changed the image used for tox jobs to Ubuntu Jammy 22.04.
This broke molecule jobs, which started failing with:

ImportError: cannot import name 'Iterable' from 'collections'

This change updates requirements to bump molecule and pytest-metadata.
It also removes molecule flake8 lint configuration, which is no longer
supported.

Change-Id: I751a458f7668f7917abaa662723221ac7e3752c8
2022-12-01 15:25:51 +00:00
Pierre Riteau
59aaec13f1 Support copying nova_compute Kolla configuration
This folder can be used to store a Nova release file [1] specific to
nova_compute containers.

[1] https://opendev.org/openstack/nova/src/branch/master/etc/nova/release.sample

Change-Id: I2f4f02dbd6834ffd0fa5189b818bdc91a5c168a2
2022-11-15 13:21:36 +01:00
Alex-Welsh
ce74a98b1d Add --add-known-hosts to control host bootstrap
Provide the option to add hosts to the SSH known hosts file when running
control host bootstrap.

Story: 2001670
Task: 6716
Change-Id: I512a343f875ee95194ab4fa98872e349f5a6dc7b
2022-11-09 11:26:15 +00:00
Zuul
d4ce41baa2 Merge "Adds missing variables to ssh.yml" 2022-11-07 19:21:31 +00:00
Zuul
108e016087 Merge "Adds missing variables to seed-vm.yml" 2022-11-07 19:15:36 +00:00
Zuul
d7163a67c0 Merge "Add missing variables from neutron.yml" 2022-11-07 19:15:33 +00:00
Zuul
49f62b58d8 Merge "Adds missing sasl options to compute.yml" 2022-11-07 19:15:30 +00:00