2501 Commits

Author SHA1 Message Date
Zuul
2b308d6747 Merge "Update to latest Rocky Linux cloud image" 2022-08-05 19:15:57 +00:00
Zuul
ac90e076d2 Merge "Add support for firewalld on Ubuntu" 2022-08-05 14:37:09 +00:00
Michal Nasiadka
ebf8cfca62 Add support for Ubuntu Jammy Jellyfish (22.04) LTS
Co-Authored-By: Bartosz Bezak <bartosz@stackhpc.com>

Change-Id: I06a3e9922cf95979f3bca120cd82633046270fa3
2022-07-29 11:26:58 +02:00
k-s-dean
6990a041c7 Add support for firewalld on Ubuntu
Enables the installation and configuration of firewalld on Ubuntu
systems.

Change-Id: I4a97a2aeed277be672e15e5c7727b810e11d3c42
Story: 2010160
Task: 45818
2022-07-27 10:54:43 +01:00
Mark Goddard
79a8610030 Support --kolla-playbook argument
Adds support for specifying a custom playbook when running Kolla Ansible
commands via a '--kolla-playbook' argument.

Change-Id: Ie4bba0f1bdc82657572e0f06a71db1140c0bd3a4
2022-07-26 09:27:46 +01:00
Michal Nasiadka
5ee99c5948 ovn: add network group to neutron-ovn-metadata-agent
Follow up after I111df79f08eb76a735f33c6edf03b5a302fb6cc3 in kolla-ansible

Change-Id: I7e10b851016253bf85625e9daa89416c738242e8
2022-07-21 08:18:45 +02:00
Pierre Riteau
0030c5f1ed Update to latest Rocky Linux cloud image
The 8.5 image has moved to the Rocky Linux Vault.

Change-Id: I86c92a1b0b8cf5e4dc534e04709e38bd90f7660e
2022-07-20 12:28:46 +00:00
Pierre Riteau
a9d00a2073 Remove unused parameter from seed container example
The keys in the seed_containers dictionary are used as container names.

Change-Id: I3a95382cf6e761c5c0e5c7a47d6477b3cdfa8c19
2022-07-19 14:02:56 +02:00
Pierre Riteau
17d49908af Add missing dot in hook name
Change-Id: Ib182558e31da9d79a14f383c6a1d60fa66f1dc75
2022-07-19 10:29:22 +02:00
Mark Goddard
051f0c2345 Improve comments in networking config files
In networks.yml and inventory group_vars that become part of
kayobe-config, there are a lot of commented out variables for networks
that may or may not exist in a deployment. These are not always that
helpful, and may be actively harmful if the network names in a
deployment are different.

This change removes these variables, and replaces them with a short
explanation of what to add to the section.

Change-Id: I88abe2c515b60e1f1c4c7c073818ff3e47436e64
2022-07-18 14:56:25 +01:00
Mark Goddard
4ba8903004 unit tests: Use assertListEqual and maxDiff = None
Currently the output is truncated when mock call lists don't match. This
makes it difficult to diagnose the issue. Use assertListEqual and
maxDiff = None to avoid truncating the output.

Change-Id: I93bc6907e926722156739297ac58c327e9743d9d
2022-07-08 11:10:21 +01:00
Pierre Riteau
d190e9e3a3 Use yoga upper constraints in dev scripts
This is required to be able to install tenks. Otherwise, we try to
install Jinja2 3.1.2 which requires Python 3.7 or newer.

Change-Id: Ie497b191b6de8bc818dc4a2a12f7129a02d0fd00
2022-07-05 09:46:33 +02:00
Will Szumski
836f394a6d Run selinux playbook on seed hypervisor
Change-Id: Iec0b9cd24eda4fc0fc38003dea66c50ece7425b6
2022-06-24 14:00:13 +00:00
Michal Nasiadka
caa7cc54ee selinux: default to permissive
The disable-selinux role has been renamed to selinux and now supports
setting desired state.

Previously Kayobe was defaulting to disabling and rebooted the host - to
avoid audit logs filling up. This change allows operators to define
desired SELinux state and defaults to permissive - to adhere to those
site policies that require SELinux to be at least in permissive state.

Change-Id: I42933b0b7d55c69c9f6992e331fafb2e6c42d4d1
2022-06-17 09:24:27 +02:00
Pierre Riteau
66f763ea06 Remove timezone playbook
It is time.

Change-Id: I25fd8d4e4bcef4b015a1634ace927e37aa2e80a9
2022-06-17 07:38:53 +02:00
Zuul
0c9912ece1 Merge "Use openstack-ci-mirrors in overcloud and ipa image builds" 2022-06-16 14:02:58 +00:00
Zuul
258dd730d1 Merge "Force use of yoga upper constraints in ipa-builder" 2022-06-15 12:49:43 +00:00
Michal Nasiadka
002c08e032 Use openstack-ci-mirrors in overcloud and ipa image builds
Change-Id: Ibf4b928222713bedb7e856307f5ad91e60953795
2022-06-10 17:38:02 +02:00
Pierre Riteau
4ce746c199 Force use of yoga upper constraints in ipa-builder
IPA itself is still compatible with Python 3.6, but ipa-builder uses
master upper-constraints which have dropped support for 3.6 and are
pulling importlib-metadata===4.11.4, which requires 3.7.

    ERROR: Cannot install ironic-python-agent==8.6.1.dev13 because these package versions have conflicting dependencies.

    The conflict is caused by:
        ironic-python-agent 8.6.1.dev13 depends on importlib_metadata>=1.7.0
        The user requested (constraint) importlib-metadata===4.11.4

Change-Id: I0cc48d0d5ed17400badb081e9117c9351677bb38
2022-06-10 15:18:46 +02:00
Zuul
c8b89504e9 Merge "Add support for dellos10 switch configuration" 2022-06-10 11:39:21 +00:00
Mark Goddard
804c1cb669 docs: add information about enabling TLS to automated guide
It only covers the internal API VIP, since we don't have a separate
external API in the development environment.

Change-Id: I28f2b43ddb8bad6097e690e766f0348b1b8a296b
2022-06-10 10:15:51 +01:00
John Garbutt
9d8f8645e2 docs: update switch list to include arista eos
The support was added in this commit, but the docs were not updated:
c6263dbfd4dfbac5f53a4fdd94b154811fbd0af6

Change-Id: Icfc5cbc80af1199ad00f78292c6228273af701aa
2022-06-09 22:06:08 +02:00
Will Szumski
1fbb5cb400 Add support for dellos10 switch configuration
Change-Id: I2823016294e7df63f63be9ab26535b3962a71ebe
2022-06-09 21:59:33 +02:00
Rafal Lewandowski
b77033970a Add missing declaration of kolla_enable_hacluster
Story: 2010069
Task: 45540
Change-Id: I0658c0059867468d6032cb1bfa3d05ae0d01c422
2022-06-06 10:28:13 +02:00
Zuul
00eeec773c Merge "ironic: Set MTU on provisioning and cleaning Neutron networks" 2022-05-27 17:47:30 +00:00
Maksim Malchuk
3e7b01ad82 Fix forgotten hacluster regexp for image build
The 'overcloud container image build' command didn't build all the
hacluster images when hacluster is enabled.

TrivialFix

Change-Id: I9150e32579421e46782518948188e1363918fb39
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-05-25 12:34:53 +00:00
Pierre Riteau
d2e0d64eb0 Use yoga upper constraints to avoid Python version conflict
Requirements upper constraints bumped python-novaclient to version
18.0.0 [1], which requires Python 3.8 [2]. This results in failures when
installing python-openstackclient on CentOS and Rocky with Python 3.6.

    ERROR: Cannot install python-openstackclient==5.8.0 because these package versions have conflicting dependencies.

    The conflict is caused by:
        python-openstackclient 5.8.0 depends on python-novaclient>=17.0.0
        The user requested (constraint) python-novaclient===18.0.0

Work around this issue by using yoga upper constraints until we upgrade
to CentOS Stream 9 and Rocky Linux 9.

This also fixes another issue seen on Ubuntu where image uploads to
Glance through Ansible fail with a 400 Bad Request error. This is caused
by the bump of openstacksdk to version 0.99.0 and will be fixed by a new
release of ansible-collections-openstack.

[1] https://review.opendev.org/c/openstack/requirements/+/842808
[2] https://review.opendev.org/c/openstack/python-novaclient/+/838944

Change-Id: I40c6b898963c2218d41d37bd73d40ce8dcf22b87
2022-05-25 09:41:01 +02:00
Zuul
a78c5ed9b6 Merge "[CI] Move queue setting to project level" 2022-05-23 10:13:04 +00:00
Pierre Riteau
19f783b04b [CI] Move queue setting to project level
Per [1].

[1] http://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html

Change-Id: I9cab915803bab882a12841cd40ccc6af2a78dae2
2022-05-18 10:12:58 +02:00
Piotr Parczewski
11c1707b9e Remove GitHub code hosting remnants
Change-Id: I7c87a6c45f036bedae24ac14a5ca245f0b69300c
2022-05-11 16:37:09 +02:00
Zuul
339e86d43c Merge "Multiple DHCP ranges for Ironic Inspector" 2022-05-03 17:40:27 +00:00
Mark Goddard
cd24b6d98e ironic: Set MTU on provisioning and cleaning Neutron networks
Previously we were not applying an MTU defined in Kayobe networks.yml to
the provisioning and cleaning networks in Neutron. This could lead to
issues when nodes communicate with the Ironic and Inspector APIs.

