Skip to content
Snippets Groups Projects
  1. Aug 09, 2018
  2. Jul 25, 2018
  3. Jul 12, 2018
  4. Apr 26, 2018
    • Jorge Niedbalski's avatar
      Increase timeout for kolla_toolbox module. · 044e82cc
      Jorge Niedbalski authored
      
      This patch increases the default timeout for
      the kolla_toolbox ansible module when talking
      with the docker API from the default 60 to 180 secs.
      
      This is required on slower deployments,
      specially when bootstraping an environment and fernet
      tokes are in usage. For faster deployments this will
      be harmless, but for slower deployments this would be
      beneficial.
      
      Bug: #1767136
      Change-Id: I0391715b16cf86d6c27fecf8a666de64f2735a7d
      Signed-off-by: default avatarJorge Niedbalski <jorge.niedbalski@linaro.org>
      044e82cc
  5. Apr 06, 2018
    • wangwei's avatar
      Fix ipc_mode comparison in the latest docker · 193ce726
      wangwei authored
      In old docker, if you do not specify ipc_mode, the default value is empty,
      but in the latest docker, such as 17.09.0, if not specified, the default
      is "IpcMode": "shareable", which will cause all containers to be deleted
      and re-create when to redeploy or upgrade. This commit solves the
      problem.
      
      Change-Id: Ia8269b9c8066880e4aee23d6fdea8d9c04c41e44
      Closes-Bug: #1747586
      193ce726
  6. Mar 30, 2018
  7. Feb 01, 2018
  8. Jan 26, 2018
    • Eduardo Gonzalez's avatar
      Add container state check in kolla_docker · 448a10df
      Eduardo Gonzalez authored
      Missing container status check in recreate_or_restart_container,
      this causes if the container is not running (kolla-ansible stop),
      to not be started with deploy/reconfigure/upgrade if any other param
      changes.
      
      Change-Id: I5cff5f367e963ba8b1807ec46469da817e40e468
      Closes-Bug: #1714015
      448a10df
  9. Jul 28, 2017
  10. Jul 14, 2017
    • Bertrand Lallau's avatar
      Remove warning during kolla_docker execution · 2d424ffb
      Bertrand Lallau authored
      Ansible check if modules parameters are named like
      %password% and allow to hidden log param in this case.
      This requires adding "no_log" parameters.
      This patch just add "no_log" param in order to avoid
      this warning.
      
      Change-Id: I9c1df1093e0fd101090292d6e8bf3527f99aeb17
      Closes-Bug: #1702244
      2d424ffb
  11. Jul 10, 2017
  12. Apr 24, 2017
  13. Apr 13, 2017
    • Duong Ha-Quang's avatar
      Add graceful_timeout argument to kolla_docker · d9293595
      Duong Ha-Quang authored
      Currently, when stoping/restarting container, Kolla uses default timeout value
      between SIGTERM and SIGKILL provided by docker which is 10 sec. But some
      services require more than it to finish graceful shutdown progress.
      
      This patchset adds graceful_timeout to kolla_docker to override the default
      one.
      
      Partial Implements: bp signaling-to-container
      
      Change-Id: Ica0b48a53c650cc23dfa1955027d2cf936a5932f
      d9293595
  14. Apr 06, 2017
    • Mohammed Naser's avatar
      Switch kolla_docker to rely on SHA256 for image changes · 27d675ea
      Mohammed Naser authored
      At the moment, the process to determine if an image has
      changed or not relies on the Docker API which depending
      on the Docker release server can return different results.
      
      This patch addresses this issue by grabbing the SHA256
      of the image before pulling (defaulting to None if it does
      not exist) and then comparing it after the pull is complete
      which should always be successful at determining if the
      image did change or not.
      
      The test for unknown status images is removed because this
      is not a possible scenario as we do not rely on status
      anymore except for failures (which are still tested).
      
      Change-Id: Ia60a7f34420b02f50597dddb96a4c36ff3996612
      Closes-Bug: #1668059
      Unverified
      27d675ea
    • Mohammed Naser's avatar
      Fix documentation for kolla_docker image pulling · 10861350
      Mohammed Naser authored
      The example to pull images is incorrect, this patch
      addresses it and corrects it accordingly.
      
      Change-Id: Ice79e7f73d99c024781cb379d190f6d05e1a34a9
      Unverified
      10861350
  15. Mar 05, 2017
    • Jeffrey Zhang's avatar
      Fix the incompatible of docker-py 2.0.0 · 78e5c865
      Jeffrey Zhang authored
      docker-py 2.0.0 is released with renaming docker.Client to
      docker.APIClient. and with a new python package name "docker" rather
      than "docker-py".
      This patch support docker and docker-py packages.
      
      Change-Id: Ib4400a4d2ce803191ee6215c5b28f0052970332c
      Closes-Bug: #1668346
      78e5c865
  16. Feb 21, 2017
    • Chao Guo's avatar
      Add empty volume item check in kolla_docker module · 03ddc1be
      Chao Guo authored
      A empty docker volume item will cause start_container to fail.
      This bug is not triggered in current kolla deployment scripts, but
      only if you pass a empty volume item to kolla_docker module.
      E.g. Using a if expression in items of volumes list while calling
      start_container. Like the one in start.yml of iscsi and cinder.
      
      Change-Id: I389246fb9650ab5304463e943459ecb68706167f
      03ddc1be
  17. Feb 16, 2017
    • Abel Lopez's avatar
      Change python interpreter · 8b90fb6d
      Abel Lopez authored
      There is inconsistent use of either `/usr/bin/python` or
      `/usr/bin/env python`. This makes for unexpected results when a
      user might be using a virtualenv.
      
      Change-Id: Ibb030f920a8869f9113ade70b66a921cc815060d
      Unverified
      8b90fb6d
  18. Feb 08, 2017
  19. Feb 04, 2017
  20. Feb 03, 2017
    • Jeffrey Zhang's avatar
      Fix the pid_mode and ipc_mode value check for kolla_docker module · a3acd2c4
      Jeffrey Zhang authored
      bypass_checks is disabled by Ib2e19794bbe804470a880253d5870254041358c8 .
      But we use pid_mode: "{{ service.pid_mode | default('') }}" pattern in
      the yaml file. whereas pid_mode only support "host" value, this patch
      add '' as a choice of these two parameters.
      
      Change-Id: Ib83ed5e437ca868f0e42ce740ad1125d2fa48ff4
      a3acd2c4
  21. Feb 02, 2017
  22. Jan 26, 2017
  23. Jan 25, 2017
  24. Jan 23, 2017
  25. Jan 20, 2017
  26. Jan 12, 2017
  27. Jan 02, 2017
  28. Nov 29, 2016
  29. Nov 25, 2016
  30. Nov 09, 2016
    • maniram477's avatar
      Corrects typo "requried" in kolla_docker.py · 6275f709
      maniram477 authored
      The parameter "required=True" is mistyped as "requried=True"
      in ansible/library/kolla_docker.py and tests/test_kolla_docker.py
      
      Closes bug: 1640423
      
      Change-Id: I64c333275b9eb3eff5b1c0fa5d550f478e68020d
      6275f709
  31. Sep 26, 2016
    • Sajauddin Mohammad's avatar
      Changed docker_restart_policy to unless-stopped · 3f134d0f
      Sajauddin Mohammad authored
      Current implementation has docker_restart_policy "always" and
      docker_restart_policy_retry:"10" which should be mutually exclusive.
      "unless-stopped" will restart the containers on any exit state
      but not start on daemon startup if container was put to stopped state before.
      Closes-Bug: #1621187
      
      Change-Id: I4d881cd123a55625121b7a9047385e9b54e2e129
      3f134d0f
  32. Aug 31, 2016
    • Sean Mooney's avatar
      generate bifrost yaml configs · d7dfae75
      Sean Mooney authored
      - This change indroduces a merge_yaml action_plugin
      - This change generates bifrost yaml configs.
      
      Change-Id: I9814e6a5d55cbd46c4b60c06ed70ed54a575bd2f
      Implements: blueprint bifrost-support
      d7dfae75
  33. Aug 04, 2016
    • Lu lei's avatar
      Modify some spelling mistakes · 9fd70b42
      Lu lei authored
      Fix a spelling error, and modify some words.
      
      TrivialFix
      
      Change-Id: Ieb55bd2679291ab61080b55feaaaf3c494939978
      9fd70b42
  34. Aug 02, 2016
  35. Aug 01, 2016
    • Jeffrey Zhang's avatar
      Fix the kolla_docker issue with docker 1.12 · ae34973d
      Jeffrey Zhang authored
      After docker 1.12, the RepoTags will be None rather than [] in the
      image list API. This PS will handle the both case.
      
      Change-Id: Ie2da44b44229c2f190550755b50876f607f9cc0c
      Closes-Bug: #1608358
      ae34973d
  36. Jul 26, 2016
    • qinchunhua's avatar
      Python 3: dict.iteritems() · 1bddef94
      qinchunhua authored
      Replace dict.iteritems() with dict.items(). The Python 3 dict
      type has no iteritems() method, the old iteritems() method was
      renamed to items().
      
      TrivialFix.
      
      Change-Id: I2137e72554fd16d2c70e50306e4f57d27e35bcd3
      1bddef94
Loading