Skip to content
Snippets Groups Projects
  1. Sep 30, 2019
  2. Sep 16, 2019
    • Mark Goddard's avatar
      Catch errors and changes in kolla_toolbox module · 70b515bf
      Mark Goddard authored
      The kolla_toolbox Ansible module executes as-hoc ansible commands in the
      kolla_toolbox container, and parses the output to make it look as if
      ansible-playbook executed the command. Currently however, this module
      sometimes fails to catch failures of the underlying command, and also
      sometimes shows tasks as 'ok' when the underlying command was changed.
      This has been tested both before and after the upgrade to ansible 2.8.
      
      This change fixes this issue by configuring ansible to emit output in
      JSON format, to make parsing simpler. We can now pick up errors and
      changes, and signal them to the caller.
      
      This change also adds an ansible playbook, tests/test-kolla-toolbox.yml,
      that can be executed to test the module. It's not currently integrated
      with any CI jobs.
      
      Note that this change cannot be backported as the JSON output callback
      plugin was added in Ansible 2.5.
      
      Change-Id: I8236dd4165f760c819ca972b75cbebc62015fada
      Closes-Bug: #1844114
      70b515bf
  3. Dec 27, 2018
    • confi-surya's avatar
      Update hacking version · b41309ef
      confi-surya authored
      Use latest release 1.1.0 and compatible changes w.r.t pep8
      
      Change-Id: Ie5e5417a1d8481bb59d516a320bd7cc1dd89591e
      b41309ef
  4. Jul 25, 2018
    • wu.chunyang's avatar
      Add check to ansible argument_spec · d6f8f697
      wu.chunyang authored
      module_name is required for kolla_toolbox,but this module does
      not check this argument.
      
      Change-Id: Iae256c0690b408a040b4e0b079525d3dab917e90
      d6f8f697
  5. 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
  6. Jul 10, 2017
  7. Apr 24, 2017
  8. 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
  9. 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
  10. Jan 26, 2017
  11. Jan 20, 2017
  12. Jan 12, 2017
Loading