diff options
author | Emilien Macchi <emilien@redhat.com> | 2016-01-08 11:09:09 -0500 |
---|---|---|
committer | Emilien Macchi <emilien@redhat.com> | 2016-01-11 22:30:44 +0000 |
commit | b8c2213f06d0c798d50285ca20fa0f6311985a64 (patch) | |
tree | 85102bf3bd1eafdd9392bd6bba385c4d338524a7 /puppet/cinder-storage.yaml | |
parent | 31b05b17bfd028d16990231079c4bfde777cde40 (diff) |
Use pymysql database driver for OpenStack DBs
PyMySQL is a new driver introduced in Liberty.
This patch change the MySQL url to use mysql+pymysql like recommanded.
Change-Id: I28e14acacba865241a0cc388a879a003181a85f3
Depends-On: I7604cca9e2d7bf0b93c820adec5f937f72b64fa8
Closes-Bug: #1499298
Diffstat (limited to 'puppet/cinder-storage.yaml')
-rw-r--r-- | puppet/cinder-storage.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/cinder-storage.yaml b/puppet/cinder-storage.yaml index 82aa3a03..fd9365bd 100644 --- a/puppet/cinder-storage.yaml +++ b/puppet/cinder-storage.yaml @@ -243,7 +243,7 @@ resources: config: {get_resource: BlockStorageConfig} input_values: debug: {get_param: Debug} - cinder_dsn: {list_join: ['', ['mysql://cinder:', {get_param: CinderPassword}, '@', {get_param: MysqlVirtualIP} , '/cinder']]} + cinder_dsn: {list_join: ['', ['mysql+pymysql://cinder:', {get_param: CinderPassword}, '@', {get_param: MysqlVirtualIP} , '/cinder']]} snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName} snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword} cinder_lvm_loop_device_size: |