transport_url is not updated nova_api.cell_mappings table, causi oslo.messaging._drivers.impl_rabbit EHOSTUNREACH,
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Cloud Controller Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
It looks like if you change any rabbitmq details like port or IP, e.g. enable SSL or rabbitmq redeployment it won't update nova_api.
2021-09-16 13:59:09.475 42555 ERROR oslo.messaging.
Which will cause OpenStack to hang on scheduling stage as nova-cc is trying to use a non-exisitng rabbitmq host.
I haven't got enviroment to re-produce it but it should as easy as once deploy, change rabbit to SSL or just remove and redeploy rabbitmq.
What fixed it in my case was to manually update the table. e.g.
update nova_api.
set transport_url = 'rabbit:
where id = 2;
According to the documentation, Nova will use transport_url from DB first and fall back to nova.conf only if not found in DB.
https:/
"Note
If you don’t specify the database and transport urls then nova-manage will use the [database]
"