Hardcode use of utf8 for bgpvpns table prevents kilo to liberty upgrade
Bug #1515987 reported by
Nikolas Hermanns
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-bgpvpn |
Fix Released
|
High
|
Nikolas Hermanns |
Bug Description
The table networks is coded in utf8 in liberty. In kilo it is latin1.
The table bgpvpns is hardcoded in utf8.
The table bgpvpn_
For kilo it is not possible to setup the database because the table and the refered table must have the same codec.
Changed in bgpvpn: | |
milestone: | none → liberty |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in bgpvpn: | |
assignee: | Thomas Morin (tmmorin-orange) → Nikolas Hermanns (nikolas-hermanns) |
Changed in bgpvpn: | |
status: | Fix Committed → Fix Released |
Changed in bgpvpn: | |
status: | Fix Released → Fix Committed |
Changed in bgpvpn: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The 'bgpvpns' table was utf8 from its "day 1" in the networking-bgpvpn project:
https:/ /github. com/openstack/ networking- bgpvpn/ blob/a3e7270d29 a169c21dec27c9e e264ba9e4def03d /networking_ bgpvpn/ neutron/ db/migration/ alembic_ migrations/ versions/ start_networkin g_bgpvpn. py
We could use latin1, and this would likely fix the Kilo issue.
But I guess it would create an issue in Liberty, since the 'networks' table is utf8 in Liberty.
If the 'networks' table is latin1 in kilo and utf8 in Liberty, I would expect this change to be covered by an alembic migration tool in Neutron. If such a thing exist, then it seems we should mimick this migration strategy and apply it to the bgpvpn_ network_ association table (migrating it from latin1 to utf8 during the kilo->liberty migration).