Skip to content
Snippets Groups Projects
  1. Sep 13, 2024
    • Michal Nasiadka's avatar
      systemd: Add Wants=docker.service for docker · a8d03a26
      Michal Nasiadka authored
      In I70dd1751dea6bfc9bb265aeda04b3392e135324c we removed
      Requires=docker.service and left only After=docker.service.
      
      In a case where something starts docker.service that's enough,
      but if docker.service is disabled or no service is dependent on
      it - it won't be started.
      
      This patch adds Wants=docker.service which will try to start
      docker.service if it is not started or enabled but does not
      impose a dependency which causes restart of kolla systemd units
      when docker.service is restarted (see [1]).
      
      Closes-Bug: #2065168
      
      [1]: https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Wants=
      
      Change-Id: Ic3acb15f7c6ba7269ef62ccc8895b6bea4fc1f4d
      a8d03a26
  2. Sep 05, 2024
  3. Aug 21, 2024
    • leiyashuai's avatar
      Remove "distutils" library · b3a66ef3
      leiyashuai authored
      Library "distutils" is deprecated in Python 3.10:
      https://peps.python.org/pep-0632/
      
      The versions previously referenced using StrictVersion should be old
      enough that they will not be used in a Dalmatian deployment:
      
      - Ansible 2.11
      - Docker API 1.42, included since Docker engine 23.0.0
      
      Change-Id: Ie315004715a1cb5a91dd54bc64b0a8fd0af650ec
      b3a66ef3
  4. Jul 08, 2024
    • Ivan Halomi's avatar
      Fix podman healtcheck when not enabled · 59bebd41
      Ivan Halomi authored
      
      There was a bug where setting the test command
      for the health check to 'NONE' would throw an error
      in podman_worker. This was problematic since K-A
      uses 'NONE' as an indicator that the health check is not enabled.
      
      Closes-Bug: #2071912
      Change-Id: I3140bb79eace58b23f579be3da569c502c52c38c
      Signed-off-by: default avatarIvan Halomi <ivan.halomi@tietoevry.com>
      59bebd41
  5. Jul 02, 2024
  6. Jun 26, 2024
    • Pedro Henrique's avatar
      Fix the docker container dimensions comparison for short notation · a086b780
      Pedro Henrique authored
      When using short notations like `1g` or `512m` to define the
      container dimensions, we are always getting the container to
      being restarted in each kolla-ansible run, even with no real
      changes in the container configs.
      
      Change-Id: Ic8e2dd42b95a8f5c2141a820c55642a3ed7beabd
      Closes-Bug: #2070494
      a086b780
  7. Jun 24, 2024
  8. May 27, 2024
  9. Apr 22, 2024
  10. Mar 29, 2024
  11. Feb 27, 2024
    • Will Szumski's avatar
      Support mode in named volumes when using podman · 9b3428c5
      Will Szumski authored
      Volumes with a mode specifier were causing the container to fail to
      start with the error: "Wrong format of volume". ironic-dnsmasq was one
      services affected by this issue, but you could also hit this issue when
      using the volume customisation variables.
      
      Closes-Bug: #2054834
      Change-Id: I848bd2838a17756f1c71b07befe1e3d966f5b6c2
      9b3428c5
  12. Jan 05, 2024
    • Michal Arbet's avatar
      Fix long service restarts while using systemd · b1fd2b40
      Michal Arbet authored
      Some containers exiting with 143 instead of 0, but
      this is still OK. This patch just allows
      ExitCode 143 (SIGTERM) as fix. Details in
      bugreport.
      
      Services which exited with 143 (SIGTERM):
      
      kolla-cron-container.service
      kolla-designate_producer-container.service
      kolla-keystone_fernet-container.service
      kolla-letsencrypt_lego-container.service
      kolla-magnum_api-container.service
      kolla-mariadb_clustercheck-container.service
      kolla-neutron_l3_agent-container.service
      kolla-openvswitch_db-container.service
      kolla-openvswitch_vswitchd-container.service
      kolla-proxysql-container.service
      
      Partial-Bug: #2048130
      Change-Id: Ia8c85d03404cfb368e4013066c67acd2a2f68deb
      b1fd2b40
  13. Nov 15, 2023
  14. 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
  15. Oct 20, 2023
  16. Aug 17, 2023
    • Michal Nasiadka's avatar
      systemd: handle running container without systemd unit · 1497ab2a
      Michal Nasiadka authored
      MariaDB bootstrap has a phase where the first MariaDB container
      is running with Galera bootstrap - after a check that WSREP
      is synced is successful - we restart the container.
      
      The bootstrap container is named mariadb and running with
      docker_restart_policy: "no" - the restarted container should be running
      in systemd.
      
      Before this patch the code created a systemd unit but it was initially
      stopped - so stopping was always a success - and the container would be
      killed with SIGKILL on removal (which obviously breaks MariaDB).
      
      This patch also improves docker/systemd stops by waiting for real
      unit/container stop and adds failing CI for containers that are
      killed with signal 9.
      
      Closes-Bug: #2029613
      
      Change-Id: I0a03e509ce228a50e081fcab44d2b4831251190c
      1497ab2a
  17. Mar 23, 2023
  18. Feb 20, 2023
  19. Feb 03, 2023
  20. Jan 19, 2023
  21. Dec 13, 2022
  22. Jan 06, 2022
Loading