kolla-ansible/ansible
Mark Goddard 8d25b306f5 Fall back to regexes in kolla_toolbox with Docker API 1.24
Since
70b515bf12
was merged, we implicitly require Docker API version 1.25
(https://docs.docker.com/engine/api/v1.25/) to support passing
environment variables to docker exec. The version of docker we deployed
before the Docker CE upgrade was 1.12.0, which is Docker API version
1.24, and so does not support this. We get the following error:

    Setting environment for exec is not supported in API < 1.25

This change modifies the kolla_toolbox module to use the new JSON
method for parsing Ansible's output when Docker API 1.25 is available,
falling back to the old regex-based method otherwise.

This change can be reverted when we require a minimum Docker API version
of 1.25+.

Change-Id: Ie671624ecca5b43d7bd8fbd959d701d9e21d66b3
Closes-Bug: #1845681
2019-09-30 16:54:38 +01:00
..
action_plugins Enhance merge_* action plugins to allow expected relative includes 2019-07-10 20:52:53 +02:00
filter_plugins Add custom filters for checking services 2019-09-16 12:48:52 +00:00
group_vars Switch default cloudkitty storage backend to influxdb 2019-09-24 16:15:14 +00:00
inventory Adding Prometheus blackbox exporter 2019-09-18 11:06:19 +01:00
library Fall back to regexes in kolla_toolbox with Docker API 1.24 2019-09-30 16:54:38 +01:00
roles Remove Nova legacy upgrade 2019-09-26 18:04:50 +01:00
bifrost.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
certificates.yml Make the certificates role just run on deploy node 2018-03-20 19:57:30 +08:00
destroy.yml Give plays in the playbooks a name 2016-12-05 15:40:56 +00:00
gather-facts.yml Fix fact gathering with --limit 2018-12-07 14:49:27 +00:00
kolla-host.yml Merge "Support Docker CE in bootstrap-servers" 2018-12-28 12:21:26 +00:00
mariadb_backup.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
mariadb_recovery.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
post-deploy.yml Use correct variable for default certificate paths 2018-11-19 16:25:28 +00:00
site.yml Merge "Adding Prometheus blackbox exporter" 2019-09-20 17:25:04 +00:00