Skip to content
Snippets Groups Projects
  1. Mar 18, 2022
  2. Feb 22, 2022
  3. Feb 01, 2022
  4. Jan 09, 2022
    • Stig Telfer's avatar
      Fix Sphinx syntax typo · 561ee09c
      Stig Telfer authored
      A double colon (where only a single colon is wanted) was fouling up
      parsing.
      
      Change-Id: Ifaf28e85189bf438e373f165a9b3c2af1b47e834
      561ee09c
  5. Jan 07, 2022
  6. Dec 23, 2021
    • Mark Goddard's avatar
      Disable EPEL by default · e0dec916
      Mark Goddard authored
      EPEL is no longer required for a default installation. Let's disable it.
      
      Also clean up the install_epel variable from Kolla Ansible globals.yml
      template, since it never existed.
      
      Story: 2009757
      Task: 44227
      
      Change-Id: I96eb4685f997e85ad2ee5318640d58d0287a016d
      e0dec916
  7. Dec 19, 2021
  8. Dec 10, 2021
  9. Dec 07, 2021
  10. Nov 19, 2021
    • Pierre Riteau's avatar
      Document that extra kernel parameters are important for inspection · 7ed91dd0
      Pierre Riteau authored
      When customising kolla_bifrost_inspector_extra_kernel_options, for
      example to define which console to use, operators should note that
      Kayobe defines extra kernel parameters that are important for
      inspection, such as ipa-collect-lldp=1.
      
      Change-Id: Id789dede2d1886ef5ec66ebc86968d6cf62fa2de
      7ed91dd0
  11. Oct 19, 2021
  12. Oct 07, 2021
    • Mark Goddard's avatar
      Infra VMs: follow up · 8afd68ca
      Mark Goddard authored
      * Improve docs
      * Fix up some comments
      
      Change-Id: Iee05721bbe084f5580805cd82b12d065a2c61a1e
      8afd68ca
  13. Oct 06, 2021
  14. Oct 05, 2021
    • Pierre Riteau's avatar
      Enable consistent network device naming · 79be93ba
      Pierre Riteau authored
      CentOS cloud images come with net.ifnames=0 on the kernel command line,
      which disables consistent network device naming. This does not provide a
      good experience on bare metal because NIC ordering can vary. This is
      specific to cloud images: an ISO installation would use consistent
      network device naming.
      
      We now set net.ifnames=1 in the DIB default environment to use
      consistent network device naming. The parameters `nofb nomodeset
      gfxpayload=text` are also set to preserve defaults from DIB.
      
      To restore the existing behaviour, set DIB_BOOTLOADER_DEFAULT_CMDLINE to
      `nofb nomodeset gfxpayload=text net.ifnames=0` in the
      kolla_bifrost_dib_env_vars_extra dictionary.
      
      Change-Id: I20465eab4e0aec6620578a92d3bdbddcec0954df
      79be93ba
  15. Oct 04, 2021
  16. Oct 01, 2021
  17. Sep 27, 2021
    • Mark Goddard's avatar
      Make setup module arguments configurable · 2648f487
      Mark Goddard authored
      Ansible facts can have a large impact on the performance of the Ansible
      control host. This patch introduces some control over which facts are
      gathered (kayobe_ansible_setup_gather_subset) and which facts are stored
      (kayobe_ansible_setup_filter). By default we do not change the default
      values of these arguments to the setup module. The flexibility of these
      arguments is limited, but they do provide enough for a large performance
      improvement in a typical moderate to large OpenStack cloud.
      
      In particular, the large complex dict fact for each interface has a
      large effect, and on an OpenStack controller or hypervisor there may be
      many virtual interfaces. We can use the kayobe_ansible_setup_filter
      variable to help:
      
          kayobe_ansible_setup_filter: 'ansible_[!qt]*'
      
      This causes Ansible to collect but not store facts matching that
      pattern, which includes the virtual interface facts. Currently we are
      not referencing other facts matching the pattern within Kayobe.
      Note that including the 'ansible_' prefix causes meta facts module_setup
      and gather_subset to be filtered, but this seems to be the only way to
      get a good match on the interface facts. To work around this, we use
      ansible_facts rather than module_setup to detect whether facts exist in
      the cache.
      
      The exact improvement will vary, but has been reported to be as large as
      18x on systems with many virtual interfaces.
      
      This change also introduces a new command to gather facts for Kayobe &
      Kolla Ansible on demand, 'kayobe overcloud facts gather'. This can be
      used to populate a fact cache.
      
      Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/794610
      Story: 2007993
      Task: 42586
      
      Change-Id: I5ce3c734433e1682ee942867505468c57440e689
      2648f487
  18. Sep 21, 2021
    • Skylar Kelty's avatar
      Add support for apt proxy setting · f24b3176
      Skylar Kelty authored
      Add support for configuring apt's proxy setting on Ubuntu hosts.
      
      Change-Id: Iea1daff70fca5cf49f4e7f44af71a900678bb5c9
      Story: 2009035
      Task: 42782
      f24b3176
  19. Sep 16, 2021
  20. Sep 14, 2021
  21. Sep 07, 2021
  22. Aug 21, 2021
    • Mark Goddard's avatar
      Use ansible_facts to reference facts · f639ad0b
      Mark Goddard authored
      By default, Ansible injects a variable for every fact, prefixed with
      ansible_. This can result in a large number of variables for each host,
      which at scale can incur a performance penalty. Ansible provides a
      configuration option [0] that can be set to False to prevent this
      injection of facts. In this case, facts should be referenced via
      ansible_facts.<fact>.
      
      This change updates all references to Ansible facts within Kayobe
      from using individual fact variables to using the items in the
      ansible_facts dictionary. This allows users to disable fact variable
      injection in their Ansible configuration, which may provide some
      performance improvement.
      
      This change disables fact variable injection in the ansible
      configuration used in CI, to catch any attempts to use the injected
      variables.
      
      [0] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars
      
      Story: 2007993
      Task: 42464
      Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/791276
      
      Change-Id: I14db53ed6e57d37bbd28dd5819e432e3fe6628b2
      f639ad0b
  23. Aug 12, 2021
  24. Jul 23, 2021
    • Pierre Riteau's avatar
      Remove stale DIB_DISABLE_KERNEL_CLEANUP references · d4bbdada
      Pierre Riteau authored
      Documentation about DIB_DISABLE_KERNEL_CLEANUP was left in place after
      the variable was removed in Ie25e88bb96f186399ae69837e93185127628ce86.
      
      Backport: wallaby, victoria, ussuri
      
      Change-Id: Iddb699aa98ddee8446d532ce4bd23ba9174fb38e
      d4bbdada
  25. Jun 10, 2021
  26. May 11, 2021
    • Mark Goddard's avatar
      Make docker registry network mode configurable · e187ad79
      Mark Goddard authored
      Adds a new flag, 'docker_registry_network_mode', which defaults to
      'host'. This may be used to set the network mode of the Docker registry
      container.
      
      This is a follow up to I404dd52701426a10c2e92727bd52b7fd7112abf6, which
      changed the network mode from the default of bridge to host. It allows
      that change to be backported to stable branches, without modifying the
      default value.
      
      Change-Id: Ic8ec3bb98f8f016e1d089bf10bd0538264394241
      e187ad79
  27. May 07, 2021
  28. May 05, 2021
  29. 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
  30. Apr 01, 2021
    • Mark Goddard's avatar
      Support additional pass through host variables · 45a79638
      Mark Goddard authored
      Allow passing through additional host variables from Kayobe to Kolla
      Ansible without overriding the entire list.
      
      * kolla_seed_inventory_pass_through_host_vars_extra
      * kolla_seed_inventory_pass_through_host_vars_map_extra
      * kolla_overcloud_inventory_pass_through_host_vars_extra
      * kolla_overcloud_inventory_pass_through_host_vars_map_extra
      
      Story: 2008797
      Task: 42201
      
      Change-Id: I41d9169f0312108e42bb12c52c6c7ee2509cf2ab
      45a79638
  31. Mar 31, 2021
  32. Feb 25, 2021
  33. Feb 19, 2021
    • Pierre Riteau's avatar
      Add ipa_build_upper_constraints_file variable · 56c1a886
      Pierre Riteau authored
      This variable allows to customise the upper constraints file used to
      install packages inside the ipa-build-dib virtual environment. This can
      be used when we need a newer version of diskimage-builder than the one
      available in upper constraints for the current release.
      
      Change-Id: Idbe57e7edc3fae25153f5e24ad6b7847b1c4660c
      56c1a886
  34. Feb 11, 2021
Loading