Comment 2 for bug 2038566

Revision history for this message
Stephen Tressalk (stekl) wrote (last edit ):

Looks like I have the same problem. I tried:

2023.1/stable
2023.1/edge
2023.2/edge

in various configurations, all fail to bootstrap with:

nova/0* error idle 10.1.12.49 hook failed: "cell-database-relation-changed"

where the 'hook failed' might change.

The logsink.log shows several of these:

- Start service "nova-scheduler" (cannot start service: exited quickly with code 1)
----- Logs from task 0 -----
2023-10-24T05:25:37Z INFO Most recent service output:
    (...)
    2023-10-24 05:25:37.612 63 ERROR nova result = self._query(query)
    2023-10-24 05:25:37.612 63 ERROR nova File "/usr/lib/python3/dist-packages/pymysql/cursors.py", line 310, in _query
    2023-10-24 05:25:37.612 63 ERROR nova conn.query(q)
    2023-10-24 05:25:37.612 63 ERROR nova File "/usr/lib/python3/dist-packages/pymysql/connections.py", line 548, in qu
ery
    2023-10-24 05:25:37.612 63 ERROR nova self._affected_rows = self._read_query_result(unbuffered=unbuffered)
    2023-10-24 05:25:37.612 63 ERROR nova File "/usr/lib/python3/dist-packages/pymysql/connections.py", line 775, in _r
ead_query_result
    2023-10-24 05:25:37.612 63 ERROR nova result.read()
    2023-10-24 05:25:37.612 63 ERROR nova File "/usr/lib/python3/dist-packages/pymysql/connections.py", line 1156, in r
ead
    2023-10-24 05:25:37.612 63 ERROR nova first_packet = self.connection._read_packet()
    2023-10-24 05:25:37.612 63 ERROR nova File "/usr/lib/python3/dist-packages/pymysql/connections.py", line 725, in _r
ead_packet
    2023-10-24 05:25:37.612 63 ERROR nova packet.raise_for_error()
    2023-10-24 05:25:37.612 63 ERROR nova File "/usr/lib/python3/dist-packages/pymysql/protocol.py", line 221, in raise
_for_error
    2023-10-24 05:25:37.612 63 ERROR nova err.raise_mysql_exception(self._data)
    2023-10-24 05:25:37.612 63 ERROR nova File "/usr/lib/python3/dist-packages/pymysql/err.py", line 143, in raise_mysq
l_exception
    2023-10-24 05:25:37.612 63 ERROR nova raise errorclass(errno, errval)
    2023-10-24 05:25:37.612 63 ERROR nova sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table '
nova_api.cell_mappings' doesn't exist")
    2023-10-24 05:25:37.612 63 ERROR nova [SQL: SELECT cell_mappings.created_at AS cell_mappings_created_at, cell_mapping
s.updated_at AS cell_mappings_updated_at, cell_mappings.id AS cell_mappings_id, cell_mappings.uuid AS cell_mappings_uuid,
 cell_mappings.name AS cell_mappings_name, cell_mappings.transport_url AS cell_mappings_transport_url, cell_mappings.data
base_connection AS cell_mappings_database_connection, cell_mappings.disabled AS cell_mappings_disabled
    2023-10-24 05:25:37.612 63 ERROR nova FROM cell_mappings ORDER BY cell_mappings.id ASC]
    2023-10-24 05:25:37.612 63 ERROR nova (Background on this error at: https://sqlalche.me/e/14/f405)
    2023-10-24 05:25:37.612 63 ERROR nova ESC[00m
2023-10-24T05:25:37Z ERROR cannot start service: exited quickly with code 1
-----

Any ideas what's wrong?