Skip to content
Snippets Groups Projects
  1. Sep 30, 2021
  2. Sep 23, 2021
  3. Sep 16, 2021
  4. Aug 19, 2021
    • Michal Arbet's avatar
      Rename role haproxy to loadbalancer · ffd53512
      Michal Arbet authored
      For now role haproxy is maintaining haproxy
      and keepalived. In follow-up changes there is also
      proxysql added.
      
      This patch is *only* renaming/moving stuff to more
      prominent role loadbalancer, and moving also specific
      templates to subdirectory.
      
      This was done only to better diff in follow-up
      changes.
      
      Change-Id: I1d39d5bcaefc4016983bf267a2736b742cc3a555
      ffd53512
  5. Aug 12, 2021
  6. Aug 02, 2021
    • 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
  7. Jun 23, 2021
    • 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
  8. Jun 16, 2021
  9. 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
  10. May 30, 2021
  11. May 28, 2021
  12. Apr 06, 2021
    • Radosław Piliszek's avatar
      Drop the NTP service precheck · 04315751
      Radosław Piliszek authored
      We can't check this with timedatectl as it is not aware
      of any "non-native" NTP daemon.
      
      This could be a warning-level message but we don't have
      such messages from the prechecks.
      
      Closes-Bug: #1922721
      Change-Id: I6db37576118cf5cff4ba7a63e179f0ab37467d22
      04315751
  13. Mar 08, 2021
  14. Dec 21, 2020
  15. Dec 09, 2020
    • Mark Goddard's avatar
      Fix prechecks with Docker 20.10.0 · b60b0d58
      Mark Goddard authored
      The 'prechecks : Checking Docker version' task previously failed with
      Docker 20.10.0. The regex used to parse the version was returning
      0.10.0, which is not above the minimum. The previous version of 19.x
      would have been parsed as 9.x, which is above the minimum.
      
      This change fixes the issue by matching the beginning and end of the
      version using \b.
      
      Depends-On: https://review.opendev.org/766183
      
      Change-Id: I2a23eea7effb5b9a5e73361bcd48bd2e16d1569c
      Closes-Bug: 1907436
      b60b0d58
  16. Sep 23, 2020
  17. Aug 28, 2020
  18. Aug 22, 2020
  19. Aug 11, 2020
  20. Jul 28, 2020
    • Radosław Piliszek's avatar
      Add timesync prechecks · 3018199f
      Radosław Piliszek authored
      If not running containerised chrony, we need to check that host
      has its own means of system clock synchronization.
      
      Change-Id: I31b3e9ed625d63a4bf82c674593522268c20ec4c
      Partial-Bug: #1885689
      3018199f
  21. May 12, 2020
  22. Apr 09, 2020
    • Dincer Celik's avatar
      Introduce /etc/timezone to Debian/Ubuntu containers · 4b5df0d8
      Dincer Celik authored
      Some services look for /etc/timezone on Debian/Ubuntu, so we should
      introduce it to the containers.
      
      In addition, added prechecks for /etc/localtime and /etc/timezone.
      
      Closes-Bug: #1821592
      Change-Id: I9fef14643d1bcc7eee9547eb87fa1fb436d8a6b3
      4b5df0d8
  23. Mar 11, 2020
    • Mark Goddard's avatar
      Host OS prechecks follow up · 96151a35
      Mark Goddard authored
      We only log the release in the 'Checking host OS release or version'
      precheck, but we allow either the release or version to be included in
      the list. For example, on CentOS 7:
      
          CentOS release Core is not supported. Supported releases are: 8
      
      Include the version in the failure message too.
      
      Change-Id: I0302cd4fc94a0c3a6aa1dbac7b9fedf37c11b81e
      Related: blueprint improve-prechecks
      96151a35
  24. Mar 10, 2020
  25. Feb 11, 2020
  26. Jan 13, 2020
  27. Jan 09, 2020
  28. Nov 22, 2019
    • Michal Nasiadka's avatar
      Change local_action to delegate_to: localhost · 10099311
      Michal Nasiadka authored
      As part of the effort to implement Ansible code linting in CI
      (using ansible-lint) - we need to implement recommendations from
      ansible-lint output [1].
      
      One of them is to stop using local_action in favor of delegate_to -
      to increase readability and and match the style of typical ansible
      tasks.
      
      [1]: https://review.opendev.org/694779/
      
      Partially implements: blueprint ansible-lint
      
      Change-Id: I46c259ddad5a6aaf9c7301e6c44cd8a1d5c457d3
      10099311
  29. Oct 16, 2019
    • Radosław Piliszek's avatar
      Implement IPv6 support in the control plane · bc053c09
      Radosław Piliszek authored
      Introduce kolla_address filter.
      Introduce put_address_in_context filter.
      
      Add AF config to vars.
      
      Address contexts:
      - raw (default): <ADDR>
      - memcache: inet6:[<ADDR>]
      - url: [<ADDR>]
      
      Other changes:
      
      globals.yml - mention just IP in comment
      
      prechecks/port_checks (api_intf) - kolla_address handles validation
      
      3x interface conditional (swift configs: replication/storage)
      
      2x interface variable definition with hostname
      (haproxy listens; api intf)
      
      1x interface variable definition with hostname with bifrost exclusion
      (baremetal pre-install /etc/hosts; api intf)
      
      neutron's ml2 'overlay_ip_version' set to 6 for IPv6 on tunnel network
      
      basic multinode source CI job for IPv6
      
      prechecks for rabbitmq and qdrouterd use proper NSS database now
      
      MariaDB Galera Cluster WSREP SST mariabackup workaround
      (socat and IPv6)
      
      Ceph naming workaround in CI
      TODO: probably needs documenting
      
      RabbitMQ IPv6-only proto_dist
      
      Ceph ms switch to IPv6 mode
      
      Remove neutron-server ml2_type_vxlan/vxlan_group setting
      as it is not used (let's avoid any confusion)
      and could break setups without proper multicast routing
      if it started working (also IPv4-only)
      
      haproxy upgrade checks for slaves based on ipv6 addresses
      
      TODO:
      
      ovs-dpdk grabs ipv4 network address (w/ prefix len / submask)
      not supported, invalid by default because neutron_external has no address
      No idea whether ovs-dpdk works at all atm.
      
      ml2 for xenapi
      Xen is not supported too well.
      This would require working with XenAPI facts.
      
      rp_filter setting
      This would require meddling with ip6tables (there is no sysctl param).
      By default nothing is dropped.
      Unlikely we really need it.
      
      ironic dnsmasq is configured IPv4-only
      dnsmasq needs DHCPv6 options and testing in vivo.
      
      KNOWN ISSUES (beyond us):
      
      One cannot use IPv6 address to reference the image for docker like we
      currently do, see: https://github.com/moby/moby/issues/39033
      (docker_registry; docker API 400 - invalid reference format)
      workaround: use hostname/FQDN
      
      RabbitMQ may fail to bind to IPv6 if hostname resolves also to IPv4.
      This is due to old RabbitMQ versions available in images.
      IPv4 is preferred by default and may fail in the IPv6-only scenario.
      This should be no problem in real life as IPv6-only is indeed IPv6-only.
      Also, when new RabbitMQ (3.7.16/3.8+) makes it into images, this will
      no longer be relevant as we supply all the necessary config.
      See: https://github.com/rabbitmq/rabbitmq-server/pull/1982
      
      For reliable runs, at least Ansible 2.8 is required (2.8.5 confirmed
      to work well). Older Ansible versions are known to miss IPv6 addresses
      in interface facts. This may affect redeploys, reconfigures and
      upgrades which run after VIP address is assigned.
      See: https://github.com/ansible/ansible/issues/63227
      
      Bifrost Train does not support IPv6 deployments.
      See: https://storyboard.openstack.org/#!/story/2006689
      
      
      
      Change-Id: Ia34e6916ea4f99e9522cd2ddde03a0a4776f7e2c
      Implements: blueprint ipv6-control-plane
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      bc053c09
  30. Sep 11, 2019
  31. Aug 22, 2019
    • Krzysztof Klimonda's avatar
      Implement TLS encryption for internal endpoints · b0ecd8b6
      Krzysztof Klimonda authored
      This review is the first one in a series of patches and it introduces an
      optional encryption for internal openstack endpoints, implementing part
      of the add-ssl-internal-network spec.
      
      Change-Id: I6589751626486279bf24725f22e71da8cd7f0a43
      b0ecd8b6
  32. Jul 01, 2019
    • Mark Goddard's avatar
      Bump minimum Ansible version to 2.5 · 0a769dc3
      Mark Goddard authored
      This is necessary for some Ansible tests which were renamed in 2.5 -
      including 'version' and 'successful'.
      
      Change-Id: Iacf88ef5589c7571fcf56ba8b99d3dbe76975195
      0a769dc3
  33. Jun 06, 2019
    • Mark Goddard's avatar
      Use become for all docker tasks · b123bf66
      Mark Goddard authored
      Many tasks that use Docker have become specified already, but
      not all. This change ensures all tasks that use the following
      modules have become:
      
      * kolla_docker
      * kolla_ceph_keyring
      * kolla_toolbox
      * kolla_container_facts
      
      It also adds become for 'command' tasks that use docker CLI.
      
      Change-Id: I4a5ebcedaccb9261dbc958ec67e8077d7980e496
      b123bf66
  34. May 20, 2019
  35. May 02, 2019
    • Raimund Hook's avatar
      Updating Jinja filters to conform to Ansible 2.5+ · 84ea42bd
      Raimund Hook authored
      Since Ansible 2.5, the use of jinja tests as filters has been
      deprecated.
      
      I've run the script provided by the ansible team to 'fix' the
      jinja filters to conform to the newer syntax.
      
      This fixes the deprecation warnings.
      
      Change-Id: I844ecb7bec94e561afb09580f58b1bf83a6d00bd
      Closes-bug: #1827370
      84ea42bd
  36. Nov 19, 2018
    • caoyuan's avatar
      Use correct variable for default certificate paths · 9223deee
      caoyuan authored
      The variable {{ node_config_directory }} is used for the configuration
      directory on the remote hosts, and should not be used for paths on the
      deploy host (localhost).
      
      This changes the default value of the TLS certificate and CA file to
      reference {{ CONFIG_DIR }}, in line with the directory used for
      admin-openrc.sh (as of I0709482ead4b7a67e82796e17f85bde151e71bc0).
      
      This change also introduces a variable, {{ node_config }}, that
      references {{ CONFIG_DIR | default('/etc/kolla') }}, to remove
      duplication.
      
      Change-Id: Ibd82ac78630ebfff5824c329d7399e1e900c0ee0
      Closes-Bug: #1804025
      9223deee
  37. Oct 25, 2018
  38. Aug 02, 2018
  39. Jul 30, 2018
Loading