Skip to content
Snippets Groups Projects
  1. Nov 15, 2023
  2. Jul 25, 2022
    • Michal Nasiadka's avatar
      Fix var-spacing · dcf5a8b6
      Michal Nasiadka authored
      ansible-lint introduced var-spacing - let's fix our code.
      
      Change-Id: I0d8aaf3c522a5a6a5495032f6dbed8a2be0251f0
      dcf5a8b6
  3. Oct 05, 2020
    • Michal Nasiadka's avatar
      Use Docker healthchecks for core services · c52a89ae
      Michal Nasiadka authored
      This change enables the use of Docker healthchecks for core OpenStack
      services.
      Also check-failures.sh has been updated to treat containers with
      unhealthy status as failed.
      
      Implements: blueprint container-health-check
      Change-Id: I79c6b11511ce8af70f77e2f6a490b59b477fefbb
      c52a89ae
  4. Jun 27, 2019
    • Mark Goddard's avatar
      Simplify handler conditionals · de00bf49
      Mark Goddard authored
      Currently, we have a lot of logic for checking if a handler should run,
      depending on whether config files have changed and whether the
      container configuration has changed. As rm_work pointed out during
      the recent haproxy refactor, these conditionals are typically
      unnecessary - we can rely on Ansible's handler notification system
      to only trigger handlers when they need to run. This removes a lot
      of error prone code.
      
      This patch removes conditional handler logic for all services. It is
      important to ensure that we no longer trigger handlers when unnecessary,
      because without these checks in place it will trigger a restart of the
      containers.
      
      Implements: blueprint simplify-handlers
      
      Change-Id: I4f1aa03e9a9faaf8aecd556dfeafdb834042e4cd
      de00bf49
  5. Jul 25, 2018
  6. Jun 08, 2018
  7. May 11, 2018
    • Jeffrey Zhang's avatar
      Fix ansible warning · c5670551
      Jeffrey Zhang authored
      - rename action and serial to kolla_ansible and kolla_serial
      - use become instead of "sudo <command>" in shell
      - Remove quota for failed_when and changed_when in rabbitmq tasks
      
      Change-Id: I78cb60168aaa40bb6439198283546b7faf33917c
      Implements: blueprint migrate-to-ansible-2-2-0
      c5670551
  8. Jan 22, 2018
  9. Jun 08, 2017
    • Paul Bourke's avatar
      Add a Kolla 'devstack' mode · 5cb37564
      Paul Bourke authored
      Add a new variable 'kolla_devmode', which when enabled, clones and
      bindmounts service source code into the containers.
      
      This commit adds the relevant changes for Heat, more services can be
      added and built upon.
      
      Usage:
      * Set 'kolla_devmode: yes'
      
      * Code is cloned to /opt/stack/{{ project_name }} on target
        node(s)
      
      * Users can develop in these repos, and simply restart the container to
        pick up / test changes.
      
      Debugging can be done from the host via 'remote_pdb'[0].
      
      [0] https://pypi.python.org/pypi/remote-pdb
      
      Implements: blueprint mount-sources
      Change-Id: Ic0431b10d723bf84eeefc72039376fe0058dd902
      5cb37564
  10. Jan 24, 2017
    • Borne Mace's avatar
      Fixed config generation to check correct actions · bb475911
      Borne Mace authored
      
      A config generation check was added to a few services but the action
      name checked was "genconfig" where the kolla-ansible genconfig command
      actually uses the action name "config".
      
      Stop run the handlers when action is "config".
      
      Co-Authored-By: default avatarJeffrey Zhang <jeffrey.zhang@99cloud.net>
      Partially-implements: blueprint better-reconfigure
      Change-Id: I9d3be2f674087f340108b176c8e8e2209ffa8806
      bb475911
  11. Jan 20, 2017
Loading