Skip to content
Snippets Groups Projects
  1. Dec 03, 2023
  2. Nov 30, 2023
    • Will Szumski's avatar
      Adds initial support for vGPUs · bd36b5f0
      Will Szumski authored
      Adds support for configuring vGPUs on NVIDIA hardware.
      
      Closes-Bug: #2028843
      Change-Id: I4c8481f7429dbf50d51e26bd7acee24e16ee6c79
      bd36b5f0
  3. Nov 01, 2023
    • Mark Goddard's avatar
      switches: add flag to save configuration on Dell switches · 35259800
      Mark Goddard authored
      Currently only supported on Dell OS9 and OS10 switches, and provides no
      CLI integration.
      
      Change-Id: Ia9242ed823868cba3a27fb9344a3b01283528d87
      35259800
    • Mark Goddard's avatar
      Allow more fine-grained groups for ironic, loadbalancer & network · 2071dc9a
      Mark Goddard authored
      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
      2071dc9a
    • Maksim Malchuk's avatar
      Fix an issue when user forgot combine custom passwords · 73abf0e5
      Maksim Malchuk authored
      
      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: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      73abf0e5
    • Mark Goddard's avatar
      Fix setting kolla_admin_openrc_cacert · 95729405
      Mark Goddard authored
      
      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: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      95729405
  4. Oct 25, 2023
    • Mark Goddard's avatar
      Remove unsupported kolla_docker_registry_insecure variable · 1dce9909
      Mark Goddard authored
      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
      1dce9909
  5. Oct 18, 2023
    • Alex-Welsh's avatar
      Add seed_deploy_containers_registry_attempt_login · 1476b9a6
      Alex-Welsh authored
      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
      1476b9a6
  6. Oct 10, 2023
    • Pierre Riteau's avatar
      Remove disable-selinux from default DIB elements · d1491184
      Pierre Riteau authored
      Change-Id: I7ef0c5240585bfdc27fbdf6b32edd5b51ce2d147
      d1491184
    • Alex-Welsh's avatar
      Add option to skip kolla docker registry login · 57d77641
      Alex-Welsh authored
      This change adds a variable that can be used to disable kolla docker
      registry login attempts, even when the registry username and password
      are set.
      
      This is required for deployments using a non-standard containerised
      registry deployed on the seed during the deploy-container step,
      since it takes place after the registry login attempt.
      
      Change-Id: Ie17ef9ce1147cbaec2e42db932c7d59293b49b1b
      57d77641
  7. Sep 12, 2023
    • Alex-Welsh's avatar
      Fix ipa_build_dib_elements_default comments · 508bd3fe
      Alex-Welsh authored
      The default value for ipa_build_dib_elements_default was previously
      changed in Iefd2d0b7a3a3e07f5c112d58e2ec0b3da0a747d3. This change
      updates the comments to match.
      
      Change-Id: I47e5acb19c806a1067879c9cf5fa5ccb7f07ccd4
      508bd3fe
  8. Aug 18, 2023
    • Maksim Malchuk's avatar
      Add custom user_data content configuration for Bifrost · a9f46894
      Maksim Malchuk authored
      
      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: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      a9f46894
    • Bartosz Bezak's avatar
      Add STP option for bridge interfaces · f1fd127c
      Bartosz Bezak authored
      For Rocky Linux 9, Kayobe will now disable STP on a bridge by default,
      to preserve compatibility with network scripts, as Network Manager
      enables STP on all bridges by default.
      Enabling STP can lead to port down event if BPDU guard is enabled
      on the switch.
      
      Closes-Bug: #2028775
      
      Change-Id: I35eaa92f4243af00697306aa801e5a733885ce4f
      f1fd127c
  9. Jul 11, 2023
  10. Jun 16, 2023
    • Matt Crees's avatar
      Correct name for role mrlesmithjr.manage_lvm · 505bb28b
      Matt Crees authored
      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
      505bb28b
  11. May 30, 2023
    • Will Szumski's avatar
      Kayobe environment dependencies · 0ae9e8d4
      Will Szumski authored
      Allows you to combine multiple environments by declaring any dependencies.
      
      Story: 2002009
      Task: 42911
      Change-Id: I4d9f96ec4cf3c6cd0d28dfe5ddb239d863498a72
      0ae9e8d4
    • Mark Goddard's avatar
      Use merge_configs and merge_yaml to generate Kolla custom config · 428ef10f
      Mark Goddard authored
      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
      428ef10f
    • Will Szumski's avatar
      Pass through kolla inventories as is · c75a32e7
      Will Szumski authored
      Previously, we only supported passing through group_vars. Passing
      through the inventory as is allows you to use other features of ansible
      inventory such as host vars. It also simplifies the logic of merging
      multiple inventories as we can just pass the inventory to ansible and
      let ansible take care of the rest. This is useful for the multiple
      environments feature.
      
      Change-Id: I28f5d73d414d405d67f5fc92ab371aa2e28a4ce3
      Story: 2002009
      Task: 42910
      Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/802863
      c75a32e7
  12. Apr 19, 2023
  13. Apr 13, 2023
  14. Mar 30, 2023
    • Mark Goddard's avatar
      Stop using kolla-ansible bootstrap-servers · c9f8d80b
      Mark Goddard authored
      The 'kayobe * host configure' commands no longer use the 'kolla-ansible
      bootstrap-servers' command, and associated 'baremetal' role in Kolla
      Ansible. The functionality provided by the 'baremetal' role has been
      extracted into the openstack.kolla Ansible collection, and split
      into separate roles. This allows Kayobe to use it directly, and only the
      necessary parts.
      
      This change improves failure handling in these Kayobe commands, and aims
      to reduce confusion over which '--limit' and '--tags' arguments to
      provide.  This ensures that if a host fails during a host configuration
      command, other hosts are able to continue to completion. Previously, if
      any host failed during the Kayobe playbooks, the 'kolla-ansible
      bootstrap-servers' command would not run. This is useful at scale, where
      host failures occur more frequently.
      
      This change has implications for configuration of Kayobe, since some
      variables that were previously in Kolla Ansible are now in Kayobe.
      
      Several parts of the baremetal role have been split out and used here:
      
      * apparmor-libvirt: disable AppArmor rules for libvirt on Ubuntu.
      * docker: Docker installation & configuration. The docker role in
        openstack.kolla combines functionality from kolla-ansible and kayobe.
      * etc-hosts: it proved difficult to generalise this, so we have some
        almost duplicated the code from kolla-ansible here. Requires delegated
        fact gathering for the case when --limit is used.
      * firewall: support to disable UFW, for feature parity.
      * kolla-packages: miscellaneous package installs & removals.
      
      The addition of the stack user to the docker group has been moved to the
      user bootstrapping playbook, and the docker SDK installation has been
      moved to the virtualenv setup playbook.
      
      Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/829587
      
      Story: 2009854
      Task: 44505
      
      Change-Id: I61a61ca59652b13687c2247d5881012b51f666a7
      c9f8d80b
  15. Mar 28, 2023
  16. Mar 06, 2023
  17. Feb 21, 2023
    • Maksim Malchuk's avatar
      Fix an issue when 'acl' package can be forgotten · 5e8a8233
      Maksim Malchuk authored
      
      This is folllowup on I69bf810632d09eddaa3983ae56e833debe9fd03b to
      avoid user accidentely forgot the 'acl' package when override the
      dev_tools_packages_default in their custom configuration. Also this
      adds an ability to customise list of packages installed in addition
      to the default list.
      
      Change-Id: I03a826e98a18b158774ba100cfa2987299eb6c25
      Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      5e8a8233
  18. Jan 10, 2023
    • Matt Crees's avatar
      Add command to run config validation · 4af5fd17
      Matt Crees authored
      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
      4af5fd17
  19. Jan 06, 2023
  20. Jan 05, 2023
  21. Dec 24, 2022
  22. Dec 15, 2022
    • Mark Goddard's avatar
      Some Rocky Linux 9 cleanups · 5846d81c
      Mark Goddard authored
      * Fix description of kolla_base_distro
      * Update support matrix notes
      
      Change-Id: Ibc2b9b647766231029fdc2c0e3671e872b1ae366
      5846d81c
  23. Dec 14, 2022
    • Mark Goddard's avatar
      Use environment variables for plugin paths · 73df2767
      Mark Goddard authored
      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
      73df2767
    • Pierre Riteau's avatar
      docs: Use recent dependencies update change · 5207d881
      Pierre Riteau authored
      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
      5207d881
  24. Dec 13, 2022
  25. Dec 12, 2022
    • Bartosz Bezak's avatar
      Move to Rocky Linux 9 · 2f447f65
      Bartosz Bezak authored
      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
      2f447f65
    • as0's avatar
      Custom Ansible Playbooks minor doc fix · 61eef11d
      as0 authored
      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
      61eef11d
  26. Dec 09, 2022
  27. Dec 07, 2022
    • Mark Goddard's avatar
      Support configuration of swap · 0c074431
      Mark Goddard authored
      Supports creating and using swap files, or using pre-existing swap
      devices.
      
      Story: 2004958
      Task: 29390
      
      Change-Id: Iadb540f42036a4a63cdd5b695b82f1504b3a4a28
      0c074431
  28. Dec 02, 2022
    • Mark Goddard's avatar
      Build overcloud host images via DIB by default · 50f5fb14
      Mark Goddard authored
      Changes overcloud_dib_build_host_images to true, as promised in
      I93d242889e225b4e60254f6b9cc5eeb457294ac8.
      
      Change-Id: I322432985535348fb4ebe5bff7db5dd68f16b340
      50f5fb14
    • Mark Goddard's avatar
      Remove kolla_install_type variable · 3c1b9c4d
      Mark Goddard authored
      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
      3c1b9c4d
Loading