heat-db-setup should set default character set to utf-8
Bug #1276880 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Matt Riedemann |
Bug Description
Running the heat db migrations will fail if the heat database isn't created with the utf-8 character set.
The heat-db-setup script checks to see if there is an entry in the migrate_versions table which there is, but it's the base version (14) so the migrations failed but the script doesn't know that.
This is the error you'll see when the migrations fail:
ERROR: Tables "migrate_version" have non utf8 collation, please make sure all tables are CHARSET=utf8
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
By the way, I'm using this version of mysql:
[root@szmlnx11 ~]# mysql --version
mysql Ver 14.14 Distrib 5.1.71, for ibm-linux-gnu (s390x) using readline 5.1
I'm on RHEL 6.5.