Commit Graph

431 Commits

Author SHA1 Message Date
Zuul b87ac863ae Merge "Add Redfish rules to Ironic and Bifrost introspection" 2024-04-03 18:30:17 +00:00
Rafal Lewandowski be2b1a4eda Add Redfish rules to Ironic and Bifrost introspection
Change-Id: I719fc8042742fe8b3b0312658aec39317a1bc358
2024-04-03 09:28:35 +00:00
Jakub Darmach dbcc3f4ae3 Use new collections in Kayobe
Refactored the code to switch the distribution source of the roles
to new collections for the roles that have already been migrated into
collections.

Updated:

 - requirements
 - role invocations
 - documentation
 - release notes
 - minor whitespace fixes

Change-Id: I8dbb88aa2061b3afcab07caeb30f45b3a5c939af
2024-03-27 15:07:08 +00:00
Pierre Riteau e460099e1a Remove default value from sample configuration
This was added in change I8129b2a6793ea36bb296ef8337a5461f73d6e557.

Change-Id: I028e137dade594f51450e47ba4a97c0435ba6796
2024-03-05 18:12:29 +01:00
Will Szumski b360342c59 Fix typo in example
Change-Id: Ie4912af9717baa65f1a8a31cf4b425a6802e7c98
Closes-Bug: #2051128
2024-02-20 15:53:43 +00:00
Mark Goddard db3f22d42d Support auth configuration for Apt repositories
This allows use of repositories and proxies protected with HTTP basic
authentication.

Change-Id: I0ec4ec3e9d60bb1431b44dd6718415214ad80025
2024-02-11 12:49:16 +01:00
Will Szumski 280e84be82 Remove docker devicemapper support
This has now been removed from upstream docker-ce packages.

```
the devicemapper storage-driver has been deprecated and removed
```

and has shown deprecation warnings for some time.

This change also includes some fixes necessary for CI to pass:

* update the Zuul previous_release variable to 2023.2

Closes-Bug: #2051233
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/906858
Change-Id: I263f59ea77e39accffe4febe0d47e56b35d9800e
2024-02-01 14:10:09 +00:00
Pierre Riteau dd8cf81607 Revert "Use OpenStack 2023.2 release"
This reverts commit 99f5b64956.

Reason for revert: 2023.2 has been branched and released

Change-Id: I38fc5dcadda5103d63a11022825e8e167408677d
2023-12-08 11:55:04 +01:00
Zuul 9d529f6512 Merge "Use OpenStack 2023.2 release" 2023-12-06 10:59:46 +00:00
Pierre Riteau 99f5b64956 Use OpenStack 2023.2 release
Switch all dependencies to use the OpenStack 2023.2 release.

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

Change-Id: I749a1ac30fa15cf7faa456fcb90c4ddbbef77cc9
2023-12-01 15:58:47 +01:00
Pierre Riteau e2f5d75f8d [release] Sync with Kolla Ansible for 2023.2
Change-Id: I5cd9dacea10f0e00b3d481704f0949b6f5c4a69e
2023-12-01 15:52:47 +01:00
Will Szumski bd36b5f018 Adds initial support for vGPUs
Adds support for configuring vGPUs on NVIDIA hardware.

Closes-Bug: #2028843
Change-Id: I4c8481f7429dbf50d51e26bd7acee24e16ee6c79
2023-11-30 14:33:32 +01:00
Zuul 409d85758a Merge "Allow more fine-grained groups for ironic, loadbalancer & network" 2023-11-30 11:20:16 +00:00
Michal Nasiadka beb6ec7903 Remove Monasca and co remnants
Change-Id: I2577245440d510ab19f48915479a8e3575b996b7
2023-11-15 18:53:55 +01:00
Zuul b31023ea54 Merge "Fix setting kolla_admin_openrc_cacert" 2023-11-09 01:35:47 +00:00
Zuul 79ebd52445 Merge "Fix an issue when user forgot combine custom passwords" 2023-11-08 16:55:53 +00:00
Zuul 29f7b3b755 Merge "Add seed_deploy_containers_registry_attempt_login" 2023-11-01 16:16:58 +00:00
Mark Goddard 2071dc9a38 Allow more fine-grained groups for ironic, loadbalancer & network
Kayobe has fairly coarse-grained default groups - controller, compute,
etc, which work well in the majority of cases. Kolla Ansible allows much
more fine-grained placement on a per-service basis, e.g.
ironic-conductor. If the operator has taken advantage of this
fine-grained placement, then it is possible that some of the assumptions
in Kayobe may be incorrect. This is one downside of the split between
Kayobe and Kolla Ansible.

