PackStack installation error: error: Systemd Start for OpenStack-Nova-Scheduler Failed!

created at 06-26-2021 views: 1

According to the error, you know that the Scheduler startup under the Nova service failed, the corresponding look, where there is a problem, check /var/log/nova/nova-scheduler.log, (other module corresponding /var/log/nova/ Directory, corresponding name, can see error information

2021-03-31 13:26:35.666 24469 ERROR nova     context)
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception
2021-03-31 13:26:35.666 24469 ERROR nova     util.raise_from_cause(newraise, exc_info)
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
2021-03-31 13:26:35.666 24469 ERROR nova     reraise(type(exception), exception, tb=exc_tb)
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
2021-03-31 13:26:35.666 24469 ERROR nova     context)
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
2021-03-31 13:26:35.666 24469 ERROR nova     cursor.execute(statement, parameters)
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 166, in execute
2021-03-31 13:26:35.666 24469 ERROR nova     result = self._query(query)
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 322, in _query
2021-03-31 13:26:35.666 24469 ERROR nova     conn.query(q)
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 841, in query
2021-03-31 13:26:35.666 24469 ERROR nova     self._affected_rows = self._read_query_result(unbuffered=unbuffered)
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1029, in _read_query_result
2021-03-31 13:26:35.666 24469 ERROR nova     result.read()
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1312, in read
2021-03-31 13:26:35.666 24469 ERROR nova     first_packet = self.connection._read_packet()
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 991, in _read_packet
2021-03-31 13:26:35.666 24469 ERROR nova     packet.check_error()
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 393, in check_error
2021-03-31 13:26:35.666 24469 ERROR nova     err.raise_mysql_exception(self._data)
2021-03-31 13:26:35.666 24469 ERROR nova   File "/usr/lib/python2.7/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
2021-03-31 13:26:35.666 24469 ERROR nova     raise errorclass(errno, errval)
2021-03-31 13:26:35.666 24469 ERROR nova DBError: (pymysql.err.InternalError) (1054, u"Unknown column 'aggregates.uuid' in 'field list'") [SQL: u'SELECT aggregates.created_at AS aggregates_created_at, aggregates.updated_at AS aggregates_updated_at, aggregates.deleted_at AS aggregates_deleted_at, aggregates.deleted AS aggregates_deleted, aggregates.id AS aggregates_id, aggregates.uuid AS aggregates_uuid, aggregates.name AS aggregates_name, aggregate_hosts_1.created_at AS aggregate_hosts_1_created_at, aggregate_hosts_1.updated_at AS aggregate_hosts_1_updated_at, aggregate_hosts_1.deleted_at AS aggregate_hosts_1_deleted_at, aggregate_hosts_1.deleted AS aggregate_hosts_1_deleted, aggregate_hosts_1.id AS aggregate_hosts_1_id, aggregate_hosts_1.host AS aggregate_hosts_1_host, aggregate_hosts_1.aggregate_id AS aggregate_hosts_1_aggregate_id, aggregate_metadata_1.created_at AS aggregate_metadata_1_created_at, aggregate_metadata_1.updated_at AS aggregate_metadata_1_updated_at, aggregate_metadata_1.deleted_at AS aggregate_metadata_1_deleted_at, aggregate_metadata_1.deleted AS aggregate_metadata_1_deleted, aggregate_metadata_1.id AS aggregate_metadata_1_id, aggregate_metadata_1.`key` AS aggregate_metadata_1_key, aggregate_metadata_1.value AS aggregate_metadata_1_value, aggregate_metadata_1.aggregate_id AS aggregate_metadata_1_aggregate_id \nFROM aggregates LEFT OUTER JOIN aggregate_hosts AS aggregate_hosts_1 ON aggregates.id = aggregate_hosts_1.aggregate_id AND aggregate_hosts_1.deleted = %(deleted_1)s AND aggregates.deleted = %(deleted_2)s LEFT OUTER JOIN aggregate_metadata AS aggregate_metadata_1 ON aggregates.id = aggregate_metadata_1.aggregate_id AND aggregate_metadata_1.deleted = %(deleted_3)s AND aggregates.deleted = %(deleted_4)s \nWHERE aggregates.deleted = %(deleted_5)s'] [parameters: {u'deleted_5': 0, u'deleted_4': 0, u'deleted_3': 0, u'deleted_2': 0, u'deleted_1': 0}]

If you have an error, you can access the authorized library to access, you can use mysql -u nova -p  to see if there is a corresponding library, see the foreign network community articles have a synchronous database to solve the corresponding problem: 

run command line: 

nova-manage api_db sync
nova-manage db sync

Continue to install again.

Please log in to leave a comment.