Skip to content
Snippets Groups Projects
  1. Oct 25, 2024
  2. Oct 16, 2024
  3. Oct 07, 2024
  4. Oct 03, 2024
  5. Oct 02, 2024
    • Pierre Riteau's avatar
      Fix group and mode of /var/log/journal · 5ed077cb
      Pierre Riteau authored
      This updates the group and mode set on the /var/log/journal directory to
      match default ownership and permissions used by systemd-journald.
      
      Closes-Bug: #2083494
      Change-Id: I15323b95199b9ef19504c7408dd89720f9ba9c32
      5ed077cb
  6. Sep 30, 2024
  7. Sep 27, 2024
  8. Sep 13, 2024
    • Mark Goddard's avatar
      Support skipping SSH keyscan for older switch devices · 7e3e6558
      Mark Goddard authored
      Some network devices may use SSH key exchange algorithms that are no
      longer supported by the Ansible control host. This will cause
      ssh-keyscan to fail, preventing Kayobe from configuring the devices.
      This change makes it possible to work around the issue by setting
      switch_skip_keyscan to true for the affected devices. The SSH known
      hosts file on the Ansible control host will need to be populated
      manually.
      
      Change-Id: I4e3394cff1fd86eb5c1a4be55d6fd7fd080b2944
      7e3e6558
  9. Sep 06, 2024
    • Michal Nasiadka's avatar
      arista-switch: Fix eos_config call · 32489a45
      Michal Nasiadka authored
      eos_config does not support provider, nor connection: local from at
      least 2022 [1] - since ansible>=7 (ansible-core 2.14).
      
      [1]: https://github.com/ansible-collections/arista.eos/commit/588d94b2ed22817b63f996187e7d757d3ebad725
      
      Closes-Bug: #2058365
      Change-Id: Ief37b7bee758e34dddb881a9e68728013861c0ec
      32489a45
    • Mark Goddard's avatar
      Add redfish_address variable and support discovering it · 425e0020
      Mark Goddard authored
      During the ``kayobe overcloud inventory discover`` command, Kayobe
      queries the Bifrost ironic node list and updates the Kayobe inventory.
      If the nodes have a driver_info.ipmi_address field set, an ipmi_address
      variable will be defined in the Kayobe inventory for the host.
      
      This does not work for Redfish based hosts, which use
      driver_info.redfish_address in the Ironic node. This change adds a new
      ``redfish_address`` variable and extends the command to discover the
      address from the Bifrost node inventory.
      
      Change-Id: Ieb1e61ddadb542732739d1f478b1e5a176e0ac88
      425e0020
    • Mark Goddard's avatar
      Add support for customising Neutron physical network names · ad64ebc9
      Mark Goddard authored
      Previously Kolla Ansible hard-coded Neutron physical networks starting
      at physnet1 up to physnetN, matching the number of interfaces in
      neutron_external_interface and bridges in neutron_bridge_name.
      
      Sometimes we may want to customise the physical network names used.
      This may be to allow for not all hosts having access to all physical
      networks, or to use more descriptive names.
      
      For example, in an environment with a separate physical network for
      Ironic provisioning, controllers might have access to two physical
      networks, while compute nodes have access to one.
      
      This change extends the 'physical_network' network attribute to make it
      possible to customise the Neutron physical network names used for the
      OVS, OVN, Linux bridge and OVS DPDK plugins. The default behaviour is
      unchanged.
      
      Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/922320
      Change-Id: I214444c60653f484fcda6275cc725879d14f9e7a
      ad64ebc9
  10. Sep 04, 2024
    • Maksim Malchuk's avatar
      Add initial support for systemd-networkd link configuration · 2c22526f
      Maksim Malchuk authored
      
      Added initial support for systemd-networkd link configuration, now
      you can configure and rename the name of a network interface if you
      know the MAC address of the interface.
      
      Also added unit tests and fixed issues in the test_overcloud_host_configure.py:
       * Added unit test for networkd.
       * Fixed pep8 issues.
       * Removed unused import.
       * Fixed 'not in' issue in assert.
      
      Change-Id: I8321183dbc747ef521aa0d2660ebeef8b0342c6a
      Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      2c22526f
  11. Aug 23, 2024
  12. Aug 22, 2024
  13. Aug 21, 2024
  14. Aug 20, 2024
    • Will Szumski's avatar
      Bump Ansible version installed in Kolla Ansible virtualenv · dec43999
      Will Szumski authored
      This change bumps up the versions of Ansible installed in the
      kolla-ansible virtualenv to a maximum of 10.x (ansible-core 2.17.x) and
      minimum to 9.x. This is to align with the Kolla version requirements
      currently in master.
      
      Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/921743
      Change-Id: I4147a27ed04d28e832f11662e45dbae2851f63a8
      dec43999
    • Mark Goddard's avatar
      ironic: revert to ironic's default drivers & interfaces · 64272cf1
      Mark Goddard authored
      There's no good reason to provide our own defaults for Ironic driver and
      interface configuration. It easily gets out of sync with changes in
      Ironic. Let's remove our defaults, and let Ironic provide them.
      
      Note that this changes several of the defaults, which are listed in the
      release note. Users are still able to override them using the existing
      variables in ironic.yml.
      
      Change-Id: Ie27adca0029e41439720eaac49b24cf13fc8068d
      64272cf1
  15. Aug 19, 2024
    • Mark Goddard's avatar
      Avoid shared IPA image cache on Ansible control host · 8de02b82
      Mark Goddard authored
      When using overcloud Ironic, IPA images for Ironic inspector are
      downloaded to the Ansible control host to a cache directory, by default
      /opt/kayobe/images/ipa/. They are later copied into the local Kolla
      Ansible configuration under
      etc/kolla/config/ironic/ironic-agent.{initramfs,kernel}.
      
      The use of a shared cache directory results in problems when multiple
      users share a single Ansible control host, since the cache is created as
      writeable only for the user that created it. Other users sharing the
      same Ansible control host will be unable to write to the cache.
      
      We may also see issues if multiple Kayobe environments using different
      IPA images are deployed from one Ansible control host.
      
      The cache is not strictly necessary, since we can download the images
      directly to the kayobe-config repo. This change avoids the use of the
      cache. The performance impact should be minimal, only requiring an
      additional download when a fresh kayobe-config is used.
      
      Change-Id: I022c53afc0f64ccc79eeff4a220ade4c9216edfc
      Closes-Bug: #2069845
      8de02b82
  16. Jul 30, 2024
    • Michal Nasiadka's avatar
      Allow using Bifrost/Ironic introspection data MAC address · d27ae6c3
      Michal Nasiadka authored
      Currently Kayobe sets ipv4_interface_mac to pxe interface
      MAC address.
      
      In cases where provisioning network interface and admin
      network interface are different - this feature can be used
      to get MAC address from Ironic introspection data.
      
      Change-Id: Ie3c9248f0b3e47e3645e1886c0492265d52969c9
      d27ae6c3
  17. Jul 25, 2024
    • Will Szumski's avatar
      Use explicit version of community.docker · a22bbd93
      Will Szumski authored
      This works around a bug in the ansible packaged version of
      community.docker when using requests>=2.32. It is also more flexible if
      we can control the versions.
      
      Also fixes an issue where kolla collections would not be installed if
      the same role existed in the kayobe ansible collections path.
      
      This relies on the support added in kolla-ansible to use ansible-core,
      see: https://review.opendev.org/c/openstack/kolla-ansible/+/896406.
      
      Closes-Bug: #2072980
      Change-Id: Id9b19f10bc8ac38927914fb9782892b7daf1be82
      a22bbd93
  18. Jul 10, 2024
  19. Jul 05, 2024
  20. Jun 27, 2024
  21. Jun 20, 2024
  22. Jun 19, 2024
  23. Jun 04, 2024
  24. Jun 03, 2024
    • Will Szumski's avatar
      Add seed service destroy · 2c58388a
      Will Szumski authored
      This can be useful when using a seed VM that is not deployed by kayobe,
      and can therefore not use ``kayobe seed deprovision``, especially when
      iterating on kayobe-config during the inital stages of a deployment, or
      for development, where you want to re-run the playbooks from a clean-ish
      state.
      
      Change-Id: I43a9c2a57fcfe2c9d84f39903aac7c258f9a897f
      2c58388a
    • Mark Goddard's avatar
      Introduce max fail percentage to playbooks · 6c54ce4d
      Mark Goddard authored
      This allows us to continue execution until a certain proportion of hosts
      fail. This can be useful at scale, where failures are common, and
      restarting a deployment is time-consuming.
      
      The default max failure percentage is 100, keeping the default
      behaviour. A global max failure percentage may be set via
      kayobe_max_fail_percentage, and individual playbooks may define a max
      failure percentage via <playbook>_max_fail_percentage.
      
      Related Kolla Ansible patch:
      https://review.opendev.org/c/openstack/kolla-ansible/+/805598
      
      Change-Id: Ib81c72b63be5765cca664c38141ffc769640cf07
      6c54ce4d
    • Pierre Riteau's avatar
      Fix container image build issues with letsencrypt · 96694622
      Pierre Riteau authored
      The kolla_enable_letsencrypt variable was undefined, which was causing
      overcloud container image build to fail when the variable was not
      defined in Kayobe configuration.
      
      The bool filter was missing for kolla_enable_letsencrypt, which was
      causing letsencrypt images to be built when kolla_enable_letsencrypt was
      set to "false" or "no".
      
      Change-Id: I234b7a0434ba3d533a66b766331fd489078fbcf8
      96694622
    • Pierre Riteau's avatar
      CI: Fix kayobe-tox-molecule job · 3b0a74df
      Pierre Riteau authored
      We were still using stream8 images which cannot install packages
      anymore, due to the end of life of CentOS Stream 8.
      
      Change-Id: I8604c342e4dbc41dd5bee0f28a92c3c3cd37d631
      3b0a74df
    • Pierre Riteau's avatar
      Remove use of get_md5 when using stat module · 8f39adcf
      Pierre Riteau authored
      This was missed from I2ea9b2ec58913722c4defffbeee88cc420dcbdab.
      
      Change-Id: I84971f8daa4caf2227863810c7b12e59192c2515
      8f39adcf
  25. May 30, 2024
  26. May 29, 2024
  27. May 27, 2024
Loading