Skip to content
Snippets Groups Projects
  1. Jan 29, 2021
    • fudunwei's avatar
      Negative seqno need to be considered when comparing seqno · 068f3fea
      fudunwei authored
      Need to consider Negative seqno to compare in some cases,
      but the task does not support to do that, we need to make it work.
      
      1.we use mariabackup to restore datas on control1, delete the
      mariadb data on control2 and control3, and then use cluster recovery,
       as a result that the seqno of the other two nodes will be '-1'.
      
      2. add one more control node into our existing mariadb cluster,
      and then use cluster recovery, the seqno of the new node will be '-1'.
      
      Change-Id: Ic1ac8656f28c3835e091637014f075ac5479d390
      068f3fea
  2. Jan 27, 2021
    • Piotr Parczewski's avatar
      [docs] Unify project's naming convention · 5db72659
      Piotr Parczewski authored
      There are inconsitencies across the documentation and the source code files
      when it comes to project's name (Kolla Ansible vs. Kolla-Ansible). This
      commit aims at unifying it so that the naming becomes consistent everywhere.
      
      Change-Id: I903b2e08f5458b1a1abc4af3abefe20b66c23a54
      5db72659
  3. Jan 25, 2021
  4. Jan 12, 2021
  5. Jan 09, 2021
    • wu.chunyang's avatar
      Register resources info for octavia upgrading · 7f7bb1b4
      wu.chunyang authored
      kolla-ansible upgrade failed when octavia_auto_configure set
      to true. because upgrade action don't register the resources
      info.
      this change adds some tasks to query the resources info
      for upgrade action in octavia role.
      
      Change-Id: I4b0ac001b38bee81d983dd68534b9d0e78b4f6d7
      7f7bb1b4
  6. Jan 08, 2021
    • Victor Morales's avatar
      Fix remove libvirt apparmor disabled profile · 891ec51d
      Victor Morales authored
      The bootstrap process tries to removes existing apparmor profiles but
      doesn't consider the case where those are disabled. This change fixes
      the scenario where the libvirt profile exists but is disabled.
      
      Closes-Bug: 1909874
      Change-Id: Ied0f2acc420bd5cf1e092c8aee358cba35bd8d5d
      891ec51d
  7. Jan 07, 2021
  8. Jan 05, 2021
    • Andrew Lukoshko's avatar
      Install gnupg before adding docker apt gpg key during pre-install · 027b8d24
      Andrew Lukoshko authored
      Adding docker apt gpg key requires gpupg to be installed.
      Task will fail on minimal Debian 10 install as gnupg absent.
      
      Change-Id: I979f88162ad8a206e413b37ac7fb09bcc912e016
      027b8d24
    • Buddhika Sanjeewa's avatar
      Fixes solum_api Listening on 127.0.0.1 · e9f4a5a3
      Buddhika Sanjeewa authored
      The default kolla-ansible deployment of solum_api do not provide a value for 'host' variable in
      [api] section of the solum.conf
      This causes the solum_api service to fallback to default host 127.0.0.1, making haproxy unable to
      provide services.
      
      This fix adds value for 'host' variable, so the solum_api service able to listen on provided ip,
      making it available to services like haproxy accessing the service remotely
      
      Closes-Bug: 1909986
      Change-Id: I38a4ecab071306143952c8036830318c476797f2
      e9f4a5a3
  9. Jan 04, 2021
  10. Dec 25, 2020
    • wu.chunyang's avatar
      Fix dpdk deploy failed · b12be305
      wu.chunyang authored
      This change fix ansible deploy ovs-dpdk failed and
      neutron_openvswitch_agent container can't start..
      
      dpdk_tunnel is a role variable, but kolla_address gets vaule
      from hostvars. so we need remove this variable and it's friends
      to group/all.yaml
      
      neutron_openvswitch_agent connects to ovs-db with 127.0.0.1,
      but ovs-db listen on management interface.
      
      Closes-Bug: 1908850
      
      Change-Id: I86a13d2476644bfa2545a6737752cda1ade34d23
      b12be305
  11. Dec 23, 2020
  12. Dec 22, 2020
  13. Dec 21, 2020
  14. Dec 16, 2020
  15. Dec 14, 2020
    • Mark Goddard's avatar
      Revert "Performance: Use import_tasks in the main plays" · db4fc85c
      Mark Goddard authored
      This reverts commit 9cae59be.
      
      Reason for revert: This patch was found to introduce issues with fluentd customisation. The underlying issue is not currently fully understood, but could be a sign of other obscure issues.
      
      Change-Id: Ia4859c23d85699621a3b734d6cedb70225576dfc
      Closes-Bug: #1906288
      db4fc85c
  16. Dec 10, 2020
    • Pierre Riteau's avatar
      Fix failure during Monasca Grafana upgrade · 39e75c30
      Pierre Riteau authored
      The task "Stopping all Monasca Grafana instances but the first node"
      can fail with:
      
          error while evaluating conditional (monasca_grafana_differs['result']): 'dict object' has no attribute 'result'
      
      This is fixed by running this task on the same set of hosts than the
      task defining monasca_grafana_differs, i.e. groups['monasca-grafana'].
      
      Change-Id: I6ad0256fb2a3cdc91dddf441e5e1c41f4ac69017
      Closes-Bug: #1907689
      39e75c30
    • Mark Goddard's avatar
      Fix mariadb_recovery when mariadb container is missing · f903d774
      Mark Goddard authored
      Mariadb recovery fails if a cluster has previously been deployed, but any of
      the mariadb containers do not exist.
      
      Steps to reproduce
      ==================
      
      * Deploy a mariadb galera cluster
      * Remove the mariadb container from at least one host (docker rm -f mariadb)
      * Run kolla-ansible mariadb_recovery
      
      Expected results
      ================
      
      The cluster is recovered, and a new container deployed where necessary.
      
      Actual results
      ==============
      
      The task 'Stop MariaDB containers' fails on any host where the container does
      not exist.
      
      Solution
      ========
      
      This change fixes the issue by using the 'ignore_missing' flag for kolla_docker
      with the stop_container action. This means the task does not fail when the
      container does not exist. It is also necessary to swap some 'docker cp'
      commands for 'cp' on the host, using the path to the volume.
      
      Closes-Bug: #1907658
      
      Change-Id: Ibd4a6adeb8443e12c45cbab65f501392ffb16fc7
      f903d774
  17. 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
  18. Dec 08, 2020
  19. Dec 06, 2020
  20. Dec 04, 2020
  21. Nov 23, 2020
  22. Nov 19, 2020
  23. Nov 11, 2020
    • Alban Lecorps's avatar
      Add override timeout for openstack exporter · 99680b56
      Alban Lecorps authored
      Add scrape_timeout option in
      prometheus_openstack_exporter job in order
      to avoid timeout for large Openstack environment.
      
      Change-Id: If96034e602bee3b3eea34a2656047355e1d17eec
      Closes-Bug: #1903547
      99680b56
  24. Nov 10, 2020
  25. Nov 09, 2020
    • Michal Nasiadka's avatar
      ovn: Do not schedule SNAT routers on computes · 06baf514
      Michal Nasiadka authored
      Currently we set enable-chassis-as-gw on compute nodes when distributed FIP
      is enabled - that is not required for FIP functionality.
      
      Change-Id: Ic880a9479fa0cdbb1d1cae3dbe9523ef2e1132ce
      Closes-Bug: #1901960
      06baf514
  26. Nov 08, 2020
  27. Oct 29, 2020
  28. Oct 27, 2020
    • Radosław Piliszek's avatar
      Do not set 'always' tag where unnecessary · 71e9c603
      Radosław Piliszek authored
      Makes 'import_tasks' not change behaviour compared to
      'include_tasks'.
      
      Change-Id: I600be7c3bd763b3b924bd4a45b4e7b4dca7a33e3
      71e9c603
    • Radosław Piliszek's avatar
      Performance: Use import_tasks in the main plays · 9cae59be
      Radosław Piliszek authored
      Main plays are action-redirect-stubs, ideal for import_tasks.
      
      This avoids 'include' penalty and makes logs/ara look nicer.
      
      Fixes haproxy and rabbitmq not to check the host group as well.
      
      Change-Id: I46136fc40b815e341befff80b54a91ef431eabc0
      Partially-Implements: blueprint performance-improvements
      9cae59be
  29. Oct 24, 2020
    • linpeiwen's avatar
      Add support for GlusterFS NFS Manila backend · f01492b1
      linpeiwen authored
      Follows existing backends patterns to add support for the GlusterFS
      NFS driver.
      NFS server type used by the GlusterFS backend, Gluster or Ganesha,
      currently supports Gluster.
      The GlusterFS NFS driver needs to install the glusterfs-fuse package
      in the kolla images manila share container in advance, which has been merged
      in https://review.opendev.org/747510
      
      Change-Id: I7fdb121b5bf9850d62246a24f9b17d226028c2ca
      f01492b1
  30. Oct 22, 2020
    • Mark Goddard's avatar
      Fix permission denied during Fernet key rotation · b45679f1
      Mark Goddard authored
      During a deploy, if keystone Fernet key rotation happens before the
      keystone container starts, the rotation may fail with 'permission
      denied'. This happens because config.json for Keystone sets the
      permissions for /etc/keystone/fernet-keys.
      
      This change fixes the issue by also setting the permissions for
      /etc/keystone/fernet-keys in config.json for keystone-fernet and
      keystone-ssh.
      
      Change-Id: I561e4171d14dcaad8a2a9a36ccab84a670daa904
      Closes-Bug: #1888512
      b45679f1
    • Mark Goddard's avatar
      Fix keystone-startup.sh - remove Fernet key age check · ba8c27f5
      Mark Goddard authored
      Currently we check the age of the primary Fernet key on Keystone
      startup, and fail if it is older than the rotation interval. While this
      may seem sensible, there are various reasons why the key may be older
      than this:
      
      * if the rotation interval is not a factor of the number of seconds in a
        week, the rotation schedule will be lumpy, with the last rotation
        being up to twice the nominal rotation interval
      * if a keystone host is unavailable at its scheduled rotation time,
        rotation will not happen. This may happen multiple times
      
      We could do several things to avoid this issue:
      
      1. remove the check on the age of the key
      2. multiply the rotation interval by some factor to determine the
         allowed key age
      
      This change goes for the more simple option 1. It also cleans up some
      terminology in the keystone-startup.sh script.
      
      Closes-Bug: #1895723
      
      Change-Id: I2c35f59ae9449cb1646e402e0a9f28ad61f918a8
      ba8c27f5
Loading