hypervisor not registered on xena+
Bug #1982071 reported by
Liam Young
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Cell Controller Charm |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Cells hypervisors are not being registered when deploying xena (and probably later).
$ openstack compute service list --service nova-compute
$
This appears to be due to the charm not putting the database url in the correct place in config which causes the nova code to think its an api conductor.
The fix seems to remove the old sql_connection from the default section and add:
[database]
connection = mysql+pymysql:
To post a comment you must log in.
This is the upstream code https:/ /opendev. org/openstack/ nova/src/ branch/ master/ nova/utils. py#L1060
Using sql_connection appears to populate CONF.api_ database. connection behind the scenes