From a4bb5ab1a6e1b981a93c31140d347473ab3483bf Mon Sep 17 00:00:00 2001 From: Goutham Pacha Ravi Date: Tue, 21 Aug 2018 21:43:40 -0700 Subject: [PATCH] Fix bind-mount to manila's bootstrap container When deploying with tls-everywhere, there are more connection options necessary for the Overcloud manila database bootstrap container to connect to mysql. These connection options are present in the configuration folder /var/lib/config-data/manila/etc/my.cnf.d/tripleo.cnf. Fix the bind-mounts on the manila_api_db_sync container so it doesn't fail to find this configuration. Closes-Bug: #1788337 Change-Id: I44133b0b0c4367214649777680c94dcfa7bddc76 --- docker/services/manila-api.yaml | 1 + ...x-manila-db-sync-overcloud-deploy-f323d85509ca81ec.yaml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 releasenotes/notes/bug-1788337-fix-manila-db-sync-overcloud-deploy-f323d85509ca81ec.yaml diff --git a/docker/services/manila-api.yaml b/docker/services/manila-api.yaml index b225e3f93e..bc56a0a4a7 100644 --- a/docker/services/manila-api.yaml +++ b/docker/services/manila-api.yaml @@ -103,6 +103,7 @@ outputs: list_concat: - {get_attr: [ContainersCommon, volumes]} - + - /var/lib/config-data/manila/etc/my.cnf.d/tripleo.cnf:/etc/my.cnf.d/tripleo.cnf:ro - /var/lib/config-data/manila/etc/manila/:/etc/manila/:ro - /var/log/containers/manila:/var/log/manila - /var/log/containers/httpd/manila-api:/var/log/httpd diff --git a/releasenotes/notes/bug-1788337-fix-manila-db-sync-overcloud-deploy-f323d85509ca81ec.yaml b/releasenotes/notes/bug-1788337-fix-manila-db-sync-overcloud-deploy-f323d85509ca81ec.yaml new file mode 100644 index 0000000000..ab76fc0f10 --- /dev/null +++ b/releasenotes/notes/bug-1788337-fix-manila-db-sync-overcloud-deploy-f323d85509ca81ec.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + `Launchpad bug 1788337 `_ + that affected the overcloud deployment with TLS Everywhere has been fixed. + The manila bootstrap container no longer fails to connect securely to + the database.