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
This commit is contained in:
parent
f9e1a7d965
commit
6381879a1b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue