Skip to content
Snippets Groups Projects
  1. Jul 21, 2021
    • Mark Goddard's avatar
      Fix ironic_ipxe healthcheck on Debian/Ubuntu · aa28675c
      Mark Goddard authored
      The healthcheck checks for a process called httpd, but these distros
      call it apache2.  This results in the ironic_ipxe container being marked
      as unhealthy.
      
      This change fixes the issue by making the process name distro dependent.
      
      Change-Id: I0b0126e3071146e7f8593ba970ecbed65b36fcfa
      Closes-Bug: #1937037
      aa28675c
  2. Jun 24, 2021
  3. Jun 23, 2021
    • Michal Arbet's avatar
      Allow user to set sysctl_net_ipv4_tcp_retries2 · 09d0409e
      Michal Arbet authored
      This patch is adding configuration option to
      manipulate with kernel option sysctl_net_ipv4_tcp_retries2.
      
      More informations about kernel option in [1][2]
      and RedHat suggestion [3] to set for DBs and HA.
      
      [1]: https://pracucci.com/linux-tcp-rto-min-max-and-tcp-retries2.html
      [2]: https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/
      [3]: https://access.redhat.com/solutions/726753
      
      Closes-Bug: #1917068
      Change-Id: Ia0decbbfa4e33b1889b635f8bb1c9094567a2ce6
      09d0409e
    • Mark Goddard's avatar
      Use ansible_facts to reference facts · ade5bfa3
      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 Kolla Ansible
      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
      
      Change-Id: I7e9d5c9b8b9164d4aee3abb4e37c8f28d98ff5d1
      Partially-Implements: blueprint performance-improvements
      ade5bfa3
    • Mark Goddard's avatar
      magnum: Add CA certificate configuration for internal TLS · 48f0957a
      Mark Goddard authored
      Magnum has various sections in its configuration file for OpenStack
      clients. When internal TLS is enabled, these may need a CA certificate
      to be specified.
      
      This change adds a CA certificate configuration, based on
      openstack_cacert, for all clients using internal endpoints.
      
      Note: we are explicitly not adding the configuration for the
      [magnum_client] ca_file and [drivers] openstack_ca_file options, since
      these use the public endpoint by default. These options may be
      provided via custom configuration if necessary.
      
      Change-Id: Ie59b3777c0a2c142b580addd67e279bc4b2f2c90
      Co-Authored-By: Kyle Dean
      Closes-Bug: #1919389
      48f0957a
  4. Jun 22, 2021
  5. Jun 21, 2021
  6. Jun 20, 2021
    • Radosław Piliszek's avatar
      Do not set pid file for iscsid · 18a0af69
      Radosław Piliszek authored
      Kolla Ansible runs iscsid in the foreground (-f) and
      a recent change to iscsid in CentOS 8 (both Linux and Stream)
      caused it to reject setting pid file in such a case.
      PID file is irrelevant in this scenario so this commit
      removes its parameter.
      
      Closes-Bug: #1933033
      Change-Id: Ic0c4beae0c812f3ca68a6ee5cc4daa2fee0f277d
      18a0af69
    • Radosław Piliszek's avatar
      Revert "Reduce container metrics cardinality" · 640dbb03
      Radosław Piliszek authored
      This reverts commit c6259158.
      
      Reason for revert: cAdvisor fails with:
      
      invalid value "percpu,referenced_memory,cpu_topology,resctrl,udp,advtcp,sched,hugetlb,memory_numa,tcp,process" for flag -disable_metrics: unsupported metric "referenced_memory" specified in disable_metrics
      
      Change-Id: I1a0eea5c20f95f38c707401b56b7d2454484377d
      640dbb03
  7. Jun 16, 2021
    • Piotr Parczewski's avatar
      Reduce container metrics cardinality · c6259158
      Piotr Parczewski authored
      Adds support for passing extra runtime options to cAdvisor.
      By default new options disable exporting rarely useful metrics
      and labels by cAdvisor. This helps reducing the load on Prometheus
      and cAdvisor itself.
      
      Change-Id: Id0144e8fa518e3236cb94ba2e3961fb455d36443
      c6259158
    • wu.chunyang's avatar
      Remove rally deployment · 30091096
      wu.chunyang authored
      Remove rally role as planned
      
      Change-Id: Ic898efe42b21b01c45d4621af2cf90ecd7afc398
      30091096
  8. Jun 15, 2021
  9. Jun 11, 2021
    • Matthias Runge's avatar
      Remove support for panko · ccf8cc5d
      Matthias Runge authored
      the project is deprecated and in the process of being removed
      from OpenStack upstream.
      
      Change-Id: I9d5ebed293a5fb25f4cd7daa473df152440e8b50
      ccf8cc5d
  10. Jun 10, 2021
    • Radosław Piliszek's avatar
      Disable docker's ip-forward when iptables disabled · 0fa4ee56
      Radosław Piliszek authored
      With the new default since Wallaby, starting Docker makes it
      enable forwarding and not filter it at all.
      This may pose a security risk and should be mitigated.
      
      Closes-Bug: #1931615
      Change-Id: I5129136c066489fdfaa4d93741c22e5010b7e89d
      0fa4ee56
  11. Jun 08, 2021
    • Mark Goddard's avatar
      Fix RabbitMQ restart ordering · 0cd5b027
      Mark Goddard authored
      The host list order seen during Ansible handlers may differ to the usual
      play host list order, due to race conditions in notifying handlers. This
      means that restart_services.yml for RabbitMQ may be included in a
      different order than the rabbitmq group, resulting in a node other than
      the 'first' being restarted first. This can cause some nodes to fail to
      join the cluster. The include_tasks loop was introduced in [1].
      
      This change fixes the issue by splitting the handler into two tasks, and
      restarting the first node before all others.
      
      [1] https://review.opendev.org/c/openstack/kolla-ansible/+/763137
      
      Change-Id: I1823301d5889589bfd48326ed7de03c6061ea5ba
      Closes-Bug: #1930293
      0cd5b027
  12. Jun 07, 2021
    • Maksim Malchuk's avatar
      Add forgotten 'Restart container' handler for swift · 5c19f9a5
      Maksim Malchuk authored
      
      Since I0474324b60a5f792ef5210ab336639edf7a8cd9e swift role uses the new
      service-cert-copy role introduced in the
      I6351147ddaff8b2ae629179a9bc3bae2ebac9519 but the swift role itself
      doesn't contain the handler used in the service-cert-copy. Right now,
      restarting the swift container isn't necessary, but the handler should
      exist. Also we should fix the name of the service used.
      
      Closes-Bug: #1931097
      Change-Id: I2d0615ce6914e1f875a2647c8a95b86dd17eeb22
      Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      5c19f9a5
    • John Garbutt's avatar
      Reduce RabbitMQ busy waiting, lowering CPU load · 70f6f8e4
      John Garbutt authored
      On machines with many cores, we were seeing excessive CPU load on systems
      that were not very busy. With the following Erlang VM argument we saw
      RabbitMQ CPU usage drop from about 150% to around 20%, on a system with
      40 hyperthreads.
      
          +S 2:2
      
      By default RabbitMQ starts N schedulers where N is the number of CPU
      cores, including hyper-threaded cores. This is fine when you assume all
      your CPUs are dedicated to RabbitMQ. Its not a good idea in a typical
      Kolla Ansible setup. Here we go for two scheduler threads.
      More details can be found here:
      https://www.rabbitmq.com/runtime.html#scheduling
      and here:
      https://erlang.org/doc/man/erl.html#emulator-flags
      
          +sbwt none
      
      This stops busy waiting of the scheduler, for more details see:
      https://www.rabbitmq.com/runtime.html#busy-waiting
      Newer versions of rabbit may need additional flags:
      "+sbwt none +sbwtdcpu none +sbwtdio none"
      But this patch should be back portable to older versions of RabbitMQ
      used in Train and Stein.
      
      Note that information on this tuning was found by looking at data from:
      rabbitmq-diagnostics runtime_thread_stats
      More details on that can be found here:
      https://www.rabbitmq.com/runtime.html#thread-stats
      
      Related-Bug: #1846467
      
      Change-Id: Iced014acee7e590c10848e73feca166f48b622dc
      70f6f8e4
  13. Jun 04, 2021
    • Mark Goddard's avatar
      baremetal: fix /etc/hosts generation when api_interface has dashes · 46bd0525
      Mark Goddard authored
      Interface names with dashes can cause problems in Ansible since dashes
      are replaced with underscores when referencing facts. In the baremetal
      role we reference the fact for api_interface without replacing dashes
      with underscores. This may result in host entries being omitted from
      /etc/hosts.
      
      This change fixes the issue.
      
      Change-Id: I667adc7d8a7dbd20dbfa293f389e02355f8275bb
      Related-Bug: #1927357
      46bd0525
  14. Jun 02, 2021
    • Mark Goddard's avatar
      chrony: allow to remove the container · 84ac7b30
      Mark Goddard authored
      The chrony container is deprecated in Wallaby, and disabled by default.
      This change allows to remove the container if chrony is disabled.
      
      Change-Id: I1c4436072c2d47a95625e64b731edb473384b395
      84ac7b30
  15. May 31, 2021
  16. May 30, 2021
  17. May 28, 2021
  18. May 19, 2021
  19. May 14, 2021
    • Michał Nasiadka's avatar
      baremetal: Don't start Docker after install on Debian/Ubuntu · bc961791
      Michał Nasiadka authored
      docker-ce on Debian/Ubuntu gets started just after installation, before
      baremetal role configures daemon.json - which results in iptables rules
      being implemented - but not removed on docker engine restart.
      
      Closes-Bug: #1923203
      
      Change-Id: Ib1faa092e0b8f0668d1752490a34d0c2165d58d2
      bc961791
  20. May 12, 2021
  21. May 11, 2021
  22. May 10, 2021
    • Michal Arbet's avatar
      Do not write octavia_amp_ssh_key if auto_config disabled · 41fe771b
      Michal Arbet authored
      This task is writing private key from passwords to
      /etc/kolla/octavia-worker/{{ octavia_amp_ssh_key_name }} even
      if user disabled octavia auto configure.
      
      This patch is adding conditional for this task and skipping
      it if octavia_auto_configure: "no".
      
      Closes-Bug: #1927727
      
      Change-Id: Ib993b387d681921d804f654bea780a1481b2b0d0
      41fe771b
  23. May 06, 2021
  24. May 05, 2021
  25. Apr 27, 2021
  26. Apr 23, 2021
    • OpenStack Release Bot's avatar
      Update master for stable/wallaby · 9cfd4f5d
      OpenStack Release Bot authored
      Add file to the reno documentation build to show release notes for
      stable/wallaby.
      
      Use pbr instruction to increment the minor version number
      automatically so that master versions are higher than the versions on
      stable/wallaby.
      
      Sem-Ver: feature
      Change-Id: I34e6b2e1b9411e360994684f62414703f3bb2299
      9cfd4f5d
  27. Apr 21, 2021
  28. Apr 19, 2021
  29. Apr 15, 2021
Loading