- 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
-----
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) 24T05:25: 37Z INFO Most recent service output: python3/ dist-packages/ pymysql/ cursors. py", line 310, in _query python3/ dist-packages/ pymysql/ connections. py", line 548, in qu query_result( unbuffered= unbuffered) python3/ dist-packages/ pymysql/ connections. py", line 775, in _r python3/ dist-packages/ pymysql/ connections. py", line 1156, in r ._read_ packet( ) python3/ dist-packages/ pymysql/ connections. py", line 725, in _r raise_for_ error() python3/ dist-packages/ pymysql/ protocol. py", line 221, in raise mysql_exception (self._ data) python3/ dist-packages/ pymysql/ err.py" , line 143, in raise_mysq exc.Programming Error: (pymysql. err.Programming Error) (1146, "Table ' cell_mappings' doesn't exist") created_ at AS cell_mappings_ created_ at, cell_mapping updated_ at, cell_mappings.id AS cell_mappings_id, cell_mappings.uuid AS cell_mappings_uuid, transport_ url AS cell_mappings_ transport_ url, cell_mappings.data database_ connection, cell_mappings. disabled AS cell_mappings_ disabled /sqlalche. me/e/14/ f405) 24T05:25: 37Z ERROR cannot start service: exited quickly with code 1
----- Logs from task 0 -----
2023-10-
(...)
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/
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/
ery
2023-10-24 05:25:37.612 63 ERROR nova self._affected_rows = self._read_
2023-10-24 05:25:37.612 63 ERROR nova File "/usr/lib/
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/
ead
2023-10-24 05:25:37.612 63 ERROR nova first_packet = self.connection
2023-10-24 05:25:37.612 63 ERROR nova File "/usr/lib/
ead_packet
2023-10-24 05:25:37.612 63 ERROR nova packet.
2023-10-24 05:25:37.612 63 ERROR nova File "/usr/lib/
_for_error
2023-10-24 05:25:37.612 63 ERROR nova err.raise_
2023-10-24 05:25:37.612 63 ERROR nova File "/usr/lib/
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.
nova_api.
2023-10-24 05:25:37.612 63 ERROR nova [SQL: SELECT cell_mappings.
s.updated_at AS cell_mappings_
cell_mappings.name AS cell_mappings_name, cell_mappings.
base_connection AS cell_mappings_
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:/
2023-10-24 05:25:37.612 63 ERROR nova ESC[00m
2023-10-
-----
Any ideas what's wrong?