-- Logs begin at Thu 2022-07-28 07:32:10 UTC, end at Thu 2022-07-28 09:29:52 UTC. -- Jul 28 08:05:08.432496 dv-cinder-851351-1-smb systemd[1]: Started Devstack devstack@c-sch.service. Jul 28 08:05:11.422748 dv-cinder-851351-1-smb cinder-scheduler[111346]: INFO dbcounter [None req-ab863296-8fed-43b9-be90-f3bbe5690b6e None None] Registered counter for database cinder Jul 28 08:05:11.442955 dv-cinder-851351-1-smb cinder-scheduler[111346]: DEBUG oslo_db.sqlalchemy.engines [None req-ab863296-8fed-43b9-be90-f3bbe5690b6e None None] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION {{(pid=111346) _check_effective_sql_mode /usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/engines.py:314}} Jul 28 08:05:11.449485 dv-cinder-851351-1-smb cinder-scheduler[111346]: DEBUG dbcounter [-] [111346] Writer thread running {{(pid=111346) stat_writer /usr/local/lib/python3.8/dist-packages/dbcounter.py:99}} Jul 28 08:05:11.651489 dv-cinder-851351-1-smb cinder-scheduler[111346]: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 08:05:11.651489 dv-cinder-851351-1-smb cinder-scheduler[111346]: from cryptography.utils import int_from_bytes Jul 28 08:05:11.651489 dv-cinder-851351-1-smb cinder-scheduler[111346]: /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 08:05:11.651489 dv-cinder-851351-1-smb cinder-scheduler[111346]: from cryptography.utils import int_from_bytes Jul 28 08:05:11.663233 dv-cinder-851351-1-smb cinder-scheduler[111346]: CRITICAL cinder [None req-ab863296-8fed-43b9-be90-f3bbe5690b6e None None] Unhandled error: sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:05:11.663233 dv-cinder-851351-1-smb cinder-scheduler[111346]: [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 08:05:11.663233 dv-cinder-851351-1-smb cinder-scheduler[111346]: FROM services Jul 28 08:05:11.663233 dv-cinder-851351-1-smb cinder-scheduler[111346]: WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:05:11.663233 dv-cinder-851351-1-smb cinder-scheduler[111346]: FROM clusters Jul 28 08:05:11.663233 dv-cinder-851351-1-smb cinder-scheduler[111346]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:05:11.663233 dv-cinder-851351-1-smb cinder-scheduler[111346]: FROM clusters Jul 28 08:05:11.663233 dv-cinder-851351-1-smb cinder-scheduler[111346]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 08:05:11.663233 dv-cinder-851351-1-smb cinder-scheduler[111346]: [parameters: {'topic_1': 'cinder-volume'}] Jul 28 08:05:11.663233 dv-cinder-851351-1-smb cinder-scheduler[111346]: (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 08:05:11.663233 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder Traceback (most recent call last): Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder self.dialect.do_execute( Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder cursor.execute(statement, parameters) Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder result = self._query(query) Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder conn.query(q) Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder result.read() Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder packet.raise_for_error() Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder raise errorclass(errno, errval) Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder pymysql.err.ProgrammingError: (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:05:11.664010 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder The above exception was the direct cause of the following exception: Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder Traceback (most recent call last): Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/bin/cinder-scheduler", line 10, in Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder sys.exit(main()) Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/cmd/scheduler.py", line 59, in main Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder server = service.Service.create(binary='cinder-scheduler') Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 417, in create Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder service_obj = cls(host, binary, topic, manager, Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 158, in __init__ Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder self.manager = manager_class(host=self.host, Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/manager.py", line 103, in __init__ Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder self.driver = importutils.import_object(scheduler_driver) Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/filter_scheduler.py", line 48, in __init__ Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder super(FilterScheduler, self).__init__(*args, **kwargs) Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/driver.py", line 77, in __init__ Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder self.host_manager = importutils.import_object( Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 488, in __init__ Jul 28 08:05:11.665574 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder self._update_backend_state_map(cinder_context.get_admin_context()) Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 685, in _update_backend_state_map Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder volume_services = objects.ServiceList.get_all(context, Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/objects/service.py", line 224, in get_all Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder services = db.service_get_all(context, **(filters or {})) Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/db/api.py", line 286, in service_get_all Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder return IMPL.service_get_all(context, backend_match_level, **filters) Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 161, in wrapper Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder return f(*args, **kwargs) Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 1010, in wrapper Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder return fn(*args, **kwargs) Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 914, in service_get_all Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder return [] if not query else query.all() Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2768, in all Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder return self._iter().all() Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2903, in _iter Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder result = self.session.execute( Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/session.py", line 1712, in execute Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder result = conn._execute_20(statement, params or {}, execution_options) Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1631, in _execute_20 Jul 28 08:05:11.667387 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder return meth(self, args_10style, kwargs_10style, execution_options) Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/sql/elements.py", line 332, in _execute_on_connection Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder return connection._execute_clauseelement( Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1498, in _execute_clauseelement Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder ret = self._execute_context( Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1862, in _execute_context Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder self._handle_dbapi_exception( Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 2041, in _handle_dbapi_exception Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder util.raise_(newraise, with_traceback=exc_info[2], from_=e) Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/util/compat.py", line 208, in raise_ Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder raise exception Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder self.dialect.do_execute( Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder cursor.execute(statement, parameters) Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder result = self._query(query) Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder conn.query(q) Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 08:05:11.668578 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder result.read() Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder packet.raise_for_error() Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder raise errorclass(errno, errval) Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 08:05:11.669986 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder FROM services Jul 28 08:05:11.670610 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:05:11.670610 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder FROM clusters Jul 28 08:05:11.670610 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:05:11.670610 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder FROM clusters Jul 28 08:05:11.670610 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 08:05:11.670610 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder [parameters: {'topic_1': 'cinder-volume'}] Jul 28 08:05:11.670610 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 08:05:11.670610 dv-cinder-851351-1-smb cinder-scheduler[111346]: ERROR cinder Jul 28 08:05:12.094226 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Main process exited, code=exited, status=1/FAILURE Jul 28 08:05:12.094241 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Failed with result 'exit-code'. Jul 28 08:17:39.459693 dv-cinder-851351-1-smb systemd[1]: Started Devstack devstack@c-sch.service. Jul 28 08:17:42.435874 dv-cinder-851351-1-smb cinder-scheduler[174909]: INFO dbcounter [None req-61c2a3f8-de89-4f02-adcf-71b3f3837ccb None None] Registered counter for database cinder Jul 28 08:17:42.459569 dv-cinder-851351-1-smb cinder-scheduler[174909]: DEBUG oslo_db.sqlalchemy.engines [None req-61c2a3f8-de89-4f02-adcf-71b3f3837ccb None None] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION {{(pid=174909) _check_effective_sql_mode /usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/engines.py:314}} Jul 28 08:17:42.468654 dv-cinder-851351-1-smb cinder-scheduler[174909]: DEBUG dbcounter [-] [174909] Writer thread running {{(pid=174909) stat_writer /usr/local/lib/python3.8/dist-packages/dbcounter.py:99}} Jul 28 08:17:42.673250 dv-cinder-851351-1-smb cinder-scheduler[174909]: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 08:17:42.673250 dv-cinder-851351-1-smb cinder-scheduler[174909]: from cryptography.utils import int_from_bytes Jul 28 08:17:42.673250 dv-cinder-851351-1-smb cinder-scheduler[174909]: /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 08:17:42.673250 dv-cinder-851351-1-smb cinder-scheduler[174909]: from cryptography.utils import int_from_bytes Jul 28 08:17:42.684696 dv-cinder-851351-1-smb cinder-scheduler[174909]: CRITICAL cinder [None req-61c2a3f8-de89-4f02-adcf-71b3f3837ccb None None] Unhandled error: sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:17:42.684696 dv-cinder-851351-1-smb cinder-scheduler[174909]: [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 08:17:42.684696 dv-cinder-851351-1-smb cinder-scheduler[174909]: FROM services Jul 28 08:17:42.684696 dv-cinder-851351-1-smb cinder-scheduler[174909]: WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:17:42.684696 dv-cinder-851351-1-smb cinder-scheduler[174909]: FROM clusters Jul 28 08:17:42.684696 dv-cinder-851351-1-smb cinder-scheduler[174909]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:17:42.684696 dv-cinder-851351-1-smb cinder-scheduler[174909]: FROM clusters Jul 28 08:17:42.684696 dv-cinder-851351-1-smb cinder-scheduler[174909]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 08:17:42.684696 dv-cinder-851351-1-smb cinder-scheduler[174909]: [parameters: {'topic_1': 'cinder-volume'}] Jul 28 08:17:42.684696 dv-cinder-851351-1-smb cinder-scheduler[174909]: (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 08:17:42.684696 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder Traceback (most recent call last): Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder self.dialect.do_execute( Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder cursor.execute(statement, parameters) Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder result = self._query(query) Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder conn.query(q) Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder result.read() Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder packet.raise_for_error() Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder raise errorclass(errno, errval) Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder pymysql.err.ProgrammingError: (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:17:42.685591 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder The above exception was the direct cause of the following exception: Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder Traceback (most recent call last): Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/bin/cinder-scheduler", line 10, in Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder sys.exit(main()) Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/cmd/scheduler.py", line 59, in main Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder server = service.Service.create(binary='cinder-scheduler') Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 417, in create Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder service_obj = cls(host, binary, topic, manager, Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 158, in __init__ Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder self.manager = manager_class(host=self.host, Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/manager.py", line 103, in __init__ Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder self.driver = importutils.import_object(scheduler_driver) Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/filter_scheduler.py", line 48, in __init__ Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder super(FilterScheduler, self).__init__(*args, **kwargs) Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/driver.py", line 77, in __init__ Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder self.host_manager = importutils.import_object( Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 488, in __init__ Jul 28 08:17:42.686805 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder self._update_backend_state_map(cinder_context.get_admin_context()) Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 685, in _update_backend_state_map Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder volume_services = objects.ServiceList.get_all(context, Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/objects/service.py", line 224, in get_all Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder services = db.service_get_all(context, **(filters or {})) Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/db/api.py", line 286, in service_get_all Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder return IMPL.service_get_all(context, backend_match_level, **filters) Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 161, in wrapper Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder return f(*args, **kwargs) Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 1010, in wrapper Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder return fn(*args, **kwargs) Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 914, in service_get_all Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder return [] if not query else query.all() Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2768, in all Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder return self._iter().all() Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2903, in _iter Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder result = self.session.execute( Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/session.py", line 1712, in execute Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder result = conn._execute_20(statement, params or {}, execution_options) Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1631, in _execute_20 Jul 28 08:17:42.688338 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder return meth(self, args_10style, kwargs_10style, execution_options) Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/sql/elements.py", line 332, in _execute_on_connection Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder return connection._execute_clauseelement( Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1498, in _execute_clauseelement Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder ret = self._execute_context( Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1862, in _execute_context Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder self._handle_dbapi_exception( Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 2041, in _handle_dbapi_exception Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder util.raise_(newraise, with_traceback=exc_info[2], from_=e) Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/util/compat.py", line 208, in raise_ Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder raise exception Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder self.dialect.do_execute( Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder cursor.execute(statement, parameters) Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder result = self._query(query) Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder conn.query(q) Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 08:17:42.692727 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder result.read() Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder packet.raise_for_error() Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder raise errorclass(errno, errval) Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 08:17:42.695909 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder FROM services Jul 28 08:17:42.697470 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:17:42.697470 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder FROM clusters Jul 28 08:17:42.697470 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:17:42.697470 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder FROM clusters Jul 28 08:17:42.697470 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 08:17:42.697470 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder [parameters: {'topic_1': 'cinder-volume'}] Jul 28 08:17:42.697470 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 08:17:42.697470 dv-cinder-851351-1-smb cinder-scheduler[174909]: ERROR cinder Jul 28 08:17:43.115246 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Main process exited, code=exited, status=1/FAILURE Jul 28 08:17:43.115291 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Failed with result 'exit-code'. Jul 28 08:30:15.734051 dv-cinder-851351-1-smb systemd[1]: Started Devstack devstack@c-sch.service. Jul 28 08:30:18.761523 dv-cinder-851351-1-smb cinder-scheduler[239460]: INFO dbcounter [None req-6c734e8c-9f00-416e-b685-2ede1692a62a None None] Registered counter for database cinder Jul 28 08:30:18.785333 dv-cinder-851351-1-smb cinder-scheduler[239460]: DEBUG oslo_db.sqlalchemy.engines [None req-6c734e8c-9f00-416e-b685-2ede1692a62a None None] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION {{(pid=239460) _check_effective_sql_mode /usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/engines.py:314}} Jul 28 08:30:18.793101 dv-cinder-851351-1-smb cinder-scheduler[239460]: DEBUG dbcounter [-] [239460] Writer thread running {{(pid=239460) stat_writer /usr/local/lib/python3.8/dist-packages/dbcounter.py:99}} Jul 28 08:30:19.012498 dv-cinder-851351-1-smb cinder-scheduler[239460]: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 08:30:19.012498 dv-cinder-851351-1-smb cinder-scheduler[239460]: from cryptography.utils import int_from_bytes Jul 28 08:30:19.012498 dv-cinder-851351-1-smb cinder-scheduler[239460]: /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 08:30:19.012498 dv-cinder-851351-1-smb cinder-scheduler[239460]: from cryptography.utils import int_from_bytes Jul 28 08:30:19.033744 dv-cinder-851351-1-smb cinder-scheduler[239460]: CRITICAL cinder [None req-6c734e8c-9f00-416e-b685-2ede1692a62a None None] Unhandled error: sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:30:19.033744 dv-cinder-851351-1-smb cinder-scheduler[239460]: [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 08:30:19.033744 dv-cinder-851351-1-smb cinder-scheduler[239460]: FROM services Jul 28 08:30:19.033744 dv-cinder-851351-1-smb cinder-scheduler[239460]: WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:30:19.033744 dv-cinder-851351-1-smb cinder-scheduler[239460]: FROM clusters Jul 28 08:30:19.033744 dv-cinder-851351-1-smb cinder-scheduler[239460]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:30:19.033744 dv-cinder-851351-1-smb cinder-scheduler[239460]: FROM clusters Jul 28 08:30:19.033744 dv-cinder-851351-1-smb cinder-scheduler[239460]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 08:30:19.033744 dv-cinder-851351-1-smb cinder-scheduler[239460]: [parameters: {'topic_1': 'cinder-volume'}] Jul 28 08:30:19.033744 dv-cinder-851351-1-smb cinder-scheduler[239460]: (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 08:30:19.033744 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder Traceback (most recent call last): Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder self.dialect.do_execute( Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder cursor.execute(statement, parameters) Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder result = self._query(query) Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder conn.query(q) Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder result.read() Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder packet.raise_for_error() Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder raise errorclass(errno, errval) Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder pymysql.err.ProgrammingError: (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:30:19.034628 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder The above exception was the direct cause of the following exception: Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder Traceback (most recent call last): Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/bin/cinder-scheduler", line 10, in Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder sys.exit(main()) Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/cmd/scheduler.py", line 59, in main Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder server = service.Service.create(binary='cinder-scheduler') Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 417, in create Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder service_obj = cls(host, binary, topic, manager, Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 158, in __init__ Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder self.manager = manager_class(host=self.host, Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/manager.py", line 103, in __init__ Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder self.driver = importutils.import_object(scheduler_driver) Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/filter_scheduler.py", line 48, in __init__ Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder super(FilterScheduler, self).__init__(*args, **kwargs) Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/driver.py", line 77, in __init__ Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder self.host_manager = importutils.import_object( Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 488, in __init__ Jul 28 08:30:19.036043 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder self._update_backend_state_map(cinder_context.get_admin_context()) Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 685, in _update_backend_state_map Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder volume_services = objects.ServiceList.get_all(context, Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/objects/service.py", line 224, in get_all Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder services = db.service_get_all(context, **(filters or {})) Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/db/api.py", line 286, in service_get_all Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder return IMPL.service_get_all(context, backend_match_level, **filters) Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 161, in wrapper Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder return f(*args, **kwargs) Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 1010, in wrapper Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder return fn(*args, **kwargs) Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 914, in service_get_all Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder return [] if not query else query.all() Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2768, in all Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder return self._iter().all() Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2903, in _iter Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder result = self.session.execute( Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/session.py", line 1712, in execute Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder result = conn._execute_20(statement, params or {}, execution_options) Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1631, in _execute_20 Jul 28 08:30:19.038557 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder return meth(self, args_10style, kwargs_10style, execution_options) Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/sql/elements.py", line 332, in _execute_on_connection Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder return connection._execute_clauseelement( Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1498, in _execute_clauseelement Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder ret = self._execute_context( Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1862, in _execute_context Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder self._handle_dbapi_exception( Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 2041, in _handle_dbapi_exception Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder util.raise_(newraise, with_traceback=exc_info[2], from_=e) Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/util/compat.py", line 208, in raise_ Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder raise exception Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder self.dialect.do_execute( Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder cursor.execute(statement, parameters) Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder result = self._query(query) Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder conn.query(q) Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 08:30:19.048176 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder result.read() Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder packet.raise_for_error() Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder raise errorclass(errno, errval) Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 08:30:19.050851 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder FROM services Jul 28 08:30:19.052399 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:30:19.052399 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder FROM clusters Jul 28 08:30:19.052399 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:30:19.052399 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder FROM clusters Jul 28 08:30:19.052399 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 08:30:19.052399 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder [parameters: {'topic_1': 'cinder-volume'}] Jul 28 08:30:19.052399 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 08:30:19.052399 dv-cinder-851351-1-smb cinder-scheduler[239460]: ERROR cinder Jul 28 08:30:19.498274 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Main process exited, code=exited, status=1/FAILURE Jul 28 08:30:19.498316 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Failed with result 'exit-code'. Jul 28 08:42:48.264043 dv-cinder-851351-1-smb systemd[1]: Started Devstack devstack@c-sch.service. Jul 28 08:42:51.414842 dv-cinder-851351-1-smb cinder-scheduler[313717]: INFO dbcounter [None req-35000c98-ba4e-42e4-b0f7-08ed37b80468 None None] Registered counter for database cinder Jul 28 08:42:51.434550 dv-cinder-851351-1-smb cinder-scheduler[313717]: DEBUG oslo_db.sqlalchemy.engines [None req-35000c98-ba4e-42e4-b0f7-08ed37b80468 None None] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION {{(pid=313717) _check_effective_sql_mode /usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/engines.py:314}} Jul 28 08:42:51.441503 dv-cinder-851351-1-smb cinder-scheduler[313717]: DEBUG dbcounter [-] [313717] Writer thread running {{(pid=313717) stat_writer /usr/local/lib/python3.8/dist-packages/dbcounter.py:99}} Jul 28 08:42:51.647395 dv-cinder-851351-1-smb cinder-scheduler[313717]: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 08:42:51.647395 dv-cinder-851351-1-smb cinder-scheduler[313717]: from cryptography.utils import int_from_bytes Jul 28 08:42:51.647395 dv-cinder-851351-1-smb cinder-scheduler[313717]: /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 08:42:51.647395 dv-cinder-851351-1-smb cinder-scheduler[313717]: from cryptography.utils import int_from_bytes Jul 28 08:42:51.658704 dv-cinder-851351-1-smb cinder-scheduler[313717]: CRITICAL cinder [None req-35000c98-ba4e-42e4-b0f7-08ed37b80468 None None] Unhandled error: sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:42:51.658704 dv-cinder-851351-1-smb cinder-scheduler[313717]: [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 08:42:51.658704 dv-cinder-851351-1-smb cinder-scheduler[313717]: FROM services Jul 28 08:42:51.658704 dv-cinder-851351-1-smb cinder-scheduler[313717]: WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:42:51.658704 dv-cinder-851351-1-smb cinder-scheduler[313717]: FROM clusters Jul 28 08:42:51.658704 dv-cinder-851351-1-smb cinder-scheduler[313717]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:42:51.658704 dv-cinder-851351-1-smb cinder-scheduler[313717]: FROM clusters Jul 28 08:42:51.658704 dv-cinder-851351-1-smb cinder-scheduler[313717]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 08:42:51.658704 dv-cinder-851351-1-smb cinder-scheduler[313717]: [parameters: {'topic_1': 'cinder-volume'}] Jul 28 08:42:51.658704 dv-cinder-851351-1-smb cinder-scheduler[313717]: (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 08:42:51.658704 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder Traceback (most recent call last): Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder self.dialect.do_execute( Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder cursor.execute(statement, parameters) Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder result = self._query(query) Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder conn.query(q) Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder result.read() Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder packet.raise_for_error() Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder raise errorclass(errno, errval) Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder pymysql.err.ProgrammingError: (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:42:51.659578 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder The above exception was the direct cause of the following exception: Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder Traceback (most recent call last): Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/bin/cinder-scheduler", line 10, in Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder sys.exit(main()) Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/cmd/scheduler.py", line 59, in main Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder server = service.Service.create(binary='cinder-scheduler') Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 417, in create Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder service_obj = cls(host, binary, topic, manager, Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 158, in __init__ Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder self.manager = manager_class(host=self.host, Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/manager.py", line 103, in __init__ Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder self.driver = importutils.import_object(scheduler_driver) Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/filter_scheduler.py", line 48, in __init__ Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder super(FilterScheduler, self).__init__(*args, **kwargs) Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/driver.py", line 77, in __init__ Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder self.host_manager = importutils.import_object( Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 488, in __init__ Jul 28 08:42:51.661043 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder self._update_backend_state_map(cinder_context.get_admin_context()) Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 685, in _update_backend_state_map Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder volume_services = objects.ServiceList.get_all(context, Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/objects/service.py", line 224, in get_all Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder services = db.service_get_all(context, **(filters or {})) Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/db/api.py", line 286, in service_get_all Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder return IMPL.service_get_all(context, backend_match_level, **filters) Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 161, in wrapper Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder return f(*args, **kwargs) Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 1010, in wrapper Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder return fn(*args, **kwargs) Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 914, in service_get_all Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder return [] if not query else query.all() Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2768, in all Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder return self._iter().all() Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2903, in _iter Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder result = self.session.execute( Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/session.py", line 1712, in execute Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder result = conn._execute_20(statement, params or {}, execution_options) Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1631, in _execute_20 Jul 28 08:42:51.662448 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder return meth(self, args_10style, kwargs_10style, execution_options) Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/sql/elements.py", line 332, in _execute_on_connection Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder return connection._execute_clauseelement( Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1498, in _execute_clauseelement Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder ret = self._execute_context( Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1862, in _execute_context Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder self._handle_dbapi_exception( Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 2041, in _handle_dbapi_exception Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder util.raise_(newraise, with_traceback=exc_info[2], from_=e) Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/util/compat.py", line 208, in raise_ Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder raise exception Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder self.dialect.do_execute( Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder cursor.execute(statement, parameters) Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder result = self._query(query) Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder conn.query(q) Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 08:42:51.663687 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder result.read() Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder packet.raise_for_error() Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder raise errorclass(errno, errval) Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 08:42:51.665044 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder FROM services Jul 28 08:42:51.665804 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:42:51.665804 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder FROM clusters Jul 28 08:42:51.665804 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:42:51.665804 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder FROM clusters Jul 28 08:42:51.665804 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 08:42:51.665804 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder [parameters: {'topic_1': 'cinder-volume'}] Jul 28 08:42:51.665804 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 08:42:51.665804 dv-cinder-851351-1-smb cinder-scheduler[313717]: ERROR cinder Jul 28 08:42:52.087506 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Main process exited, code=exited, status=1/FAILURE Jul 28 08:42:52.087532 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Failed with result 'exit-code'. Jul 28 08:59:39.213980 dv-cinder-851351-1-smb systemd[1]: Started Devstack devstack@c-sch.service. Jul 28 08:59:42.343851 dv-cinder-851351-1-smb cinder-scheduler[383500]: INFO dbcounter [None req-2ae0682c-4076-4e97-9671-e801d97513a5 None None] Registered counter for database cinder Jul 28 08:59:42.363913 dv-cinder-851351-1-smb cinder-scheduler[383500]: DEBUG oslo_db.sqlalchemy.engines [None req-2ae0682c-4076-4e97-9671-e801d97513a5 None None] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION {{(pid=383500) _check_effective_sql_mode /usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/engines.py:314}} Jul 28 08:59:42.370685 dv-cinder-851351-1-smb cinder-scheduler[383500]: DEBUG dbcounter [-] [383500] Writer thread running {{(pid=383500) stat_writer /usr/local/lib/python3.8/dist-packages/dbcounter.py:99}} Jul 28 08:59:42.579046 dv-cinder-851351-1-smb cinder-scheduler[383500]: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 08:59:42.579046 dv-cinder-851351-1-smb cinder-scheduler[383500]: from cryptography.utils import int_from_bytes Jul 28 08:59:42.579046 dv-cinder-851351-1-smb cinder-scheduler[383500]: /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 08:59:42.579046 dv-cinder-851351-1-smb cinder-scheduler[383500]: from cryptography.utils import int_from_bytes Jul 28 08:59:42.590984 dv-cinder-851351-1-smb cinder-scheduler[383500]: CRITICAL cinder [None req-2ae0682c-4076-4e97-9671-e801d97513a5 None None] Unhandled error: sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:59:42.590984 dv-cinder-851351-1-smb cinder-scheduler[383500]: [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 08:59:42.590984 dv-cinder-851351-1-smb cinder-scheduler[383500]: FROM services Jul 28 08:59:42.590984 dv-cinder-851351-1-smb cinder-scheduler[383500]: WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:59:42.590984 dv-cinder-851351-1-smb cinder-scheduler[383500]: FROM clusters Jul 28 08:59:42.590984 dv-cinder-851351-1-smb cinder-scheduler[383500]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:59:42.590984 dv-cinder-851351-1-smb cinder-scheduler[383500]: FROM clusters Jul 28 08:59:42.590984 dv-cinder-851351-1-smb cinder-scheduler[383500]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 08:59:42.590984 dv-cinder-851351-1-smb cinder-scheduler[383500]: [parameters: {'topic_1': 'cinder-volume'}] Jul 28 08:59:42.590984 dv-cinder-851351-1-smb cinder-scheduler[383500]: (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 08:59:42.590984 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder Traceback (most recent call last): Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder self.dialect.do_execute( Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder cursor.execute(statement, parameters) Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder result = self._query(query) Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder conn.query(q) Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder result.read() Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder packet.raise_for_error() Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder raise errorclass(errno, errval) Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder pymysql.err.ProgrammingError: (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:59:42.591770 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder The above exception was the direct cause of the following exception: Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder Traceback (most recent call last): Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/bin/cinder-scheduler", line 10, in Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder sys.exit(main()) Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/cmd/scheduler.py", line 59, in main Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder server = service.Service.create(binary='cinder-scheduler') Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 417, in create Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder service_obj = cls(host, binary, topic, manager, Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 158, in __init__ Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder self.manager = manager_class(host=self.host, Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/manager.py", line 103, in __init__ Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder self.driver = importutils.import_object(scheduler_driver) Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/filter_scheduler.py", line 48, in __init__ Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder super(FilterScheduler, self).__init__(*args, **kwargs) Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/driver.py", line 77, in __init__ Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder self.host_manager = importutils.import_object( Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 488, in __init__ Jul 28 08:59:42.593350 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder self._update_backend_state_map(cinder_context.get_admin_context()) Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 685, in _update_backend_state_map Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder volume_services = objects.ServiceList.get_all(context, Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/objects/service.py", line 224, in get_all Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder services = db.service_get_all(context, **(filters or {})) Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/db/api.py", line 286, in service_get_all Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder return IMPL.service_get_all(context, backend_match_level, **filters) Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 161, in wrapper Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder return f(*args, **kwargs) Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 1010, in wrapper Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder return fn(*args, **kwargs) Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 914, in service_get_all Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder return [] if not query else query.all() Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2768, in all Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder return self._iter().all() Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2903, in _iter Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder result = self.session.execute( Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/session.py", line 1712, in execute Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder result = conn._execute_20(statement, params or {}, execution_options) Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1631, in _execute_20 Jul 28 08:59:42.596453 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder return meth(self, args_10style, kwargs_10style, execution_options) Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/sql/elements.py", line 332, in _execute_on_connection Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder return connection._execute_clauseelement( Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1498, in _execute_clauseelement Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder ret = self._execute_context( Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1862, in _execute_context Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder self._handle_dbapi_exception( Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 2041, in _handle_dbapi_exception Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder util.raise_(newraise, with_traceback=exc_info[2], from_=e) Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/util/compat.py", line 208, in raise_ Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder raise exception Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder self.dialect.do_execute( Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder cursor.execute(statement, parameters) Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder result = self._query(query) Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder conn.query(q) Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 08:59:42.597819 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder result.read() Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder packet.raise_for_error() Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder raise errorclass(errno, errval) Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 08:59:42.599107 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder FROM services Jul 28 08:59:42.599837 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:59:42.599837 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder FROM clusters Jul 28 08:59:42.599837 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 08:59:42.599837 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder FROM clusters Jul 28 08:59:42.599837 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 08:59:42.599837 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder [parameters: {'topic_1': 'cinder-volume'}] Jul 28 08:59:42.599837 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 08:59:42.599837 dv-cinder-851351-1-smb cinder-scheduler[383500]: ERROR cinder Jul 28 08:59:43.022662 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Main process exited, code=exited, status=1/FAILURE Jul 28 08:59:43.022700 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Failed with result 'exit-code'. Jul 28 09:12:20.687742 dv-cinder-851351-1-smb systemd[1]: Started Devstack devstack@c-sch.service. Jul 28 09:12:23.921041 dv-cinder-851351-1-smb cinder-scheduler[447115]: INFO dbcounter [None req-9ebc5ddf-2751-4b59-83c3-d6991ff9ae1e None None] Registered counter for database cinder Jul 28 09:12:23.943703 dv-cinder-851351-1-smb cinder-scheduler[447115]: DEBUG oslo_db.sqlalchemy.engines [None req-9ebc5ddf-2751-4b59-83c3-d6991ff9ae1e None None] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION {{(pid=447115) _check_effective_sql_mode /usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/engines.py:314}} Jul 28 09:12:23.953165 dv-cinder-851351-1-smb cinder-scheduler[447115]: DEBUG dbcounter [-] [447115] Writer thread running {{(pid=447115) stat_writer /usr/local/lib/python3.8/dist-packages/dbcounter.py:99}} Jul 28 09:12:24.170453 dv-cinder-851351-1-smb cinder-scheduler[447115]: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 09:12:24.170453 dv-cinder-851351-1-smb cinder-scheduler[447115]: from cryptography.utils import int_from_bytes Jul 28 09:12:24.170453 dv-cinder-851351-1-smb cinder-scheduler[447115]: /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 09:12:24.170453 dv-cinder-851351-1-smb cinder-scheduler[447115]: from cryptography.utils import int_from_bytes Jul 28 09:12:24.182362 dv-cinder-851351-1-smb cinder-scheduler[447115]: CRITICAL cinder [None req-9ebc5ddf-2751-4b59-83c3-d6991ff9ae1e None None] Unhandled error: sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 09:12:24.182362 dv-cinder-851351-1-smb cinder-scheduler[447115]: [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 09:12:24.182362 dv-cinder-851351-1-smb cinder-scheduler[447115]: FROM services Jul 28 09:12:24.182362 dv-cinder-851351-1-smb cinder-scheduler[447115]: WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 09:12:24.182362 dv-cinder-851351-1-smb cinder-scheduler[447115]: FROM clusters Jul 28 09:12:24.182362 dv-cinder-851351-1-smb cinder-scheduler[447115]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 09:12:24.182362 dv-cinder-851351-1-smb cinder-scheduler[447115]: FROM clusters Jul 28 09:12:24.182362 dv-cinder-851351-1-smb cinder-scheduler[447115]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 09:12:24.182362 dv-cinder-851351-1-smb cinder-scheduler[447115]: [parameters: {'topic_1': 'cinder-volume'}] Jul 28 09:12:24.182362 dv-cinder-851351-1-smb cinder-scheduler[447115]: (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 09:12:24.182362 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder Traceback (most recent call last): Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder self.dialect.do_execute( Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder cursor.execute(statement, parameters) Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder result = self._query(query) Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder conn.query(q) Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder result.read() Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder packet.raise_for_error() Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder raise errorclass(errno, errval) Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder pymysql.err.ProgrammingError: (1146, "Table 'cinder.services' doesn't exist") Jul 28 09:12:24.183245 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder The above exception was the direct cause of the following exception: Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder Traceback (most recent call last): Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/bin/cinder-scheduler", line 10, in Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder sys.exit(main()) Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/cmd/scheduler.py", line 59, in main Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder server = service.Service.create(binary='cinder-scheduler') Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 417, in create Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder service_obj = cls(host, binary, topic, manager, Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 158, in __init__ Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder self.manager = manager_class(host=self.host, Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/manager.py", line 103, in __init__ Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder self.driver = importutils.import_object(scheduler_driver) Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/filter_scheduler.py", line 48, in __init__ Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder super(FilterScheduler, self).__init__(*args, **kwargs) Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/driver.py", line 77, in __init__ Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder self.host_manager = importutils.import_object( Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 488, in __init__ Jul 28 09:12:24.184555 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder self._update_backend_state_map(cinder_context.get_admin_context()) Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 685, in _update_backend_state_map Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder volume_services = objects.ServiceList.get_all(context, Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/objects/service.py", line 224, in get_all Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder services = db.service_get_all(context, **(filters or {})) Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/db/api.py", line 286, in service_get_all Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder return IMPL.service_get_all(context, backend_match_level, **filters) Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 161, in wrapper Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder return f(*args, **kwargs) Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 1010, in wrapper Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder return fn(*args, **kwargs) Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 914, in service_get_all Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder return [] if not query else query.all() Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2768, in all Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder return self._iter().all() Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2903, in _iter Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder result = self.session.execute( Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/session.py", line 1712, in execute Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder result = conn._execute_20(statement, params or {}, execution_options) Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1631, in _execute_20 Jul 28 09:12:24.186096 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder return meth(self, args_10style, kwargs_10style, execution_options) Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/sql/elements.py", line 332, in _execute_on_connection Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder return connection._execute_clauseelement( Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1498, in _execute_clauseelement Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder ret = self._execute_context( Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1862, in _execute_context Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder self._handle_dbapi_exception( Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 2041, in _handle_dbapi_exception Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder util.raise_(newraise, with_traceback=exc_info[2], from_=e) Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/util/compat.py", line 208, in raise_ Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder raise exception Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder self.dialect.do_execute( Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder cursor.execute(statement, parameters) Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder result = self._query(query) Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder conn.query(q) Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 09:12:24.187318 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder result.read() Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder packet.raise_for_error() Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder raise errorclass(errno, errval) Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 09:12:24.188645 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder FROM services Jul 28 09:12:24.189412 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 09:12:24.189412 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder FROM clusters Jul 28 09:12:24.189412 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 09:12:24.189412 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder FROM clusters Jul 28 09:12:24.189412 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 09:12:24.189412 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder [parameters: {'topic_1': 'cinder-volume'}] Jul 28 09:12:24.189412 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 09:12:24.189412 dv-cinder-851351-1-smb cinder-scheduler[447115]: ERROR cinder Jul 28 09:12:24.611012 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Main process exited, code=exited, status=1/FAILURE Jul 28 09:12:24.611026 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Failed with result 'exit-code'. Jul 28 09:25:04.674972 dv-cinder-851351-1-smb systemd[1]: Started Devstack devstack@c-sch.service. Jul 28 09:25:07.936586 dv-cinder-851351-1-smb cinder-scheduler[510736]: INFO dbcounter [None req-628dd5fe-f958-4ab2-a744-4821f52faa89 None None] Registered counter for database cinder Jul 28 09:25:07.957192 dv-cinder-851351-1-smb cinder-scheduler[510736]: DEBUG oslo_db.sqlalchemy.engines [None req-628dd5fe-f958-4ab2-a744-4821f52faa89 None None] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION {{(pid=510736) _check_effective_sql_mode /usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/engines.py:314}} Jul 28 09:25:07.964549 dv-cinder-851351-1-smb cinder-scheduler[510736]: DEBUG dbcounter [-] [510736] Writer thread running {{(pid=510736) stat_writer /usr/local/lib/python3.8/dist-packages/dbcounter.py:99}} Jul 28 09:25:08.172359 dv-cinder-851351-1-smb cinder-scheduler[510736]: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 09:25:08.172359 dv-cinder-851351-1-smb cinder-scheduler[510736]: from cryptography.utils import int_from_bytes Jul 28 09:25:08.172359 dv-cinder-851351-1-smb cinder-scheduler[510736]: /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead Jul 28 09:25:08.172359 dv-cinder-851351-1-smb cinder-scheduler[510736]: from cryptography.utils import int_from_bytes Jul 28 09:25:08.188372 dv-cinder-851351-1-smb cinder-scheduler[510736]: CRITICAL cinder [None req-628dd5fe-f958-4ab2-a744-4821f52faa89 None None] Unhandled error: sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 09:25:08.188372 dv-cinder-851351-1-smb cinder-scheduler[510736]: [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 09:25:08.188372 dv-cinder-851351-1-smb cinder-scheduler[510736]: FROM services Jul 28 09:25:08.188372 dv-cinder-851351-1-smb cinder-scheduler[510736]: WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 09:25:08.188372 dv-cinder-851351-1-smb cinder-scheduler[510736]: FROM clusters Jul 28 09:25:08.188372 dv-cinder-851351-1-smb cinder-scheduler[510736]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 09:25:08.188372 dv-cinder-851351-1-smb cinder-scheduler[510736]: FROM clusters Jul 28 09:25:08.188372 dv-cinder-851351-1-smb cinder-scheduler[510736]: WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 09:25:08.188372 dv-cinder-851351-1-smb cinder-scheduler[510736]: [parameters: {'topic_1': 'cinder-volume'}] Jul 28 09:25:08.188372 dv-cinder-851351-1-smb cinder-scheduler[510736]: (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 09:25:08.188372 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder Traceback (most recent call last): Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder self.dialect.do_execute( Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder cursor.execute(statement, parameters) Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder result = self._query(query) Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder conn.query(q) Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder result.read() Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder packet.raise_for_error() Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder raise errorclass(errno, errval) Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder pymysql.err.ProgrammingError: (1146, "Table 'cinder.services' doesn't exist") Jul 28 09:25:08.189288 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder The above exception was the direct cause of the following exception: Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder Traceback (most recent call last): Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/bin/cinder-scheduler", line 10, in Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder sys.exit(main()) Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/cmd/scheduler.py", line 59, in main Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder server = service.Service.create(binary='cinder-scheduler') Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 417, in create Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder service_obj = cls(host, binary, topic, manager, Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/service.py", line 158, in __init__ Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder self.manager = manager_class(host=self.host, Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/manager.py", line 103, in __init__ Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder self.driver = importutils.import_object(scheduler_driver) Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/filter_scheduler.py", line 48, in __init__ Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder super(FilterScheduler, self).__init__(*args, **kwargs) Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/driver.py", line 77, in __init__ Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder self.host_manager = importutils.import_object( Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_utils/importutils.py", line 44, in import_object Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder return import_class(import_str)(*args, **kwargs) Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 488, in __init__ Jul 28 09:25:08.190675 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder self._update_backend_state_map(cinder_context.get_admin_context()) Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/scheduler/host_manager.py", line 685, in _update_backend_state_map Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder volume_services = objects.ServiceList.get_all(context, Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/objects/service.py", line 224, in get_all Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder services = db.service_get_all(context, **(filters or {})) Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/db/api.py", line 286, in service_get_all Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder return IMPL.service_get_all(context, backend_match_level, **filters) Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 161, in wrapper Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder return f(*args, **kwargs) Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 1010, in wrapper Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder return fn(*args, **kwargs) Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 914, in service_get_all Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder return [] if not query else query.all() Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2768, in all Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder return self._iter().all() Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/query.py", line 2903, in _iter Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder result = self.session.execute( Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/orm/session.py", line 1712, in execute Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder result = conn._execute_20(statement, params or {}, execution_options) Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1631, in _execute_20 Jul 28 09:25:08.192140 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder return meth(self, args_10style, kwargs_10style, execution_options) Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/sql/elements.py", line 332, in _execute_on_connection Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder return connection._execute_clauseelement( Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1498, in _execute_clauseelement Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder ret = self._execute_context( Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1862, in _execute_context Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder self._handle_dbapi_exception( Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 2041, in _handle_dbapi_exception Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder util.raise_(newraise, with_traceback=exc_info[2], from_=e) Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/util/compat.py", line 208, in raise_ Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder raise exception Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/base.py", line 1819, in _execute_context Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder self.dialect.do_execute( Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/sqlalchemy/engine/default.py", line 732, in do_execute Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder cursor.execute(statement, parameters) Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 148, in execute Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder result = self._query(query) Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/cursors.py", line 310, in _query Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder conn.query(q) Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 548, in query Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder self._affected_rows = self._read_query_result(unbuffered=unbuffered) Jul 28 09:25:08.196148 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 775, in _read_query_result Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder result.read() Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 1156, in read Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder first_packet = self.connection._read_packet() Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/connections.py", line 725, in _read_packet Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder packet.raise_for_error() Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/protocol.py", line 221, in raise_for_error Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder err.raise_mysql_exception(self._data) Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder File "/usr/local/lib/python3.8/dist-packages/pymysql/err.py", line 143, in raise_mysql_exception Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder raise errorclass(errno, errval) Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'cinder.services' doesn't exist") Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder [SQL: SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen Jul 28 09:25:08.199616 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder FROM services Jul 28 09:25:08.202304 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder WHERE services.deleted = false AND NOT (services.cluster_name IS NULL AND services.disabled = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 09:25:08.202304 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder FROM clusters Jul 28 09:25:08.202304 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.disabled = 1))) AND NOT (services.cluster_name IS NULL AND services.frozen = 1 OR services.cluster_name IS NOT NULL AND (EXISTS (SELECT * Jul 28 09:25:08.202304 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder FROM clusters Jul 28 09:25:08.202304 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder WHERE clusters.name = services.cluster_name AND clusters.`binary` = services.`binary` AND clusters.deleted = 0 AND clusters.frozen = 1))) AND services.topic = %(topic_1)s] Jul 28 09:25:08.202304 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder [parameters: {'topic_1': 'cinder-volume'}] Jul 28 09:25:08.202304 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder (Background on this error at: https://sqlalche.me/e/14/f405) Jul 28 09:25:08.202304 dv-cinder-851351-1-smb cinder-scheduler[510736]: ERROR cinder Jul 28 09:25:08.626132 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Main process exited, code=exited, status=1/FAILURE Jul 28 09:25:08.626160 dv-cinder-851351-1-smb systemd[1]: devstack@c-sch.service: Failed with result 'exit-code'.