Skip to content
Snippets Groups Projects
  1. Sep 12, 2024
    • Pierre Riteau's avatar
      Separate outputs of kolla_toolbox inner module · 54076620
      Pierre Riteau authored
      Inner modules called by the kolla_toolbox module were returning stdout
      and stderr as a single output object. This could break JSON parsing if
      any data was present in stderr, for example warnings such as:
      
          [WARNING]: Collection ansible.posix does not support Ansible version 2.14.17
      
      Fix by using demux=True to separate the two streams. The stderr content
      is logged as it could be useful for troubleshooting or catching
      deprecation notices.
      
      Change-Id: Iad0476d4511f28c837794352c9a3e2f47113d9a1
      Closes-Bug: #2080544
      54076620
  2. 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
  3. Oct 20, 2023
  4. Oct 04, 2023
  5. Dec 13, 2022
  6. Nov 04, 2022
  7. Oct 04, 2022
  8. Sep 23, 2021
  9. Apr 04, 2020
    • Andreas Jaeger's avatar
      Update hacking for Python3 · 45448976
      Andreas Jaeger authored
      The repo is Python 3 now, so update hacking to version 3.0 which
      supports Python 3.
      
      Fix problems found by updated hacking version.
      
      Remove hacking and friends from lower-constraints, they are not needed
      during installation.
      
      Change-Id: I7ef5ac8a89e94f5da97780198619b6facc86ecfe
      45448976
  10. Oct 01, 2019
    • Mark Goddard's avatar
      Add service-rabbitmq role · 039cc2be
      Mark Goddard authored
      This role can be used by other roles to register RabbitMQ resources.
      Currently support is provided for creating virtual hosts and users.
      
      Change-Id: Ie1774a10b4d629508584af679b8aa9e372847804
      Partially Implements: blueprint support-nova-cells
      Depends-On: https://review.opendev.org/684742
      039cc2be
  11. Sep 30, 2019
  12. 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
  13. 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
  14. 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
  15. 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
  16. Jul 10, 2017
  17. Apr 24, 2017
  18. 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
  19. 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
  20. Jan 26, 2017
  21. Jan 20, 2017
  22. Jan 12, 2017
Loading