From 6381879a1be11e6e1c8c9fb9f6faf6f6412b4b5f Mon Sep 17 00:00:00 2001 From: Damien Ciabrini Date: Wed, 31 Jan 2018 11:01:53 +0000 Subject: [PATCH] Bind mount the database client settings in cinder_api_db_sync cinder_api_db_sync does not use the database settings which are generated by the puppet_config step. Consequently, it loses some important client settings for accessing the DB, e.g. it breaks when TLS everywhere is enabled. Bind mount the tripleo.cnf file to expose the proper DB settings. Change-Id: I17f3304d546eeb78803b4a3cc859255bfb3f71eb Closes-Bug: #1746491 --- docker/services/cinder-api.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/services/cinder-api.yaml b/docker/services/cinder-api.yaml index b803889fcb..53bbb97bbd 100644 --- a/docker/services/cinder-api.yaml +++ b/docker/services/cinder-api.yaml @@ -129,6 +129,7 @@ outputs: list_concat: - {get_attr: [ContainersCommon, volumes]} - + - /var/lib/config-data/cinder/etc/my.cnf.d/tripleo.cnf:/etc/my.cnf.d/tripleo.cnf:ro - /var/lib/config-data/cinder/etc/cinder/:/etc/cinder/:ro - /var/log/containers/cinder:/var/log/cinder - /var/log/containers/httpd/cinder-api:/var/log/httpd