2501 Commits

Author SHA1 Message Date
Zuul
9a9346660b Merge "Deprecate Monasca and dependencies" 2022-10-13 21:38:06 +00:00
Zuul
e26638915a Merge "docs: add missing apt tag" 2022-10-13 21:38:04 +00:00
Alex-Welsh
4661cf7410 Add support for ANSIBLE_VAULT_PASSWORD_FILE
Story: 2006766
Task: 37281

Change-Id: I53fac9ac5cfb17729bf854bd9e16373dc9c2efe2
2022-10-13 22:08:15 +02:00
Piotr Parczewski
2c1a18fd38 Deprecate Monasca and dependencies
Adds a deprecation notice for Monasca and dependent services:
Kafka, Storm, ZooKeeper.

Change-Id: Icdeb0ad7544be27f74ddcb3f70dc48bf6c31d772
2022-10-13 19:11:27 +00:00
Mark Goddard
9dd4b62aa3 docs: add missing apt tag
Change-Id: Iccfd043d1818a3ebcd4fc3cd49ce24da05ca6b5d
2022-10-13 16:21:36 +01:00
Alex-Welsh
c81d9e8b2c Fix bug trying to decrypt a plaintext file
Story: 2010315
Task: 46382
Change-Id: I840a56339c826d05da663f8cc8eb0623ad12c468
2022-10-12 14:55:17 +01:00
Zuul
1440acd60e Merge "added option to skip hooks" 2022-10-12 09:13:46 +00:00
Pierre Riteau
69ef2b3b3e Remove trailing whitespace
Change-Id: I7c863d1875908d2b885918ec7caed747ae6e345b
2022-10-07 16:23:56 +02:00
Zuul
14a04a69cc Merge "Add prometheus-msteams group to kayobe" 2022-10-07 14:21:33 +00:00
Zuul
071cf6c027 Merge "Fix for sed in write_bifrost_clouds_yaml function" 2022-10-07 14:14:23 +00:00
Pierre Riteau
642486d821 Fix comment in OvercloudPostConfigure
Change-Id: I56a25a82ad696122a37ffb1a347d72f0722b5757
2022-10-07 16:07:20 +02:00
Pierre Riteau
cd46e1524c Update comments for host configure commands
Change-Id: I249ec3e3417db31d1f0d880ac9b101f88cac2fe5
2022-10-07 16:03:55 +02:00
Rafal Lewandowski
29c6f2ef88 Fix for sed in write_bifrost_clouds_yaml function
Fixed sed replacement line.

Change-Id: I2e26a08ea37e5f558af533b38d096f011ed2a5b8
2022-10-07 13:42:21 +02:00
k-s-dean
fa40aab7ff Add prometheus-msteams group to kayobe
This adds the prometheus-msteams group into
overcloud-services.j2 as it's missing and has been added
in the yoga release to kolla-ansible.

Change-Id: Ie9b9c49c3f382612a11a6184c30f11c57d40494d
2022-10-07 10:59:02 +01:00
Alex-Welsh
d7069283fd added option to skip hooks
adds the argument --skip-hooks/-sh which will stop the execution of
hooked ansible playbooks. Either a pattern can be specified to match
against or hook execution can be stopped altogether with "all"

Story: 2009241
Task: 43390

Change-Id: I4f2176aa056fec62e31d07140e3d05779480a93d
2022-10-04 14:40:31 +01:00
Michal Nasiadka
b3cc98d302 CI: Set previous_release to Yoga - part 2
Followups after I295e8f5f1cc9b7af1cd45ac788db473510220170

Change-Id: I798a59ffeff060352e73ae755314a83222c92260
2022-10-04 13:35:33 +02:00
Zuul
470a36a7b5 Merge "Update write_bifrost_clouds_yaml logic" 2022-10-04 11:24:59 +00:00
Rafal Lewandowski
20e2ac9cbd Update write_bifrost_clouds_yaml logic
This is changed in order to facilitate running Ironic checks before
OpenStack is deployed.

Change-Id: Ibc4c9c93f52414c23cd7d8b4f1b32c85cb233681
2022-10-04 09:18:38 +02:00
Pierre Riteau
0db7684428 Update to latest CentOS Stream 8 cloud image
Change-Id: I4c3afb71600781dffe8072303d775cbfad16cbac
2022-09-30 09:10:02 +00:00
Pierre Riteau
2f2387fc3b Remove support for Ironic boot option
This has been dropped upstream in Ironic [1].

