2501 Commits

Author SHA1 Message Date
Bartosz Bezak
84fcc6ad0b CI: Add custom routing table output to logs.
Change-Id: Id86acf22cc548b37222a78300c1d5063f4527bf2
2023-03-31 12:08:49 +02:00
Michal Nasiadka
137e64b57c Fix opensearch container builds
Change-Id: I90dc4da947173e9f8b90d3049dca110838da1778
2023-03-21 17:15:46 +01:00
Zuul
a7669aae88 Merge "Add details of physical net configure --display" 2023-03-15 09:54:58 +00:00
Bartosz Bezak
e0ff9a0283 Fixes repositories files name in Rocky Linux 9
Distributions moved to lowercase names with RHEL 9 release.
This patch also removes previously created uppercase files.

Story: 2010637
Task: 47604
Change-Id: I8bf75ce44b9ec1fdd477fcddf2deebf2929d9fc1
2023-03-08 12:34:11 +00:00
Bartosz Bezak
f9fee1f17f CI: get repo directories from nodes for troubleshooting
Change-Id: I0f7a3dcb021f726693725f070d9a2ff80d84fe0e
2023-03-08 11:28:54 +01:00
Bartosz Bezak
068581456f use OS python to create kolla-ansible venv
Currently kayobe creates kolla-ansible venv using kayobe venv
python3. There are corner cases when creation k-a venv fails
while using kayobe venv created with python 3.6 buggy setuptools/
virtualenv command. Using OS python to create venv solves those
corner cases issues and preserves compatibilty.

Story: 2010634
Task: 47599

Change-Id: Ie0d9bf895f6714cbb8b0bd31a008eb388f4c51c2
2023-03-07 16:45:02 +01:00
Stig Telfer
f5529e6133 Add details of physical net configure --display
The --display parameter is very helpful but apparently undocumented.
Add it here.

Change-Id: I0e0e5ab8c2ca549d3278d7319ca6988c8790aef1
2023-03-06 17:22:58 +00:00
Pierre Riteau
77ca077195 CI: Disable disk image build in seed-upgrade jobs
This build takes time and can fail due to lack of disk space. It got
enabled when we changed overcloud_dib_build_host_images to true.

Also fix bifrost overrides which was wrongly applied, we need to use
dib.yml instead of bifrost.yml, like in kayobe-seed-base.

Change-Id: I1edafbb41a26587a5ef794b3b9886fdf189a0a1a
2023-03-03 18:21:07 +01:00
Zuul
db9ce40e81 Merge "docs: add information about enabling TLS to automated guide" 2023-02-21 17:44:46 +00:00
Zuul
8576e719cd Merge "dnf: improve task output readability" 2023-02-21 17:44:44 +00:00
Zuul
609b51d8a6 Merge "Use assert to test/validate condition" 2023-02-21 17:05:24 +00:00
Zuul
61ad986372 Merge "vips: assert shows what we're testing and when" 2023-02-21 16:39:04 +00:00
Erik Berg
e6bd07faf7
Use assert to test/validate condition
This test seems to have a fault, where the variable/list
kolla_ironic_enabled_console_interfaces could be undefined, the
test would not fail.

Anyway, using assert shows what we're testing, and doesn't list the
task as skipped when we meet the requirements.

Change-Id: Id9c4abc285be0240f9bdc21d21537d3a2d9bfd57
2023-02-17 07:40:17 +01:00
Zuul
be0a819623 Merge "Ubuntu: Fix networkd config for multiple VLANs without MTU" 2023-02-16 17:33:52 +00:00
Michal Nasiadka
7dc506ef48 CI: Don't run Heat and Horizon in overcloud jobs
Not only TLS jobs need that treatment, Rocky9/CentOS
Stream 9 jobs have the same issue - let's disable
Heat and Horizon in all overcloud jobs.

Change-Id: Iecab44969cea015b363ec6884ef6a7c9960a6b3f
2023-02-08 07:42:25 +00:00
Bartosz Bezak
094852e3c6 CI: add Rocky9 upgrade jobs
Change-Id: I1687ea33f27dee6ba145514db5cf213b28cc8cd2
2023-01-26 14:59:19 +01:00
Zuul
6f6c0d3bee Merge "Add Hashi Vault support for Kolla passwords" 2023-01-23 20:09:53 +00:00
Bartosz Bezak
059c223b32 CI: move ubuntu upgrade jobs to jammy
Change-Id: I0519b5251a743138fe64528d265607a919d04763
2023-01-17 09:14:20 +01:00
Zuul
7a78dda176 Merge "Apply TODOs for Antelope cycle" 2023-01-16 20:11:45 +00:00
Zuul
7f7026f6fa Merge "set previous_release to zed" 2023-01-16 17:51:47 +00:00
Erik Berg
b7c8c30bb3
vips: assert shows what we're testing and when
assert will also fail when we're not meeting the conditions, makes
clear what we're actually testing, and isn't listed as a skipped task
when the condition is ok.