For example, Ironic conductor services may have been moved to a subset
of the top level 'controllers' group. In this case, we would not want
the Ironic networks to be mapped to all hosts in the controllers group -
only those running Ironic conductor services. The same argument can be
made if the loadbalancer services (HAProxy & keepalived) or Neutron
dataplane services (e.g. L3 & DHCP agents) have been separated from the
top level 'network' group.

This change abstracts the placement of Ironic conductor Ironic
inspector, loadbalancer and network services into separate variables,
rather than referencing the top level 'controllers' and 'network' groups
directly. These variables may be updated by the operator to match the
service placement.

Change-Id: Idbf181c795ee98ad653f11ae483f9dab4ef1b599
2023-11-01 16:16:45 +00:00
Maksim Malchuk 73abf0e57e Fix an issue when user forgot combine custom passwords
Fixes an issue when user forgot to combine
'kolla_ansible_custom_passwords',
'kolla_ansible_default_custom_passwords' and own dictionary with
custom passwords in configuration files. Now
'kolla_ansible_extra_custom_passwords' should provide only user
custom passwords to add or override in the passwords.yml.

Change-Id: I4813a1f6ab9cb566596e806bd0ada6dff342d119
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-11-01 11:30:45 +00:00
Mark Goddard 95729405a3 Fix setting kolla_admin_openrc_cacert
Kolla Ansible renamed kolla_internal_fqdn_cacert to
kolla_admin_openrc_cacert in Victoria, after which we no longer set the
variable correctly in globals.yml. This would lead to a missing
OS_CACERT in admin-openrc.sh and public-openrc.sh.

This change fixes the issue by renaming the relevant Kayobe variables to
match and passing through the correct variable. Backwards compatibility
is provided until the end of the deprecation period.

kolla_public_openrc_cacert -> kolla_external_fqdn_cacert
kolla_admin_openrc_cacert -> kolla_internal_fqdn_cacert

Story: 2010486
Task: 47054

Change-Id: I9e1cc20579cf80525d6ef732a1aac99a65bc171b
Co-Authored-By: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-11-01 10:55:19 +00:00
Zuul bd9043dca0 Merge "Remove unsupported kolla_docker_registry_insecure variable" 2023-10-26 18:48:49 +00:00
Zuul 3a4600081e Merge "Add custom user_data content configuration for Bifrost" 2023-10-26 15:52:30 +00:00
Zuul 6c9957f3c5 Merge "Remove disable-selinux from default DIB elements" 2023-10-26 15:38:50 +00:00
Mark Goddard 1dce99094b Remove unsupported kolla_docker_registry_insecure variable
This variable is not supported since
I61a61ca59652b13687c2247d5881012b51f666a7, but was not removed from
etc/kayobe/kolla.yml in that change.

This change also adds the replacement variable docker_registry_insecure
to etc/kayobe/docker.yml.

TrivialFix
Change-Id: I3fa96f0276e08a6678e5d743399d01bc19a8dd1b
2023-10-25 15:45:31 +00:00
Alex-Welsh 1476b9a68b Add seed_deploy_containers_registry_attempt_login
Follow on to Ie17ef9ce1147cbaec2e42db932c7d59293b49b1b

Adds seed_deploy_containers_registry_attempt_login variable to seed.yml,
which acts as a redirection of deploy_containers_registry_attempt_login
so that the variable is more descriptive, declared in a better location,
and extensible to other groups

Change-Id: I86d8f13062ff8e664919cd5d63bc17bdafb32e0c
2023-10-18 14:56:23 +01:00
Pierre Riteau d149118449 Remove disable-selinux from default DIB elements
Change-Id: I7ef0c5240585bfdc27fbdf6b32edd5b51ce2d147
2023-10-10 21:04:08 +02:00
Pierre Riteau 44af704836 Add introspection rule to update deploy kernel location
Back in the Ussuri release, we changed the Bifrost kernel location to
use ipa.kernel instead of ipa.vmlinuz. While this works fine for newly
discovered nodes, any node added to Bifrost in Train or earlier will
have kept ipa.vmlinuz as its deploy kernel.

