Skip to content

Instantly share code, notes, and snippets.

@cjeanneret
Created May 2, 2018 06:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjeanneret/48ca8d8a8beb8b2128a3b84bff1019fc to your computer and use it in GitHub Desktop.
Save cjeanneret/48ca8d8a8beb8b2128a3b84bff1019fc to your computer and use it in GitHub Desktop.
[LAB stack@undercloud tripleo-heat-templates]$ git diff
diff --git a/openstack-tripleo-heat-templates/docker/services/haproxy.yaml b/openstack-tripleo-heat-templates/docker/services/haproxy.yaml
index ca03f2c..6da6a7f 100644
--- a/openstack-tripleo-heat-templates/docker/services/haproxy.yaml
+++ b/openstack-tripleo-heat-templates/docker/services/haproxy.yaml
@@ -193,6 +193,8 @@ outputs:
-
- /var/lib/kolla/config_files/haproxy.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/config-data/puppet-generated/haproxy/:/var/lib/kolla/config_files/src:ro
+ # in order to get access to the socket
+ - /var/lib/haproxy/:/var/lib/haproxy/:rw
- list_join:
- ':'
- - {get_param: DeployedSSLCertificatePath}
diff --git a/openstack-tripleo-heat-templates/docker/services/pacemaker/haproxy.yaml b/openstack-tripleo-heat-templates/docker/services/pacemaker/haproxy.yaml
index 430c634..2cde26a 100644
--- a/openstack-tripleo-heat-templates/docker/services/pacemaker/haproxy.yaml
+++ b/openstack-tripleo-heat-templates/docker/services/pacemaker/haproxy.yaml
@@ -217,6 +217,8 @@ outputs:
- /usr/libexec/initscripts/legacy-actions:/usr/libexec/initscripts/legacy-actions:ro
- /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro
- /dev/shm:/dev/shm:rw
+ # in order to get access to the socket
+ - /var/lib/haproxy/:/var/lib/haproxy/:rw
metadata_settings:
get_attr: [HAProxyBase, role_data, metadata_settings]
upgrade_tasks:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment