Monday, 2025-07-28

gillesMoHello ! I'm upgrading my LAB from 2023.1 to 2024.1, using openstack-ansible 29.2.3. Problem with nova DB upgrade : 14:47
gillesMoRow size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check14:48
gillesMo the manual. You have to change some columns to TEXT or BLOBs')\n[SQL: ALTER TABLE shadow_instances ADD COLUMN compute_id BIGINT14:48
gillesMoAnd also on : SQL: ALTER TABLE shadow_instances ADD COLUMN compu14:48
gillesMote_id BIGINT14:48
gillesMoI've tried the Train upgrade-script https://opendev.org/openstack/openstack-ansible/src/tag/train-eol/scripts/upgrade-utilities/galera-row-format-switch.yml but now, I've got : Duplicate column name 'compute_id'\")\n[SQL: ALTER TABLE instances ADD COLUMN compute_id BIGINT14:49
gillesMoThos happens on Ansible Task : TASK [os_nova : Synchronize the nova DB schema]14:51
gillesMoThis happens on Ansible Task : TASK [os_nova : Synchronize the nova DB schema]14:51
gillesMoThe first messages are "ERROR: Could not access cell0.\nHas the nova_api database been created?\nHas the nova_cell0 database been created?" I can see the 3 databases nova, nova_api and nova_cell0"14:57
mgariepyhow long is that cluster been up  for ? was it upgraded from older releases ?15:09
gillesMoHi mgariepy, This cluster is Old, created as Newton I think, upgraded since15:51
noonedeadpunkmgariepy: btw yes - mysql thing kinda known. eventually all new clusters are expected to use socket for auth of root user, not password16:08
noonedeadpunkbut as that could mess up internal stuff - we did not migrate root user auth on our own16:09
noonedeadpunkbut stopped placing my.cnf with aut details except utility containers16:09
noonedeadpunkseemed like this was kinda middle ground...16:09
gillesMoIs there known nova DB migration problems between slurp releases 2023.1 and 2024.1 ? I've re-executed the old (Train) galera-row-format-switch.yml playbook to alow bigger Rows, but then, There's problem with a compute_id column, present in nova_cell0 database, but not in nova database...16:31
gillesMoIt seems like https://bugs.launchpad.net/nova/+bug/206540317:00
opendevreviewAmy Marrich proposed openstack/openstack-ansible master: [doc] Add documentation on how to rotate passwords  https://review.opendev.org/c/openstack/openstack-ansible/+/95145117:04
mgariepyi wonder if i should juste change the grants for root user..17:22
jrosserthat causing trouble was the original reason for changing the way we handle the root user iirc17:23
mgariepyotherwise adding back the my.cnf on galera nodes ?17:26
mgariepyare the grants synced accross cluster?17:27
mgariepywaht kind of trouble would i causeS?17:40
jrossermaybe we talk about different things but there was trouble at an upgrade when we had modified the root user17:55
jrosserand that caused startup of the upgraded mariadb to fail iirc17:56
jrosserso the change was to only use the root user to create / set up grants for the `admin` user17:56

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!