Ubuntu: Use utf8mb3 charset in MySQL

... to fix the broken idempotency in litmus job. Current mysql/mariadb
in Ubuntu replaces utf8 with uft8mb3 automatically and this behavior
results in unexpected change in second run.

Depends-on: https://review.opendev.org/805001
Related-Bug: #1929073
Change-Id: I41a6fe11e8ab39a60b19299da18ee085a10dc202
(cherry picked from commit f29a3051fc)
(cherry picked from commit e4b399fdec)
(cherry picked from commit 909c4356c2)
This commit is contained in:
Takashi Kajinami 2022-07-10 00:22:14 +09:00
parent 3fadcaaee9
commit 92bb0c23df
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ describe 'basic manila' do
sql_connection => 'mysql+pymysql://manila:a_big_secret@127.0.0.1/manila?charset=utf8',
}
class { 'manila::db::mysql':
charset => $::openstack_integration::params::mysql_charset,
password => 'a_big_secret',
}
class { 'manila::keystone::auth':