Skip to content
Snippets Groups Projects
  1. Mar 03, 2021
  2. Feb 24, 2021
    • Doug Szumski's avatar
      Fix Cinder log parsing · fa5511c7
      Doug Szumski authored
      
      The Cinder API log is currently written to a file called
      cinder-wsgi.log, and the WSGI logs to cinder-api.log. Fluentd
      then tries to parse the WSGI log as an OpenStack log which
      results in 'got incomplete line' errors and prevents proper
      ingestion of these logs.
      
      Co-Authored-By: default avataryaoning <yaoning@unitedstack.com>
      Closes-Bug: 1916752
      Change-Id: I3296dcc4780160cbf88bd18285571276f58bb249
      fa5511c7
  3. Feb 21, 2021
  4. Feb 20, 2021
    • wu.chunyang's avatar
      Use trove.conf for all trove services · b5671543
      wu.chunyang authored
      it was confused to customize opts in trove-conductor.conf
      or trove-taskmanager.conf now.
      if we want to customize a opts,The operator needs
      to know which service is using the configuration opts.
      actually trove uses trove.conf is enough for all services
      this change combines  all trove config files.
      
      Change-Id: I5a630109e3c4b59bff216146a3ed64c6d47e247f
      b5671543
  5. Feb 16, 2021
    • Michał Nasiadka's avatar
      ovn: Fix disabling of gateway chassis · ec04972b
      Michał Nasiadka authored
      It currently runs on hosts in ovn group, and in case that controllers are not
      network gateways - it fails on missing openvswitch.
      
      Change-Id: Ibbf683872337402b4e2a38323bb6a3f35ee4bed4
      ec04972b
  6. Feb 15, 2021
    • Pedro Henrique's avatar
      Add support to OpenID Connect Authentication flow · f3fbe837
      Pedro Henrique authored
      
      This pull request adds support for the OpenID Connect authentication
      flow in Keystone and enables both ID and access token authentication
      flows. The ID token configuration is designed to allow users to
      authenticate via Horizon using an identity federation; whereas the
      Access token is used to allow users to authenticate in the OpenStack CLI
      using a federated user.
      
      Without this PR, if one wants to configure OpenStack to use identity
      federation, he/she needs to do a lot of configurations in the keystone,
      Horizon, and register quite a good number of different parameters using
      the CLI such as mappings, identity providers, federated protocols, and
      so on. Therefore, with this PR, we propose a method for operators to
      introduce/present the IdP's metadata to Kolla-ansible, and based on the
      presented metadata, Kolla-ansible takes care of all of the
      configurations to prepare OpenStack to work in a federated environment.
      
      Implements: blueprint add-openid-support
      Co-Authored-By: default avatarJason Anderson <jasonanderson@uchicago.edu>
      Change-Id: I0203a3470d7f8f2a54d5e126d947f540d93b8210
      f3fbe837
  7. Feb 11, 2021
    • Giacomo Lanciano's avatar
      Fix monasca-grafana check · 486de99d
      Giacomo Lanciano authored
      - Increment retries: waiting 20 seconds (i.e., 10 retries) seem to
        be not enough for monasca-grafana to start on the first node.
        Increasing to 80 seconds (i.e., 40 retries) fixes the issue.
      
      - Prevent the check from running when kolla_action=config. In that
        case, the command would never succeed as the service is not
        deployed yet (similarly to
        https://review.opendev.org/c/openstack/kolla-ansible/+/771237).
      
      Closes-Bug: #1915060
      Related-Bug: #1821285
      Change-Id: I7b42c51a66caed0eccf118615d841dca97a7af9d
      486de99d
  8. Feb 03, 2021
  9. 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
  10. 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
    • Doug Szumski's avatar
      Fix Barbican API log config · 1ff4e58d
      Doug Szumski authored
      There are a few issues fixed here:
      
      - The Barbican API service doesn't set a log file, so all the Barbican API
        service logs go to loadwsgi.py.log by default.
      - The logs in loadwsgi.py.log are not ingested properly by Fluentd.
      - uWSGI logs go to barbican-api.log. This would normally be used as the log
        file for the Barbican API service logs.
      
      This patch makes the following changes to address the above issues:
      
      - All uWSGI logs (from the Emperor and Vassals) go to barbican_api_uwsgi_access.log
        Although these logs aren't strictly all access logs, this follows the existing
        pattern for WSGI logs.
      - The Barbican API service logs are written to barbican-api.log instead of
        loadwsgi.py.log. This follows the pattern used by other OpenStack services.
      - Fluentd is configured to parse the Barbican API service logs as it would with
        other OpenStack Python services.
      
      Change-Id: I6d03fa8c81c52b6f061514a836bbd15bb6639aaf
      Closes-Bug: #1891343
      1ff4e58d
    • zhouhenglc's avatar
      Replace db-sock with db-nb-sock and db-sb-sock · 21191fb7
      zhouhenglc authored
      --db-sock JSON-RPC socket name
      --db-nb-sock OVN_Northbound db socket
      --db-sb-sock OVN_Southbound db socket [1]
      so should use db-nb-sock and db-sb-sock
      
      Closes-bug: #1913031
      
      [1] https://github.com/ovn-org/ovn/blob/master/utilities/ovn-ctl
      
      Change-Id: Ife38237a308c87465d5ac3faf7d8de93fd49de4e
      21191fb7
  11. Jan 25, 2021
  12. Jan 18, 2021
    • Will Szumski's avatar
      Do not wait for grafana to start when kolla_action=config · 31f97d6c
      Will Szumski authored
      Prior to this change it was not possible to generate the config
      before deploying the services as you'd hit:
      
      RUNNING HANDLER [Waiting for grafana to start on first node] *************************
      Monday 18 January 2021  15:06:35 +0000 (0:00:00.182)       0:04:39.213 ********
      skipping: [sv-h22a8-u19]
      skipping: [sv-h22a5-u36]
      FAILED - RETRYING: Waiting for grafana to start on first node (10 retries left).
      
      This would never succeed as the service has not yet been deployed.
      
      TrivialFix
      Change-Id: I9437a049b24e5e613a7e66add481a8983b84867a
      31f97d6c
  13. Jan 12, 2021
  14. Jan 11, 2021
    • Doug Szumski's avatar
      Support explicit creation of Monasca Kafka topics · e689f951
      Doug Szumski authored
      With this patch, Monasca no longer relies on automatic topic creation
      in Kafka, and instead pre-creates all topics before bringing up the
      containers. If the topic already exists then it will not be
      changed, therefore existing users are not affected.
      
      This patch allows per topic customisations, such as increasing the
      number of partitions on particular topics and also works around
      a race condition in automatic topic creation where multiple instances
      of the same service could race to create a topic causing some of the
      services to restart and throw an error before resuming normal
      operation.
      
      Change-Id: Ib15c95bb72cf79e9e55945d757b248e06f5f4065
      e689f951
  15. 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
  16. 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
  17. Jan 07, 2021
  18. 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
  19. Jan 04, 2021
  20. 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
  21. Dec 23, 2020
  22. Dec 22, 2020
  23. Dec 21, 2020
  24. Dec 16, 2020
  25. 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
  26. 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
  27. 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
  28. Dec 08, 2020
  29. Dec 06, 2020
  30. Dec 04, 2020
  31. Nov 23, 2020
Loading