OperationalError on run of DB init script
Bug #1339728 reported by
ruhe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
Critical
|
ruhe |
Bug Description
Steps to reproduce:
===================
1. Checkout murano from master
2. Configure murano to use MySQL
3. run murano-db-manage upgrade
Observed behaviour:
===================
Following error message was observed:
(OperationalError) (1071, 'Specified key was too long; max key length is 767 bytes')
Expected behaviour:
===================
DB upgrade script should finish without errors
Analysis:
=========
If the collation of the DB and table is utf8 and the columns we want to
index are 512 chars, it is too big for the index since the max key length
is 767 bytes.
How to fix:
===========
Reduce length of indexed columns to fix problem. 128 chars should be probably enough
Changed in murano: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Ruslan Kamaldinov (ruhe) |
milestone: | none → juno-2 |
Changed in murano: | |
status: | Triaged → In Progress |
Changed in murano: | |
status: | Fix Committed → Fix Released |
Changed in murano: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
https:/ /review. openstack. org/#/c/ 104205/