[image] glance-manage db_sync failed
Bug #1356887 reported by
zhiwei
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack + Chef |
Fix Released
|
High
|
zhiwei | ||
Icehouse |
Fix Released
|
High
|
zhiwei |
Bug Description
When using MySQL, `glance-manage db_sync` command will be failed because the glance database is not utf-8 charset.
Oslo-DB code require all table using utf-8 charset by default when project use MySQL backend.
Changed in openstack-chef: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → juno-rc1 |
assignee: | nobody → JJ Asghar (d-jj) |
To post a comment you must log in.
Yep, this is a known issue. I thought we had one in for this, but it dove tails with an upstream glance bug.
You can fix it via a dirty hack though: sswords glance
# mysql -u root -pilikerandompa
mysql> alter table migrate_version convert to character set utf8 collate utf8_unicode_ci;
mysql> flush privileges;
mysql> quit
https:/ /bugs.launchpad .net/glance/ +bug/1279000