Bind mount the database client settings in sahara_db_sync

Apparently not doing this break the bootstrap container in some cases
(for example when TLS everywhere is enabled). This case is not really
supported by Sahara right now, but better fix it in advance.

More details about this change are available in the similar patches
that landed for other components:
- Cinder: https://review.openstack.org/539498
- Manila: https://review.openstack.org/594801

Change-Id: Iab8ad50f4397ee9809f50d1474026d5ff8a6972c
This commit is contained in:
Luigi Toscano 2018-08-22 15:17:09 +02:00
parent dc6c632681
commit 40d59f2c22
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ outputs:
list_concat:
- {get_attr: [ContainersCommon, volumes]}
-
- /var/lib/config-data/sahara/etc/my.cnf.d/tripleo.cnf:/etc/my.cnf.d/tripleo.cnf:ro
- /var/lib/config-data/sahara/etc/sahara/:/etc/sahara/:ro
- /lib/modules:/lib/modules:ro
- /var/lib/sahara:/var/lib/sahara