Skip to content
Snippets Groups Projects
  1. 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
  2. Dec 20, 2023
  3. Dec 19, 2023
  4. Dec 18, 2023
  5. Dec 14, 2023
  6. Dec 13, 2023
  7. Dec 05, 2023
    • Andrey Kurilin's avatar
      Fix broken list concatenation in horizon role · 97cd1731
      Andrey Kurilin authored
      
      Starting with ansible-core 2.13, list concatenation format is changed
      and does not support concatenation operations outside of the jinja template.
      
      The format change:
      
        "[1] + {{ [2] }}" -> "{{ [1] + [2] }}"
      
      This affects the horizon role that iterates over existing policy files to
      override and concatenate them into a single variable.
      
      Co-Authored-By: default avatarDr. Jens Harbott <harbott@osism.tech>
      
      Closes-Bug: #2045660
      Change-Id: I91a2101ff26cb8568f4615b4cdca52dcf09e6978
      97cd1731
    • Mark Goddard's avatar
      Support Ansible max_fail_percentage · af6e1ca4
      Mark Goddard authored
      This allows us to continue execution until a certain proportion of hosts
      to fail. This can be useful at scale, where failures are common, and
      restarting a deployment is time-consuming.
      
      The default max failure percentage is 100, keeping the default
      behaviour. A global max failure percentage may be set via
      kolla_max_fail_percentage, and individual services may define a max
      failure percentage via <service>_max_fail_percentage.
      
      Note that all hosts in the inventory must be reachable for fact
      gathering, even those not included in a --limit.
      
      Closes-Bug: #1833737
      Change-Id: I808474a75c0f0e8b539dc0421374b06cea44be4f
      af6e1ca4
  8. Dec 01, 2023
    • Christian Berendt's avatar
      magnum: support kubeconfig configuration file · c939504d
      Christian Berendt authored
      If a file {{ node_custom_config }}/magnum/kubeconfig exists, it is
      copied to /var/lib/magnum/.kube/config in all Magnum Service Containers.
      At this location, the vexxhost/magnum-cluster-api will loo for the Kubeconfig
      configuration file to control the Cluster API Control Plane. If the
      vexxhost/magnum-cluster-api is installed in the Magnum container images,
      control of a cluster API control plane can then take place via the Magnum API.
      
      Depends-On: https://review.opendev.org/c/openstack/kolla/+/902101
      Change-Id: I986c5192fe96b9c480a2d8fa87d719a50ce78186
      c939504d
    • Michal Nasiadka's avatar
      fluentd: Fix getting podman labels · bdd2aa37
      Michal Nasiadka authored
      podman_image_info returns Config dict, not ContainerConfig.
      
      Change-Id: I9f813c90b42246c4835d7d7b18476a021d80548b
      bdd2aa37
  9. Nov 30, 2023
  10. Nov 29, 2023
    • Jan Gutter's avatar
      etcd: update to v3.4 · ccfa2a6c
      Jan Gutter authored
      * Updates etcd to v3.4
      * Updated the config to use v3.4's logging mechanism
      * Deprecated etcd CA parameters aren't used, so we are not affected
        by their removal.
      * Note that we are not currently guarding against skip-version updates for
        etcd.
      
      Notable non-voting jobs exercising some of this:
      * kolla-ansible-ubuntu-upgrade-cephadm (cinder->tooz->etcd3gw->etcd)
      * kolla-ansible-ubuntu-zun (see
        https://review.opendev.org/c/openstack/openstack-ansible/+/883194 )
      
      Depends-On: https://review.opendev.org/c/openstack/kolla/+/890464
      Change-Id: I086e7bbc7db64421445731a533265e7056fbdb43
      ccfa2a6c
    • Jan Gutter's avatar
      etcd: deduplicate environments for containers · ae21f317
      Jan Gutter authored
      * etcd service containers usually have a set of
        environment parameters required to boot the container.
      * The short-lived etcd bootstrap containers pass extra
        ETCD_INITIAL_* environment variables, but still need to
        pass the ones that the service containers use.
      * This uses ansible's `combine` filter to cut down on the
        duplication.
      * This is intended to be just a straightforward refactor.
      
      Change-Id: I04e95f92a8f365553afd618d58b99de595d48312
      ae21f317
  11. Nov 28, 2023
    • Jan Gutter's avatar
      etcd: Add support for more scenarios · ed3b27cc
      Jan Gutter authored
      This commit addresses a few shortcomings in the etcd service:
        * Adding or removing etcd nodes required manual intervention.
      
        * The etcd service would have brief outages during upgrades or
          reconfigures because restarts weren't always serialised.
      
      This makes the etcd service follow a similar pattern to mariadb:
        * There is now a distiction between bootstrapping the cluster
          and adding / removing another member.
      
        * This more closely follows etcd's upstream bootstrapping
          guidelines.
      
        * The etcd role now serialises restarts internally so the
          kolla_serial pattern is no longer appropriate (or necessary).
      
      This does not remove the need for manual intervention in all
      failure modes: the documentation has been updated to address the
      most common issues.
      
      Note that there's repetition in the container specifications: this
      is somewhat deliberate. In a future cleanup, it's intended to reduce
      the duplication.
      
      Change-Id: I39829ba0c5894f8e549f9b83b416e6db4fafd96f
      ed3b27cc
    • Michal Nasiadka's avatar
      fluentd: Use labels for transition to v5 · 06baa8f6
      Michal Nasiadka authored
      Depends-On: https://review.opendev.org/c/openstack/kolla/+/901508
      Change-Id: I8c7d3de95d0f1f8e57a993b8c3417d90459e19be
      06baa8f6
    • Doug Szumski's avatar
      Fix Horizon WSGI application log parsing · 4168b46c
      Doug Szumski authored
      Like other WSGI services in Kolla Ansible, the Horizon WSGI application
      handles log output via the `wsgi.errors` object. See [1] for further
      information. The problem is that this log output is written to a file called
      `horizon.log`, causing it to processed as an 'Oslo log' in the Fluentd
      processing pipeline. Since the log format doesn't match the expected format,
      this results in parsing errors.
      
      This fix renames the log file and adjusts the format to match other WSGI
      applications. The logs are then processed in the same way as other WSGI
      application logs, resolving the issue.
      
      [1] https://modwsgi.readthedocs.io/en/master/user-guides/debugging-techniques.html
      
      Change-Id: I93777d1c53920f5470c78356e6b3a4064fbe04b4
      Closes-Bug: #1898174
      4168b46c
    • Matt Crees's avatar
      Revert "Enable RabbitMQ HA queues by default" · cdda49ec
      Matt Crees authored
      This reverts commit b86c304a.
      
      Reason for revert: We want to enable Quorum Queues by default in Caracal, without requiring two queue migrations between releases. See etherpad for details: https://etherpad.opendev.org/p/kolla-ansible-rmq-quorum-queues-proposal
      
      Change-Id: Ia19ab97f538125475297976347c5da332a7fdda7
      cdda49ec
  12. Nov 22, 2023
  13. Nov 21, 2023
  14. Nov 17, 2023
  15. Nov 15, 2023
  16. Nov 14, 2023
    • Michal Nasiadka's avatar
      Introduce oneshot docker_restart_policy · cea076f3
      Michal Nasiadka authored
      docker_restart_policy: no causes systemd units to not get created
      and we use it in CI to disable restarts on services.
      
      Introducing oneshot policy to not create systemd unit for oneshot
      containers (those that are running bootstrap tasks, like db
      bootstrap and don't need a systemd unit), but still create systemd
      units for long lived containers but with Restart=No.
      
      Change-Id: I9e0d656f19143ec2fcad7d6d345b2c9387551604
      cea076f3
  17. Nov 09, 2023
  18. Nov 07, 2023
  19. Nov 06, 2023
  20. Nov 02, 2023
  21. Oct 30, 2023
  22. Oct 25, 2023
  23. Oct 20, 2023
  24. Oct 19, 2023
Loading