Skip to content
Snippets Groups Projects
  1. Nov 27, 2024
  2. Oct 31, 2024
  3. Oct 30, 2024
  4. 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
  5. Aug 22, 2024
  6. May 01, 2024
    • Mark Goddard's avatar
      Support dict format IP routing rules on CentOS/Rocky · 9053183f
      Mark Goddard authored
      This support is now available in the MichaelRigart.interfaces role.
      
      The host configuration CI test has been updated to test policy-based
      routing routes and rules on CentOS Stream and Rocky Linux. It also now
      tests both the string and dict rule formats on CentOS and Rocky.
      
      Change-Id: Ie77530c38ab426dcbaa442776bcf048d7bbc0f01
      9053183f
  7. Feb 11, 2024
  8. Feb 01, 2024
  9. Nov 17, 2023
  10. Aug 18, 2023
    • 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
  11. 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
  12. 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
  13. Oct 07, 2022
  14. Sep 09, 2022
  15. Jul 27, 2022
    • k-s-dean's avatar
      Add support for firewalld on Ubuntu · 6990a041
      k-s-dean authored
      Enables the installation and configuration of firewalld on Ubuntu
      systems.
      
      Change-Id: I4a97a2aeed277be672e15e5c7727b810e11d3c42
      Story: 2010160
      Task: 45818
      6990a041
  16. Mar 23, 2022
    • Mark Goddard's avatar
      Ubuntu: add support for Apt configuration · 5c661b88
      Mark Goddard authored
      This change adds support for configuration of Apt package manager in
      /etc/apt/apt.conf.d/. This allows adding arbitrary global configuration
      options for Apt. Options can be added in different files, allowing for
      different filename-based priorities.
      
      CI tests and documentation are provided.
      
      Story: 2009655
      Task: 43987
      
      Change-Id: I9d7d18851359e97cd01b4c2287bf79110796b25a
      5c661b88
    • Mark Goddard's avatar
      Ubuntu: add support for Apt repository configuration · c603be25
      Mark Goddard authored
      This change adds support for configuring Apt repositories on Ubuntu
      hosts during host configuration.
      
      Repositories are configured in a single file
      (/etc/apt/sources.list.d/kayobe.sources), using the modern deb822
      format [1]. This format is more flexible and readable than the original
      single-line format, particularly if multiple options are used.
      
      Using a single file allows us to more easily keep the set of
      repositories in sync, since Ansible doesn't make it easy to clean things
      up.
      
      Support is added for marking repositories as signed by a particular GPG
      key. This approach is now preferred over the deprecated [2] apt-key
      tool, which resulted in a set of globally trusted keys.
      
      It is also possible to disable the repositories in
      /etc/apt/sources.list via apt_disable_sources_list. This allows for
      replacing the standard repositories with a local mirror.
      
      CI tests and documentation are provided.
      
      [1] https://manpages.ubuntu.com/manpages/focal/en/man5/sources.list.5.html
      [2] https://manpages.ubuntu.com/manpages/groovy/man8/apt-key.8.html
      
      Story: 2009655
      Task: 43818
      
      Change-Id: I3f821937b0930a0ac9341178de7ae5123d82b957
      c603be25
  17. Mar 18, 2022
  18. Oct 12, 2021
  19. Oct 06, 2021
  20. Oct 04, 2021
  21. May 11, 2021
    • Mark Goddard's avatar
      CentOS Stream: update DNF repo file names · ece41b7a
      Mark Goddard authored
      CentOS repositories were renamed following the separation of CentOS
      Linux and Stream. This change updates their names when using a local
      mirror. It also removes the old files.
      
      Change-Id: Ifcc3781d771e150b5771f2bf20cd8bcbc5faa443
      Story: 2008795
      Task: 42435
      ece41b7a
  22. May 07, 2021
  23. Apr 21, 2021
    • Mark Goddard's avatar
      Ubuntu: support policy-based routing in systemd-networkd · 181352f1
      Mark Goddard authored
      This change adds support for policy-based routing via systemd-networkd.
      Due to differences in the configuration mechanism, routing policy
      rules are configured via dicts for Ubuntu, while remaining as strings
      on CentOS. Ideally we would support both formats.
      
      Story: 2004960
      Task: 42217
      
      Change-Id: I77aec0160eb7e4dd763326bfe6e3d9a44b248108
      181352f1
    • Mark Goddard's avatar
      Ubuntu: support systemd-networkd · 3bbf736d
      Mark Goddard authored
      This change adds support for network configuration via systemd-networkd
      on Ubuntu systems.
      
      This is implemented via an Ansible Galaxy role,
      stackhpc.systemd_networkd which was forked from
      aruhier.systemd_networkd. Several improvements were made in
      https://github.com/stackhpc/ansible-role-systemd-networkd/pull/1,
      including:
      
      * Add support for removing unexpected config files
      * Use become where necessary
      * Refactor config generation into a single task to improve performance
      
      The systemd_networkd role does not add much abstraction on top of the
      systemd-networkd configuration file format, which provides a lot of
      flexibility at the expense of additional code in Kayobe. This code is
      implemented as filter plugins, similarly to the existing
      MichaelRigart.interfaces role.
      
      This patch includes support for:
      
      * Ethernet interfaces
      * bridges
      * bonds
      * VLANs
      * virtual Ethernet pairs (to connect Linux bridges and OVS bridges)
      * static IP addresses
      * static routes
      * MTU
      
      Some network attributes are currently not supported for
      systemd-networkd:
      
      * rules
      * route options
      * ethtool_opts
      * zone
      * allowed addresses
      
      Story: 2004960
      Task: 41881
      
      Change-Id: I248b5bb9ce5a80a07a2a311cb3aca6daca920720
      3bbf736d
  24. Mar 01, 2021
    • Mark Goddard's avatar
      CI: Ubuntu host configure job · 9c29d7d7
      Mark Goddard authored
      Issues:
      
      * bond configuration not working on Ubuntu - disabled in CI test
      
      Story: 2004960
      Task: 41560
      
      Change-Id: Ib124dc6f313a2a13fa509b10702c6141f102f2f9
      9c29d7d7
  25. May 28, 2020
    • Mark Goddard's avatar
      Remove support for CentOS 7 and Python 2 · b9d76f6e
      Mark Goddard authored
      * Always use Python 3
      * Drop code paths for CentOS 7
      * Drop support for Yum
      * Remove support for host NTP daemon, always use chrony
      * Switch references from 'yum_install_epel' to 'dnf_install_epel'
      * Remove overcloud host image workaround for tagged VLAN admin network
      * Remove the kayobe.utils.yum_install function, which is unused
      
      Change-Id: I368f6edafed9779658798fc342116b4c1b3ffd48
      Story: 2006574
      Task: 39481
      b9d76f6e
  26. May 20, 2020
  27. Apr 16, 2020
    • Mark Goddard's avatar
      CI: Add overcloud host configure job · 92a437f6
      Mark Goddard authored
      Tests various non-default configuration:
      
      * Custom users
      * Network interfaces, VLANs, bridges, bonds
      * Software RAID
      * LVM & docker devicemapper
      * timezone
      * Package mirrors
      * yum-cron / DNF automatic
      
      This improved test coverage allows us to be more confident about these
      features working on CentOS 8.
      
      Change-Id: I36148e4356deb7d5ec00d8d3ebeb2d3932ff4f94
      Story: 2006574
      Task: 38938
      92a437f6
Loading