Skip to content
Snippets Groups Projects
  1. Jan 14, 2025
  2. Jan 07, 2025
  3. Nov 26, 2024
    • Matt Anson's avatar
      Ensure ironic-python-agent matches ironic-lib · b4a79437
      Matt Anson authored
      If ironic-python-agent is not installed in the IPA image using
      upper-constraints, the ironic-lib selected by pip for installation may
      be newer than ipa.
      
      Use upper-constraints for the same version as ironic-python-agent when
      installing it, by passing the DIB_REPOREF_requirements environment
      variable to ironic-python-agent-builder.
      
      Closes-Bug: #2089263
      Change-Id: I6e33f9897dc7efc57987872ffccdfbe0fc78cc52
      (cherry picked from commit 89849c1c)
      b4a79437
  4. Nov 13, 2024
    • Jake Hutchinson's avatar
      Add loop control to custom DNF repos · a36bb614
      Jake Hutchinson authored
      This avoids leaking repository credentials by suppressing the dict
      output to only print the key.
      
      Change-Id: Ic7aa0e4c4f625908aeb30de65edac8bce96af761
      Related-Bug: #2087938
      a36bb614
  5. Nov 12, 2024
    • Will Szumski's avatar
      Prevent accidental overriding of Ansible extensions · 1bb33e8e
      Will Szumski authored
      
      When using the custom playbook feature, it is possible to affect the
      behaviour of internal kayobe playbooks by installing newer versions of
      roles, collections, or plugins. This is almost always undesirable. It
      occurs because ansible extensions in kayobe config currently have
      precedence over the kayobe internal variants. We can prevent users
      accidentally breaking kayobe internal playbooks by searching for
      extensions in paths in the kayobe install first, followed by kayobe
      config (but only when running internal playbooks). The behaviour when
      running external playbooks is unchanged. This method still allows you to
      install additional plugins, which can be useful in kayobe config e.g
      processing a variable with a custom filter plugin.
      
      Change-Id: I34f0351dbcb50104c9a4d6706d94a349c3ea3b9f
      Closes-Bug: #2056473
      Co-Authored-By: default avatarMatt Crees <mattc@stackhpc.com>
      1bb33e8e
    • Michal Nasiadka's avatar
      nvue: Update collection version to 1.2.6 · 6e65cd21
      Michal Nasiadka authored
      This brings in improvements like --check --diff support
      
      Change-Id: I3a07902d5bd92d0e0178d93e2a0994a19b376884
      6e65cd21
  6. Nov 08, 2024
  7. Nov 07, 2024
  8. Nov 05, 2024
    • Will Szumski's avatar
      Align Kayobe Ansible version with Kolla Ansible · f5d026ba
      Will Szumski authored
      This change bumps up the maximum supported Ansible version to 10.x
      (ansible-core 2.17.x) and minimum to 9.x. This synchronises Kayobe with
      Kolla Ansible.
      
      Change-Id: Idfbf0eed0b2333d550f822e40a0d96ae227f6159
      f5d026ba
  9. Oct 25, 2024
  10. Oct 16, 2024
  11. Oct 10, 2024
  12. Oct 07, 2024
  13. Oct 04, 2024
  14. Oct 03, 2024
  15. 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
  16. Sep 30, 2024
  17. Sep 27, 2024
  18. 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
  19. 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
  20. 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
  21. Aug 23, 2024
  22. Aug 22, 2024
  23. 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
    • Mark Goddard's avatar
      Prevent running from a different Kayobe configuration repository · 8930a3c1
      Mark Goddard authored
      There are various ways in which it is possible to operate Kayobe
      incorrectly. One example is executing Kayobe from a different Kayobe
      configuration repository than the one referred to by the
      KAYOBE_CONFIG_PATH environment variable.
      
      While this shouldn't necessarily cause any errors, it may lead to
      unexpected results if the operator assumes they are operating against
      the configuration in the current directory.
      
      This change adds a validation step that checks for this case and fails
      the command early if found.
      
      Change-Id: I709884bbd7edebf1d409f39c11f293560e987506
      8930a3c1
  24. 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
  25. 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
  26. Jul 29, 2024
  27. 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
  28. Jul 10, 2024
Loading