cinder-manage db sync fails due to row size too large
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Wishlist
|
Brian Rosmaita |
Bug Description
OS: Ubuntu 20.04
DB: MariaDB 10.3
Release: Xena
Running the cinder-manage db sync to upgrade to Xena from Wallaby resulted in error:
2022-04-11 15:42:20.555 8601 CRITICAL cinder [-] Unhandled error: sqlalchemy.
The fix was to manually change row_format from 'Compact' to 'Dynamic' by running: ALTER TABLE volumes ROW_FORMAT=DYNAMIC;
We likely hit this issue because we are a long running cluster from Kilo era. I believe at some point the cinder-manage db sync should have changed this ROW_FORMAT to 'Dynamic' for us.
Changed in cinder: | |
importance: | Undecided → Medium |
tags: | added: cinder-manage db |
Changed in cinder: | |
assignee: | nobody → Brian Rosmaita (brian-rosmaita) |
This bug was discussed at the bug meeting: https:/ /meetings. opendev. org/meetings/ cinder_ bs/2022/ cinder_ bs.2022- 04-13-15. 02.log. html#l- 20
This is NOT A BUG. However, Cinder should improve the documentation and add a statement regarding the versions we test with/support. In particular, the newer mysql versions don't hit this.