On a recent test, the nova-schedule.log had the following error: 2017-08-23 17:07:22.616 1151495 ERROR nova 2017-08-23 17:07:27.726 1151526 WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. 2017-08-23 17:07:27.746 1151526 WARNING oslo_config.cfg [-] Option "scheduler_default_filters" from group "DEFAULT" is deprecated. Use option "enabled_filters" from group "filter_scheduler". 2017-08-23 17:07:28.070 1151526 CRITICAL nova [req-cf2e56c6-f4d2-49b5-9b77-2fbd62ff7a45 - - - - -] ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova_api.aggregates' doesn't exist") [SQL: u'SELECT aggregates.created_at AS aggregates_created_at, aggregates.updated_at AS aggregates_updated_at, 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.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.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 LEFT OUTER JOIN aggregate_metadata AS aggregate_metadata_1 ON aggregates.id = aggregate_metadata_1.aggregate_id'] 2017-08-23 17:07:28.070 1151526 ERROR nova Traceback (most recent call last): 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/bin/nova-scheduler", line 10, in 2017-08-23 17:07:28.070 1151526 ERROR nova sys.exit(main()) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/cmd/scheduler.py", line 44, in main 2017-08-23 17:07:28.070 1151526 ERROR nova topic=CONF.scheduler_topic) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 241, in create 2017-08-23 17:07:28.070 1151526 ERROR nova periodic_interval_max=periodic_interval_max) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 117, in __init__ 2017-08-23 17:07:28.070 1151526 ERROR nova self.manager = manager_class(host=self.host, *args, **kwargs) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 57, in __init__ 2017-08-23 17:07:28.070 1151526 ERROR nova invoke_on_load=True).driver 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/driver.py", line 61, in __init__ 2017-08-23 17:07:28.070 1151526 ERROR nova warn_on_missing_entrypoint=warn_on_missing_entrypoint 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 81, in __init__ 2017-08-23 17:07:28.070 1151526 ERROR nova verify_requirements) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 194, in _load_plugins 2017-08-23 17:07:28.070 1151526 ERROR nova self._on_load_failure_callback(self, ep, err) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 186, in _load_plugins 2017-08-23 17:07:28.070 1151526 ERROR nova verify_requirements, 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 158, in _load_one_plugin 2017-08-23 17:07:28.070 1151526 ERROR nova verify_requirements, 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 218, in _load_one_plugin 2017-08-23 17:07:28.070 1151526 ERROR nova obj = plugin(*invoke_args, **invoke_kwds) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py", line 44, in __init__ 2017-08-23 17:07:28.070 1151526 ERROR nova super(FilterScheduler, self).__init__(*args, **kwargs) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py", line 42, in __init__ 2017-08-23 17:07:28.070 1151526 ERROR nova invoke_on_load=True).driver 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/driver.py", line 61, in __init__ 2017-08-23 17:07:28.070 1151526 ERROR nova warn_on_missing_entrypoint=warn_on_missing_entrypoint 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 81, in __init__ 2017-08-23 17:07:28.070 1151526 ERROR nova verify_requirements) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 194, in _load_plugins 2017-08-23 17:07:28.070 1151526 ERROR nova self._on_load_failure_callback(self, ep, err) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 186, in _load_plugins 2017-08-23 17:07:28.070 1151526 ERROR nova verify_requirements, 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 158, in _load_one_plugin 2017-08-23 17:07:28.070 1151526 ERROR nova verify_requirements, 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 218, in _load_one_plugin 2017-08-23 17:07:28.070 1151526 ERROR nova obj = plugin(*invoke_args, **invoke_kwds) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/scheduler/host_manager.py", line 353, in __init__ 2017-08-23 17:07:28.070 1151526 ERROR nova self._init_aggregates() 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/scheduler/host_manager.py", line 366, in _init_aggregates 2017-08-23 17:07:28.070 1151526 ERROR nova aggs = objects.AggregateList.get_all(elevated) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 184, in wrapper 2017-08-23 17:07:28.070 1151526 ERROR nova result = fn(cls, context, *args, **kwargs) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/objects/aggregate.py", line 551, in get_all 2017-08-23 17:07:28.070 1151526 ERROR nova _get_all_from_db(context)] 2017-08-23 17:07:28.070 1151526 ERROR nova obj = plugin(*invoke_args, **invoke_kwds) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/scheduler/host_manager.py", line 353, in __init__ 2017-08-23 17:07:28.070 1151526 ERROR nova self._init_aggregates() 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/scheduler/host_manager.py", line 366, in _init_aggregates 2017-08-23 17:07:28.070 1151526 ERROR nova aggs = objects.AggregateList.get_all(elevated) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_versionedobjects/base.py", line 184, in wrapper 2017-08-23 17:07:28.070 1151526 ERROR nova result = fn(cls, context, *args, **kwargs) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/objects/aggregate.py", line 551, in get_all 2017-08-23 17:07:28.070 1151526 ERROR nova _get_all_from_db(context)] 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 894, in wrapper 2017-08-23 17:07:28.070 1151526 ERROR nova return fn(*args, **kwargs) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/objects/aggregate.py", line 487, in _get_all_from_db 2017-08-23 17:07:28.070 1151526 ERROR nova return query.all() 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2588, in all 2017-08-23 17:07:28.070 1151526 ERROR nova return list(self) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2736, in __iter__ 2017-08-23 17:07:28.070 1151526 ERROR nova return self._execute_and_instances(context) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2751, in _execute_and_instances 2017-08-23 17:07:28.070 1151526 ERROR nova result = conn.execute(querycontext.statement, self._params) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 914, in execute 2017-08-23 17:07:28.070 1151526 ERROR nova return meth(self, multiparams, params) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection 2017-08-23 17:07:28.070 1151526 ERROR nova return connection._execute_clauseelement(self, multiparams, params) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement 2017-08-23 17:07:28.070 1151526 ERROR nova compiled_sql, distilled_params 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context 2017-08-23 17:07:28.070 1151526 ERROR nova context) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception 2017-08-23 17:07:28.070 1151526 ERROR nova util.raise_from_cause(newraise, exc_info) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause 2017-08-23 17:07:28.070 1151526 ERROR nova reraise(type(exception), exception, tb=exc_tb) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context 2017-08-23 17:07:28.070 1151526 ERROR nova context) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute 2017-08-23 17:07:28.070 1151526 ERROR nova cursor.execute(statement, parameters) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/pymysql/cursors.py", line 166, in execute 2017-08-23 17:07:28.070 1151526 ERROR nova result = self._query(query) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/pymysql/cursors.py", line 322, in _query 2017-08-23 17:07:28.070 1151526 ERROR nova conn.query(q) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 835, in query 2017-08-23 17:07:28.070 1151526 ERROR nova self._affected_rows = self._read_query_result(unbuffered=unbuffered) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1019, in _read_query_result 2017-08-23 17:07:28.070 1151526 ERROR nova result.read() 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 1302, in read 2017-08-23 17:07:28.070 1151526 ERROR nova first_packet = self.connection._read_packet() 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 981, in _read_packet 2017-08-23 17:07:28.070 1151526 ERROR nova packet.check_error() 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/pymysql/connections.py", line 393, in check_error 2017-08-23 17:07:28.070 1151526 ERROR nova err.raise_mysql_exception(self._data) 2017-08-23 17:07:28.070 1151526 ERROR nova File "/usr/lib/python2.7/dist-packages/pymysql/err.py", line 107, in raise_mysql_exception 2017-08-23 17:07:28.070 1151526 ERROR nova raise errorclass(errno, errval) 2017-08-23 17:07:28.070 1151526 ERROR nova ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova_api.aggregates' doesn't exist") [SQL: u'SELECT aggregates.created_at AS aggregates_created_at, aggregates.updated_at AS aggregates_updated_at, 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.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.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 LEFT OUTER JOIN aggregate_metadata AS aggregate_metadata_1 ON aggregates.id = aggregate_metadata_1.aggregate_id']