NCC looks for old mysql IP after upgrade to innodb charm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Cloud Controller Charm |
Fix Released
|
High
|
Unassigned |
Bug Description
After upgrading from percona charm to mysql-innodb-
At first the upgrade worked fine and using the openstack CLI client worked. But, accessing via horizon I would get errors in the nova-api log:
Can't connect to MySQL server on '10.0.3.116' ([Errno 113] EHOSTUNREACH)
I couldn't find ANYWHERE this IP address was defined in any charm. The old sql server was removed and the charm was removed from the model.
I completely removed Nova Cloud Controller and redeployed the charm. It STILL is looking for the old IP address, but now its ALSO affecting the rest of the charm:
2020-08-25 18:04:24 ERROR juju-log shared-db:316: db sync failed
b'ERROR: Could not access cell0.\nHas the nova_api database been created?\nHas the nova_cell0 database been created?\nHas "nova-manage api_db sync" been run?\nHas "nova-manage cell_v2 map_cell0" been run?\nIs [api_database]
I looked through all the config files and can't find ANYWHERE this IP address is still defined.
nova-cloud-
description: | updated |
description: | updated |
Changed in charm-nova-cloud-controller: | |
milestone: | none → 20.10 |
Changed in charm-nova-cloud-controller: | |
status: | Fix Committed → Fix Released |
Hi Michael,
Thank you for reporting this. You mentioned "At first the upgrade worked fine and using the openstack CLI client worked." Can you expand on that a bit and what may have gone on in between when things were working and then not working?
Thank you,
Corey