Change-Id: I640207dd9e987cb6d5743e22cae6039a65d10566
2023-01-16 16:32:17 +01:00
Erik Berg
8b5168828a
dnf: improve task output readability
It's more informative to describe the tasks we are skipping by
adding a name section to the include_tasks. Otherwise it just
shows;

 TASK [dnf : include_tasks] *
 skipping: [controller-1]

The other include_tasks doesn't have a name section or a when clause
so switching to import_tasks.

Change-Id: Ie8d34a45aa4ebd0e2ea635208970acf18741aee5
2023-01-16 10:05:48 +01:00
Bartosz Bezak
0874242adf Apply TODOs for Antelope cycle
Change-Id: Ie88ca550d4ed619209c08719328ea69e10c274ad
2023-01-14 00:30:50 +00:00
Bartosz Bezak
717f4d9fe1 set previous_release to zed
Upgrade CI job needs clouds.yaml to be used from Zed

Newer version of ansible-collections-openstack uses different return
value. [1]

[1] https://review.opendev.org/c/openstack/ansible-collections-openstack/+/841224

Change-Id: Ic0608bc6033025cb47655d601ffaf3744637832f
2023-01-13 21:22:43 +01:00
Zuul
aed2461edd Merge "Revert "Use OpenStack Zed release"" 2023-01-13 18:09:15 +00:00
Bartosz Bezak
0c11102afe Revert "Use OpenStack Zed release"
This reverts commit 65c59b9f5939f19f5fb914dbcb0fc64cde99771b.

Reason for revert: Zed has been branched and released

Change-Id: I2d87017c27139b5e0154edef006ad61d665ede2a
2023-01-12 10:46:49 +00:00
Matt Crees
4af5fd172b Add command to run config validation
Adds the command ``kayobe overcloud service configuration validate`` to
run the ``oslo-config-validator`` on all hosts via Kolla-Ansible. The
output directory of the results is specified with the flag
``--output-dir``.

Change-Id: I5d5d16eeabe69e8659e33722165928df096b3559
2023-01-10 16:08:25 +00:00
Zuul
ebd5799fd4 Merge "Replace references to Docker Hub by Quay.io" 2023-01-09 11:22:27 +00:00
Pierre Riteau
8640fbd5c0 Sync kolla_tag with kolla-ansible
Without this change, Kayobe was tagging container images with `zed` when
kolla-ansible was expecting something like `zed-ubuntu-jammy`.

Change-Id: I23c409900db2c37105e7b218bbaedcfacb235787
2023-01-06 11:53:29 +01:00
Pierre Riteau
6e78aa8914 Replace references to Docker Hub by Quay.io
Kolla Ansible uses Quay.io as its default registry.

Change-Id: Ie1a56ebd6fe3283a2b5b077f658ff1cf3e006784
2023-01-06 11:11:46 +01:00
Pierre Riteau
ee25470b01 docs: add missing word
Change-Id: I0289a0868b916a14c69fbab414335e7de6b17380
2023-01-05 06:48:34 +01:00
Zuul
f23ce83a12 Merge "Support configuring VLANs with systemd-networkd syntax" 2023-01-03 13:08:12 +00:00
Zuul
315541a38c Merge "Add note about Zed upgrade using Rocky Linux 9" 2023-01-03 11:30:11 +00:00
Pierre Riteau
5e1e285384 Fix tox.ini for tox4
Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/866943/

Change-Id: I66b3a85adfe2928b936006780fb20b5fc7cc802f
2022-12-28 14:52:29 +01:00
Pierre Riteau
5c1cdf889b Add note about Zed upgrade using Rocky Linux 9
This replaces the note about upgrading to CentOS Stream 8.

Change-Id: If550a604403fa67e3b6062428cd82032217e545c
2022-12-24 16:11:19 +01:00
Scott Solkhon
08bd6815bd Add Hashi Vault support for Kolla passwords
This commit adds the necessary changes needed to support
reading and writing Kolla passwords to a Hashicorp Vault server
using Kolla-Ansible commands `kolla-readpwd` and `kolla-writepwd`.

This follows the support that was added into Kolla-Ansible in
the Change-Id Icf0eaf7544fcbdf7b83f697cc711446f47118a4d.

Change-Id: I732988e6160cc64d663d6ef8179f04d3e1226537
2022-12-21 18:27:13 +00:00
Pierre Riteau
fbf0006895 Run handlers before configuring veth interfaces
Handlers from MichaelRigart.interfaces are not run until the end of the
play, which results in the veth role trying to create veth interfaces
against a non-existing bridge.

Change-Id: Ie1c9e1ada50774cbcaec528bd64d8df066c21d2e
2022-12-16 11:26:28 +01:00
Zuul
3d1ad7d3a9 Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2022-12-16 09:15:53 +00:00
Zuul
7319579816 Merge "Update master for stable/zed" 2022-12-16 09:12:42 +00:00
b9e8128221 Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I8fda05aa952f3d8501b93f1afffed9e8ebc7ec49
2022-12-16 08:46:41 +00:00
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
leiyuehui
c84a7f9a9c Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Removing the py36 centos8 job as well as
updating the python classifier also to reflect the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: I1bd306698a0b2afd1b824eda3389fcc3f919a1fb
2022-12-15 15:26:35 +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