Skip to content
Snippets Groups Projects
  1. Apr 19, 2023
  2. Apr 18, 2023
  3. Apr 17, 2023
    • Matt Crees's avatar
      Build Ubuntu images with IPA when on Ubuntu · bdaeed18
      Matt Crees authored
      Change ``ipa_build_dib_elements_default`` and
      ``ipa_build_dib_env_default`` to use ``os_distribution`` and
      ``os_release`` by default. This allows for Ubuntu images to be built
      when running on Ubuntu.
      
      Rocky will still build CentOS images, as Rocky IPA images have not been
      tested yet.
      
      Change-Id: Iefd2d0b7a3a3e07f5c112d58e2ec0b3da0a747d3
      bdaeed18
  4. Apr 14, 2023
  5. Apr 13, 2023
    • Zuul's avatar
      8dd280e8
    • Mark Goddard's avatar
      Fix passwords.yml generation when parent directory doesn't exist · 52870831
      Mark Goddard authored
      Fixes an issue where generation of passwords.yml for Kolla Ansible
      could fail if the directory containing the file does not exist. This is
      typical in a multiple environment setup, when creating a new
      environment.
      
      Story: 2010293
      Task: 46275
      Closes-Bug: #2015093
      Change-Id: I9dce73a8a205c0c0ad02eba3a10e02b82f5b191d
      52870831
    • Maksim Malchuk's avatar
      Fix maximum width of the DIB Multiline-YAML · 5cf750c3
      Maksim Malchuk authored
      The dib_env_vars variable in the Bifrost's dib.yml file can contain
      the DIB_BLOCK_DEVICE_CONFIG environment variable which is always the
      Multiline-YAML data. By default, the format of the data is not
      preserved while the configuration is merged and saved for the
      bifrost-deploy container.
      
      This is because Ansible uses the PyYAML library which has a default
      80 symbol string length limit. The official Ansible documentation [1]
      recommends using to_yaml or to_nice_yaml filters with width parameter.
      This change adds the same ability to the merge_yaml Ansible plugin.
      
      1. https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#formatting-data-yaml-and-json
      
      
      
      The related change for the diskimage-builder to solve the issue with
      incorrect data provided by Kolla-Ansible is also provided:
      I3b74ede69eb064ad813a9108ec68a228e549e8bb
      
      The related change for Kolla-Ansible is also provided:
      Id79445c0311916ac6c1beb3986e14f652ee5a63c
      
      Closes-Bug: #2014981
      Related-Bug: #2014980
      Change-Id: I339042d9ce405f59aba936dd98df7d89a88bb41e
      Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      5cf750c3
  6. Apr 03, 2023
  7. Apr 01, 2023
  8. Mar 31, 2023
  9. 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
  10. Mar 28, 2023
  11. Mar 21, 2023
  12. Mar 15, 2023
  13. Mar 08, 2023
  14. Mar 07, 2023
    • Bartosz Bezak's avatar
      use OS python to create kolla-ansible venv · 06858145
      Bartosz Bezak authored
      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
      06858145
  15. Mar 06, 2023
  16. Mar 03, 2023
    • Pierre Riteau's avatar
      CI: Disable disk image build in seed-upgrade jobs · 77ca0771
      Pierre Riteau authored
      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
      77ca0771
  17. Feb 21, 2023
  18. Feb 17, 2023
    • Erik Berg's avatar
      Use assert to test/validate condition · e6bd07fa
      Erik Berg authored
      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
      Unverified
      e6bd07fa
  19. Feb 16, 2023
  20. Feb 08, 2023
  21. Jan 26, 2023
  22. Jan 23, 2023
  23. Jan 17, 2023
  24. Jan 16, 2023
  25. Jan 14, 2023
  26. Jan 13, 2023
  27. Jan 12, 2023
  28. 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
Loading