Skip to content
Snippets Groups Projects
  1. Apr 22, 2024
  2. Jan 17, 2024
    • Matt Crees's avatar
      Fix OpenSearch upgrade tasks idempotency · e502b65b
      Matt Crees authored
      Shard allocation is disabled at the start of the OpenSearch upgrade
      task. This is set as a transient setting, meaning it will be removed
      once the containers are restarted. However, if there is not change in
      the OpenSearch container it will not be restarted so the cluster is left
      in a broken state: unable to allocate shards.
      
      This patch moves the pre-upgrade tasks to within the handlers, so shard
      allocation and the flush are only performed when the OpenSearch
      container is going to be restarted.
      
      Closes-Bug: #2049512
      Change-Id: Ia03ba23bfbde7d50a88dc16e4f117dec3c98a448
      e502b65b
  3. Dec 21, 2023
    • Doug Szumski's avatar
      Set a log retention policy for OpenSearch · 5e5a2dca
      Doug Szumski authored
      We previously used ElasticSearch Curator for managing log
      retention. Now that we have moved to OpenSearch, we can use
      the Index State Management (ISM) plugin which is bundled with
      OpenSearch.
      
      This change adds support for automating the configuration of
      the ISM plugin via the OpenSearch API. By default, it has
      similar behaviour to the previous ElasticSearch Curator
      default policy.
      
      Closes-Bug: #2047037
      
      Change-Id: I5c6d938f2bc380f1575ee4f16fe17c6dca37dcba
      5e5a2dca
  4. Nov 15, 2023
  5. Feb 07, 2023
  6. Jan 12, 2023
    • Mark Goddard's avatar
      Fix prechecks in check mode · 46aeb984
      Mark Goddard authored
      When running in check mode, some prechecks previously failed because
      they use the command module which is silently not run in check mode.
      Other prechecks were not running correctly in check mode due to e.g.
      looking for a string in empty command output or not querying which
      containers are running.
      
      This change fixes these issues.
      
      Closes-Bug: #2002657
      Change-Id: I5219cb42c48d5444943a2d48106dc338aa08fa7c
      46aeb984
  7. Dec 21, 2022
    • Matt Crees's avatar
      Integrate oslo-config-validator · 6c2aace8
      Matt Crees authored
      Regularly, we experience issues in Kolla Ansible deployments because we
      use wrong options in OpenStack configuration files. This is because
      OpenStack services ignore unknown options. We also need to keep on top
      of deprecated options that may be removed in the future. Integrating
      oslo-config-validator into Kolla Ansible will greatly help.
      
      Adds a shared role to run oslo-config-validator on each service. Takes
      into account that services have multiple containers, and these may also
      use multiple config files. Service roles are extended to use this shared
      role. Executed with the new command ``kolla-ansible validate-config``.
      
      Change-Id: Ic10b410fc115646d96d2ce39d9618e7c46cb3fbc
      6c2aace8
  8. Dec 13, 2022
    • Pierre Riteau's avatar
      Fix generation of OpenSearch Dashboards config · a2739db0
      Pierre Riteau authored
      The opensearch config playbook was iterating over opensearch_services,
      generating a file named opensearch-dashboards.yml containing an empty
      JSON dictionary. The next task was generating opensearch_dashboards.yml
      which is actually used by OpenSearch Dashboards.
      
      Remove with_dict in the first task to only generate opensearch.yml.
      
      Change-Id: I39cf74916630d27cd34ce0783ba8c3c0d20bbddc
      a2739db0
  9. Dec 01, 2022
Loading