Answering to myself, I managed to identify that due to a problem in our DNF configuration, the python3-sqlalchemy installed was the version provided by the OS instead of the version provided by OpenStack Xena and this OS version is too old. Michel Le 05/03/2024 à 12:21, Michel Jouvin a écrit :
Hi,
I'm trying to update our Wallaby cloud to Xena. Doing this for Barbican and Heat, I have a problem when trying to upgrade the database. Here is the log for Barbican:
----------
[root@os-77023 ~]# barbican-manage db upgrade head [root@os-77023 ~]# barbican-manage db current ERROR: 'int' object is not iterable [root@os-77023 ~]# barbican-manage db upgrade ERROR: 'int' object is not iterable
----------
I can find a similar error in log files of Heat services, for example in heat-engine.log:
---------
2024-03-05 12:16:27.978 1638283 INFO heat.engine.worker [-] Starting engine_worker (1.4) in engine 686dc841-d595-49cd-bf5e-04a4de876dc1. 2024-03-05 12:16:28.109 1638283 ERROR oslo_service.service [req-b991252a-f4c1-4955-a2ed-b20db59a161c - - - - -] Error starting thread.: TypeError: 'int' object is not iterable ---------
My DB connection information, working well with Wallaby, is:
----------
sql_connection=mysql+pymysql://barbican:very_secret_pwd@os-sql-admin.lal.in2p3.fr/barbican
----------
I cannot find any other useful information. Anything trivial I missed?
Thanks in advance for any help. Best regards,
Michel