This can cause issues since upgrading Bifrost or building new deployment
images will update ipa.kernel, but not ipa.vmlinuz, resulting in nodes
booting with an old kernel and a new ramdisk.

Fix by adding a new rule updating the legacy kernel location and
documenting how to update node information.

Change-Id: I6ae44dcae78424b4638762d015cf24336444707f
2023-10-10 13:09:12 +02:00
Alex-Welsh 508bd3fe45 Fix ipa_build_dib_elements_default comments
The default value for ipa_build_dib_elements_default was previously
changed in Iefd2d0b7a3a3e07f5c112d58e2ec0b3da0a747d3. This change
updates the comments to match.

Change-Id: I47e5acb19c806a1067879c9cf5fa5ccb7f07ccd4
2023-09-12 15:16:12 +01:00
Zuul a5882071f7 Merge "Use merge_configs and merge_yaml to generate Kolla custom config" 2023-09-01 18:12:17 +00:00
Maksim Malchuk a9f4689402 Add custom user_data content configuration for Bifrost
Since I2831e58d84f1da03485f8315eccdd2e79231e584 is used by Bifrost
we add custom user_data content configuration for Bifrost.

Story: 2010580
Task: 47336
Change-Id: I989069f3b3b43bc7a7a2e46ef5f046b8ed7cf8d1
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-08-18 14:11:11 +00:00
Bartosz Bezak d7b648a82e Revert "Use OpenStack 2023.1 release"
This reverts commit 16a61da41a.

Reason for revert: 2023.1 has been branched and released

Change-Id: Ief6b68144dd2d161ca6e98888934888cdfee49a4
2023-06-20 13:22:50 +00:00
Matt Crees 505bb28b8d Correct name for role mrlesmithjr.manage_lvm
The name of ``mrlesmithjr.manage_lvm`` was changed yesterday in release
v0.2.10 to use an underscore, instead of a hyphen. As this changes the
name of the role on Ansible Galaxy, it needs to be updated in
``requirements.yml``.

Closes-Bug: #2024163
Change-Id: I4ea8d8c3a822a7c217bcfcfd5027eecfd21beaed
2023-06-16 11:01:34 +01:00
Mark Goddard 428ef10fa4 Use merge_configs and merge_yaml to generate Kolla custom config
This patch adds new functionality - merging base & environment specific
kolla config. This allows you to place common settings in the base
configuration and only keep environment specific settings in the
environment directories.

Change-Id: Id4588f4529a4522e68e22ce58711cb927fa68a9d
Story: 2002009
Task: 42903
2023-05-30 16:47:14 +00:00
Matt Crees 16a61da41a Use OpenStack 2023.1 release
Switch all dependencies to use the OpenStack 2023.1 release.

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

Change-Id: Id5e946fd7b0526faea99536f4a055f0f5c2b8176
2023-05-29 10:56:08 +00:00
Matt Crees 0e984c4d47 2023.1 RC1 - Sync KA feature flags & inventories
Preparations for Antelope RC1.

Synchronises Kayobe with the Kolla-Ansible feature flags and inventory.

Change-Id: I89a3fd800fafb29be27846806de4e6465209134c
2023-05-26 12:07:55 +00:00
Maksim Malchuk 2ab498f955 Fix kayobe_config_path description in globals.yml
This change fixes the description accidently copied from the
'kayobe_env_config_path' description.

TrivialFix

Change-Id: I7b9ced54ad886b3f92f7c757adc2efafa4cbfa4e
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-04-02 01:36:59 +03:00
Zuul 6f6c0d3bee Merge "Add Hashi Vault support for Kolla passwords" 2023-01-23 20:09:53 +00:00
Bartosz Bezak 0c11102afe Revert "Use OpenStack Zed release"
This reverts commit 65c59b9f59.

Reason for revert: Zed has been branched and released

Change-Id: I2d87017c27139b5e0154edef006ad61d665ede2a
2023-01-12 10:46:49 +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
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
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
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 7b0fa1cd8f Merge "[release] Sync Kolla Ansible feature flags for Zed" 2022-12-13 10:05:17 +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
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 a50fdb6b7f Merge "Remove kolla_install_type variable" 2022-12-07 12:53:48 +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