Change-Id: Id9418e4e88c52056412daa22462aa611bfcc59ae
2022-04-29 17:09:49 +01:00
Zuul
364a0d64b6 Merge "kolla_passwords: add no_log for password overrides" 2022-04-29 10:00:37 +00:00
Zuul
ef104ce50e Merge "Fix Bifrost inspection through DHCP-relay" 2022-04-29 09:17:17 +00:00
Zuul
23285083ed Merge "CI: Add some more irrelevant files to zuul jobs" 2022-04-29 09:17:15 +00:00
Zuul
e1611c9977 Merge "Use rsync to update kayobe-config" 2022-04-29 09:17:13 +00:00
Zuul
ffb48d2cf3 Merge "Bump stackhpc.drac role" 2022-04-27 17:03:55 +00:00
Pierre Riteau
62724fec7f Use rsync to update kayobe-config
Using cp will leave removed files in kayobe-config.

Change-Id: Id8febf9f29e3cd230b9e516ab59e0fe9935cf375
2022-04-27 09:56:33 +02:00
Zuul
f7d2f560fa Merge "Fix no_proxy configuration" 2022-04-26 15:58:20 +00:00
Pierre Riteau
5d6b9714ff Bump stackhpc.drac role
This new version fixes the evaluation of check_mode, which is causing
`kayobe overcloud bios raid configure` to fail.

Change-Id: I9c6e261dbac067ca3f9218e6ea81813ddc2f6520
2022-04-22 14:18:14 +02:00
Maksim Malchuk
10b8c1ead0 Cleanup old and deprecated Swift configuration
This is old and deprecated configuration settings for Swift not needed
anymore because kolla-ansible correctly configure glance-api.conf and
glance-swift.conf since Idddbf2ce741e0486d60e1de88c77a7f0332a5a2b when
kolla_enable_swift variable set to true. This change can be backported
through all releases till the Train.

Change-Id: I5273edc8265f115519f499e85fe12f8d22306c4b
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-04-20 17:29:35 +03:00
Pierre Riteau
71eb21a3dd Fix no_proxy configuration
The no_proxy list should only contain domains, hostnames, IP addresses
and networks, but docker_registry is often in the form ip_address:port.

Use urlsplit to extract the hostname from the docker_registry variable
after prepending http:// to turn it into a valid URL.

Also add missing infra-vms to hosts in proxy.yml.

Change-Id: I6424fc405894514a63fb2b641637bbb9d5c070c0
2022-04-19 08:58:22 +02:00
Zuul
45231fdd66 Merge "Revert "[release] Use OpenStack Yoga release"" 2022-04-14 14:33:56 +00:00
Zuul
a7ce5170c2 Merge "docs: Fix custom LVM example" 2022-04-14 13:43:32 +00:00
Zuul
b3254de3d5 Merge "Update documentation link for NCLU" 2022-04-14 13:43:29 +00:00
Maksim Malchuk
43829dadc1 Multiple DHCP ranges for Ironic Inspector
Synchronize with new kolla-ansible parameters introduced in the
Ib69fc0017b3bfbc8da4dfd4301710fbf88be661a for Ironic Inspector.

Depends-On: Ib69fc0017b3bfbc8da4dfd4301710fbf88be661a
Change-Id: I6d9e3acc477c9c4b3bb9db9c01a2db83b9568f59
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-04-14 15:47:32 +03:00
Mark Goddard
07f8e41bbb Revert "[release] Use OpenStack Yoga release"
This reverts commit 88dd02dc92ca4b544aec18bfbb1d1d93954c55fe.

Reason for revert: Master is now Zed

Change-Id: I9a18c41dbdc369a7a719632d6e41e2373784f29e
2022-04-14 08:09:18 +00:00
Mark Goddard
fcf154266a CI: Add some more irrelevant files to zuul jobs
Change-Id: Ia63efdd8a904cac09237dde7d8ae283ed5ae6bea
2022-04-14 09:04:50 +01:00
341bde30b9 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

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

Change-Id: I6fd030ca884d5048a6612ee42ddaa4d267efb3e9
2022-04-14 07:05:03 +00:00
7208a3123a Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

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

Sem-Ver: feature
Change-Id: I915ed0778f0ecdfc50fed407db12f7b76693d4dd
2022-04-14 07:04:59 +00:00