[1] https://review.opendev.org/c/openstack/ironic/+/850240

Change-Id: Ib95cdadb00a84edbf6d17de1c2bd450c002e798e
2022-09-30 09:09:59 +00:00
Michal Nasiadka
05a2c1acbd CI: Set previous_release to Yoga
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/859828

Change-Id: I295e8f5f1cc9b7af1cd45ac788db473510220170
2022-09-29 10:11:52 +00:00
Zuul
608951fcce Merge "Add new DIB upper constraints variables" 2022-09-15 10:18:11 +00:00
Michal Nasiadka
9cbd1e2f52 CI: Drop centos8s and rocky8 jobs
After I3f7b480519aea38c3927bee7fb2c23eea178554d kolla-ansible
does not support EL8.

Those will be readded as Rocky9 via [1].

[1]: https://review.opendev.org/c/openstack/kayobe/+/855656

Change-Id: I6c3f9d8c54d0c6819092bd68b724a28048ac9e16
2022-09-13 13:03:37 +02:00
Rafal Lewandowski
e10f176ce1 Add new DIB upper constraints variables
overcloud-dib: added overcloud_dib_dib_upper_constraints_file
ipa: added ipa_build_dib_upper_constraints_file
added os_images_dib_upper_constraints_file to image build
playbooks

New variables were added to facilitate control over the DIB
upper constraints without changing them for other components.
They are empty by default in order to facilitate Rocky9
image builds.

Change-Id: Ib50dd61685f13c60ace67213ddd1e714a80dece3
2022-09-13 11:23:58 +02:00
Pierre Riteau
6d7b8812ae Support configuring VLANs with systemd-networkd syntax
This allows operators to configure arbitrarily named VLAN interfaces
using systemd-networkd.

Story: 2010266
Task: 46178

Change-Id: I666d7011bde0050ebc509b427c1d4f5a66b6231a
2022-09-09 17:57:11 +02:00
Zuul
4a3f88694e Merge "Move group_vars to an inventory directory" 2022-09-08 14:48:26 +00:00
Will Szumski
a7affb3a5e Adds missing variables to ssh.yml
TrivialFix

Change-Id: Icc13737b5e04be84a01e0be7c90a5e6b1a0cefa8
2022-09-08 11:59:16 +01:00
Will Szumski
5b578b9793 Adds missing variables to seed-vm.yml
TrivialFix

Change-Id: I845df2682ee32d0622d49cbcc5fa82a4e2873435
2022-09-08 11:56:53 +01:00
Will Szumski
7c9e738046 Add missing variables from neutron.yml
Change-Id: Id18613fdf12b27374846fdbbac451c99deff2233
2022-09-08 11:49:30 +01:00
Will Szumski
a4e9d5124c Adds missing sasl options to compute.yml
TrivialFix

Change-Id: I8129b2a6793ea36bb296ef8337a5461f73d6e557
2022-09-08 10:49:56 +01:00
Michal Nasiadka
cfb5c004ea nclu-switch: Fix order in template
Currently description is applied first to the interface, but if it's a
virtual one - it won't exist before running the configuration commands.

Story: 2010279
Task: 46232

Change-Id: I40212b40a4d391272f4063f42e8a7043b3d58fd7
2022-09-08 11:33:33 +02:00
Mark Goddard
af3b719b73 Move group_vars to an inventory directory
The group variables originally in ansible/group_vars/ were playbook
group variables, due to being adjacent to the playbooks. Typically they
provided default values for global variables in the all group, as well
as some more specific groups. This has worked fairly well, but results
in (at least) a couple of problems.

1. The default variable precedence rules mean that these playbook group
   variables have a higher precedence than inventory group variables
   (for a given group). This can make it challenging to override
   playbook group variables in the inventory in Kayobe configuration.

2. Any playbook run by Kayobe must be in the same directory as the
   playbook group variables in order to use them. Given that they
   include variables required for connectivity such as ansible_host and
   ansible_user, this is quite critical. For Kayobe custom playbooks, we
   work around this by symlinking to the group_vars 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.

Story: 2010280
Task: 46233

Change-Id: Ifea5c7e73f6f410f96a7398bfd349d1f631d9fc0
2022-09-08 10:11:23 +01:00
Scott Solkhon
0946100f6d Update base image for Vagrant vm
CentOS8 is no longer supported but CentOS8 Stream is.

