while populating the nova database cannot connect the database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
su -s /bin/sh -c "nova-manage db sync" nova
ERROR: Could not access cell0.
Has the nova_api database been created?
Has the nova_cell0 database been created?
Has "nova-manage api_db sync" been run?
Has "nova-manage cell_v2 map_cell0" been run?
Is [api_database]
Is the cell0 database connection URL correct?
Error: (pymysql.
(Background on this error at: https:/
in /var/log/
[Warning] Aborted connection 7608 to db: 'nova' user: 'nova' host: 'controller' (Got an error reading communication packets)
in /var/log/
2024-04-22 21:24:41.214 49022 ERROR oslo_service.
2024-04-22 21:24:41.214 49022 ERROR oslo_service.
2024-04-22 21:24:41.214 49022 ERROR oslo_service.
2024-04-22 21:24:41.214 49022 ERROR oslo_service.
2024-04-22 21:24:41.214 49022 ERROR oslo_service.
2024-04-22 21:24:41.214 49022 ERROR oslo_service.
please check here https:/ /docs.openstack .org/nova/ latest/ admin/cells. html#configurin g-a-new- deployment
if nova conf is okay, check the DB.