Skip to content
Snippets Groups Projects
  1. Aug 10, 2021
    • Radosław Piliszek's avatar
      Refactor and optimise image pulling · 9ff2ecb0
      Radosław Piliszek authored
      We get a nice optimisation by using a filtered loop instead
      of task skipping per service with 'when'.
      
      Partially-Implements: blueprint performance-improvements
      Change-Id: I8f68100870ab90cb2d6b68a66a4c97df9ea4ff52
      9ff2ecb0
  2. Aug 09, 2021
  3. Aug 06, 2021
    • Ilya Popov's avatar
      Extra var ironic_enable_keystone_integration added. · da4fd2d6
      Ilya Popov authored
      Basically, there are three main installation scenario:
      
      Scenario 1:
      Ironic installation together with other openstack services
      including keystone. In this case variable enable_keystone
      is set to true and keystone service will be installed
      together with ironic installation. It is possible realise this
      scenario, no fix needed
      
      Scenario 2:
      Ironic installation with connection to already installed
      keystone. In this scenario we have to set enable_keystone
      to “No” to prevent from new keystone service installation
      during the ironic installation process. But in other hand,
      we need to have correct sections in ironic.conf to provide
      all information needed to connect to existing keystone.
      But all sections for keystone are added to ironic.conf only
      if enable_keystone var is set to “Yes”. It isn’t possible
      to realise this scenario. Proposed fix provide support for
      this scenario, where multiple regions share the same
      keystone service.
      
      Scenario 3:
      No keystone integration. Ironic don't connect to Keystone.
      It is possible realise this scenario, no fix needed
      
      Proposed solution also keep the default behaviour: if no
      enable_keystone_integration is manually defined by default
      it takes value of enable_keystone variable and all behaviour
      is the same. But if we don't want to install keystone and
      want to connect to existing one at the same time, it will be
      possible to set enable_keystone var to “No”
      (preventing keystone from installation) and at the same
      time set ironic_enable_keystone_integration to Yes to allow
      needed section appear in ironic.conf through templating.
      
      Change-Id: I0c7e9a28876a1d4278fb2ed8555c2b08472864b9
      da4fd2d6
    • Alexander Evseev's avatar
      Elevated privileges required to set owner/group/mode by ansible · 7f98238b
      Alexander Evseev authored
      Elevated (root) privileges are required to set owner/group/mode when
      target owner does not math the user running Ansible. Without it the
      playbook fails with 'Permission denied' error.
      
      Change-Id: Ie7455a5f1ed709dfb9c9d7c653c6f808c00af4c2
      7f98238b
  4. Aug 05, 2021
  5. Aug 02, 2021
    • Michal Arbet's avatar
      Trivial fix horizon's healthcheck when SSL turned on · 6ac4638c
      Michal Arbet authored
      This patch is fixing docker healthcheck for horizon
      by changing value of horizon_listen_port, so
      both apache's virtualhost and healthcheck will have
      same correct port always. Also removing useless
      apache's redirect as all redirects are done on
      haproxy side.
      
      Closes-Bug: #1933846
      Change-Id: Ibb5ad1a5d1bbc74bcb62610d77852d8124c4a323
      6ac4638c
    • Michal Arbet's avatar
      Do not run timesync checks on deployment host · 281c9935
      Michal Arbet authored
      Kolla-ansible install python docker library in role/baremetal
      to group/baremetal, because of this get container facts
      for timesync checks is failing on deployment host.
      
      This patch adding when conditional, so deployment host
      will be skipped as there is no need to run timesync
      checks.
      
      Closes-Bug: #1933347
      Change-Id: Ifefb9c74ee6a80cdbc458992d0196850ddfe7ffa
      281c9935
    • Michal Arbet's avatar
      Fix freezed spice console in horizon · c281a018
      Michal Arbet authored
      This trivial patch is setting "timeout tunnel" in haproxy's
      configuration for spicehtml5proxy. This option extends time
      when spice's websocket connection is closed, so spice will
      not be freezed. Default value is set to 1h as it is in novnc.
      
      Closes-Bug: #1938549
      Change-Id: I3a5cd98ecf4916ebd0748e7c08111ad0e4dca0b2
      c281a018
    • Seena Fallah's avatar
      watcher: add missing become for copying configs · 948e9ae7
      Seena Fallah authored
      
      Signed-off-by: default avatarSeena Fallah <seenafallah@gmail.com>
      Change-Id: Iac1e82710df3ea82c17a6dcbf5d1821362aaa4a5
      948e9ae7
  6. Jul 28, 2021
  7. Jul 27, 2021
  8. Jul 22, 2021
    • Mark Goddard's avatar
      ironic: always enable conductor HTTP server · 411668ea
      Mark Goddard authored
      In the Xena release, Ironic removed the iSCSI driver [1]. The
      recommended driver is direct, which uses HTTP to transfer the disk
      image. This requires an HTTP server, and the simplest option is to use
      the one currently deployed when enable_ironic_ipxe is set to true. For
      this reason, this patch always enables the HTTP server running on the
      conductor.
      
      iPXE is still enabled separately, since it cannot currently be used at
      the same time as PXE.
      
      [1] https://review.opendev.org/c/openstack/ironic/+/789382
      
      Change-Id: I30c2ad2bf2957ac544942aefae8898cdc8a61ec6
      411668ea
  9. Jul 21, 2021
  10. Jul 20, 2021
    • Kyle Dean's avatar
      manila: add glance section in manila-share.conf · 2e4f51f6
      Kyle Dean authored
      Since the Victoria release, manila-share.conf requires a glance section
      for some drivers. This change adds the missing section.
      
      It also uses the correct cinder_keystone_user variable to reference the
      cinder user.
      
      Closes-Bug: #1921935
      
      Change-Id: Ib7ce4ed79c28456281087eb4156577f910c072e7
      2e4f51f6
  11. Jul 15, 2021
  12. Jul 08, 2021
    • Piotr Parczewski's avatar
      Reduce container metrics cardinality · c2ae21fd
      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: I81f3845d6cd03a70a0c8569f8d0ea421027df083
      c2ae21fd
  13. Jul 07, 2021
    • Mark Goddard's avatar
      baremetal: use docker_yum_gpgkey to fetch docker GPG key · 54737cd1
      Mark Goddard authored
      Currently, if you override docker_yum_url, the repo must contain a GPG
      key at {{ docker_yum_url }}/gpg, despite the fact that the GPG key URL
      can be overridden separately via docker_yum_gpgkey. This change uses
      docker_yum_gpgkey consistently, avoiding the need to keep the key in the
      repo.
      
      Closes-Bug: #1934913
      Change-Id: If8e6a02ce0760123f7b076c711727ef575965192
      54737cd1
    • Will Szumski's avatar
      Fix config action when OVN is enabled · f6c0474a
      Will Szumski authored
      Prior to this change, if you generated the config before deploying any
      of the OVN services, it would fail on these tasks as the services will
      not have been started.
      
      TrivialFix
      
      Change-Id: Ia85ef26015ff341bff1414da039bed52f34e7cc0
      f6c0474a
    • wu.chunyang's avatar
      Remove tempest role · 52619984
      wu.chunyang authored
      Remove tempest role as planned
      
      Change-Id: If3cf073e88c83f670c867a49afe48845f9e81008
      52619984
  14. Jul 05, 2021
  15. Jul 01, 2021
  16. 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
  17. Jun 22, 2021
  18. Jun 21, 2021
  19. 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
  20. Jun 18, 2021
  21. Jun 16, 2021
    • Michał Nasiadka's avatar
      Update previous_release to Wallaby · 38ca1431
      Michał Nasiadka authored
      Part of agreed Xena release process cadence:
      R-17 Switch source images to current release
      
      Change-Id: I221998092715355dd8b972bf2575d65c3259a4da
      38ca1431
    • 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
  22. Jun 15, 2021
  23. 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
Loading