Change-Id: I2e3d41aa7f26ae4139e73c7b4ed4e76d1df94eee
2022-09-02 15:59:52 +01:00
Zuul
6e2f5a1884 Merge "Fix IP allocation limit in overcloud inventory discover" 2022-08-29 14:37:41 +00:00
Zuul
51b8b6f43f Merge "unit tests: Use assertListEqual and maxDiff = None" 2022-08-26 16:45:42 +00:00
Zuul
a2985978fa Merge "Improve comments in networking config files" 2022-08-26 16:45:39 +00:00
Zuul
149ed3469c Merge "Support --kolla-playbook argument" 2022-08-26 16:45:36 +00:00
Zuul
12b37356ba Merge "Fix use of become_user by installing acl package" 2022-08-26 16:45:33 +00:00
Zuul
a4281c54ee Merge "Remove timezone playbook" 2022-08-26 16:45:30 +00:00
Zuul
73b9ec07b4 Merge "Add support for specifying SNAT source and destination filters" 2022-08-26 16:19:11 +00:00
Zuul
a9292dc7f2 Merge "Remove unused parameter from seed container example" 2022-08-26 16:19:08 +00:00
Zuul
440c8b0e14 Merge "docs: fix formatting" 2022-08-26 14:33:19 +00:00
Mark Goddard
d490367634 Fix IP allocation limit in overcloud inventory discover
After generating an inventory file in 'kayobe overcloud inventory
discover', the IP allocation playbook runs to allocate IP addresses for
the new hosts. Currently this runs without a limit, meaning it targets
all hosts. This change fixes it to use a limit of overcloud.

TrivialFix

Change-Id: Ic3a98fb9e741a2dea792b2e6cf6a6ff802d099a2
2022-08-26 14:19:14 +00:00
Zuul
d7fa6c5358 Merge "Support authentication in Bifrost" 2022-08-26 13:35:34 +00:00
Mark Goddard
32a82ea039 Support authentication in Bifrost
* Switch from python-ironic-inspector-client to openstacksdk in
  ironic-inspector-rules. This allows us to use clouds.yaml to provide
  credentials.
* Enable authentication in Bifrost. Passwords are auto-generated by
  Bifrost, and stored files in /root/.config/bifrost/. This change
  depends on a Kolla Ansible patch that ensures that these credentials
  are persisted between recreations of the bifrost container.
* Copy clouds.yaml and (if present) a CA certificate from the Bifrost
  container to the seed host, under the Kayobe Ansible user (stack).
  This allows us to use the credentials to register introspection rules.
* This patch is needed by a Kolla Ansible patch that enables TLS in
  Bifrost, since we need the CA certificate on the host to register
  introspection rules when TLS is enabled.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/851837
Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/851838

Story: 2010206
Task: 45930

Change-Id: I757f1bb72afb01a4f1689bed292f5b71b9048fa0
2022-08-25 11:56:03 +02:00
Pierre Riteau
15ff2be7e5 docs: fix formatting
Change-Id: I26f6b1a995014e14688d072c43f375b3897e4416
2022-08-23 18:18:53 +02:00
Mark Goddard
0e4af118eb Support additional build host packages for IPA & overcloud
Adds support for installing additional build host dependencies when
building IPA and overcloud host images via
'ipa_build_dib_host_packages_extra' and
'overcloud_dib_host_packages_extra'.

Support for installing additional host packages was added in
stackhpc.os-images v1.15.0 [1].

[1] https://github.com/stackhpc/ansible-role-os-images/pull/63

Change-Id: I1a05d448031cb415cec4cd601a030abdb8a5eba5
2022-08-22 15:24:55 +02:00
Mark Goddard
a477cd9022 Fix use of become_user by installing acl package
Change-Id: I69bf810632d09eddaa3983ae56e833debe9fd03b
2022-08-17 11:29:36 +01:00
Pierre Riteau
3903ca92e9 Add support for specifying SNAT source and destination filters
This is useful if forwarded packets need to exit on a different
interface depending on the source or destination IP address or port.

Change-Id: Ifbfbade4baaa1901b08549e52acc725e45379a16
2022-08-11 12:42:57 +02:00
Zuul
a2f9801034 Merge "Add support for Ubuntu Jammy Jellyfish (22.04) LTS" 2022-08-08 09:29:02 +00:00