2025-10-05 08:20:18,014 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:18,014 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:18,015 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:18,016 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:18,017 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:18,017 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:18,017 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:18,017 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:18,017 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:18,017 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:18,017 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:18,017 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:18,017 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:18,017 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:18,018 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:18,018 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:18,019 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:18,020 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:18,021 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:18,021 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:18,021 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:18,021 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:18,021 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:18,021 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:18,021 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:18,021 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:18,021 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:18,022 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:18,022 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:18,022 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:18,022 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:18,022 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:18,022 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:18,022 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:18,022 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:18,022 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:18,023 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:18,023 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:18,023 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:18,023 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:18,023 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:18,023 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:18,023 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:18,023 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:18,023 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:18,024 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:18,024 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:18,024 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:18,024 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:18,024 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:18,024 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:18,024 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:18,024 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:18,024 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:18,024 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:18,025 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:18,025 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:18,025 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:18,025 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:18,025 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:18,025 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:18,025 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:18,025 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:18,025 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:18,307 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:30,046 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:30,047 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:30,047 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:30,047 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:30,047 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:30,047 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:30,047 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:30,047 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:30,047 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:30,047 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:30,047 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:30,048 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:30,049 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:30,050 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:30,050 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:30,050 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:30,050 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:30,050 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:30,051 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:30,052 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:30,053 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:30,054 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:30,054 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:30,054 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:30,054 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:30,054 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:30,054 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:30,054 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:30,054 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:30,054 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:30,055 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:30,055 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:30,055 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:30,055 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:30,055 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:30,055 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:30,055 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:30,055 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:30,055 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:30,056 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:30,056 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:30,056 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:30,056 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:30,056 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:30,056 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:30,056 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:30,056 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:30,056 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:30,057 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:30,057 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:30,057 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:30,057 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:30,057 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:30,057 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:30,057 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:30,057 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:30,057 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:30,057 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:30,057 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:30,058 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:30,058 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:30,058 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:30,058 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:30,058 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:30,058 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:30,343 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:32,095 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:32,095 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:32,095 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:32,096 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:32,097 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:32,098 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:32,098 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:32,098 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:32,098 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:32,098 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:32,098 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:32,098 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:32,098 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:32,098 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:32,098 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:32,098 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:32,099 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:32,099 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:32,099 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:32,099 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:32,099 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:32,099 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:32,099 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:32,099 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:32,099 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:32,099 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:32,100 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:32,101 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:32,102 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:32,102 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:32,102 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:32,102 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:32,102 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:32,102 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:32,102 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:32,102 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:32,103 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:32,103 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:32,103 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:32,103 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:32,103 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:32,103 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:32,103 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:32,103 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:32,103 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:32,103 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:32,104 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:32,104 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:32,104 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:32,104 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:32,104 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:32,104 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:32,104 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:32,104 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:32,105 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:32,105 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:32,105 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:32,105 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:32,105 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:32,105 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:32,105 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:32,105 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:32,105 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:32,105 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:32,106 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:32,106 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:32,106 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:32,106 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:32,106 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:32,106 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:32,106 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:32,106 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:32,106 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:32,106 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:32,389 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:34,289 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:34,289 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:34,289 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:34,289 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:34,289 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:34,289 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:34,289 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:34,289 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:34,289 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:34,289 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:34,289 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:34,290 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:34,291 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:34,292 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:34,292 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:34,292 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:34,292 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:34,292 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:34,292 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:34,292 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:34,293 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:34,293 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:34,293 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:34,293 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:34,293 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:34,293 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:34,293 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:34,293 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:34,293 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:34,293 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:34,293 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:34,294 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:34,295 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:34,296 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:34,296 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:34,296 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:34,296 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:34,296 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:34,296 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:34,296 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:34,296 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:34,296 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:34,297 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:34,297 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:34,297 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:34,297 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:34,297 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:34,297 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:34,297 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:34,297 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:34,297 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:34,298 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:34,298 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:34,298 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:34,298 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:34,298 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:34,298 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:34,298 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:34,299 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:34,299 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:34,299 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:34,299 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:34,299 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:34,299 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:34,299 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:34,299 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:34,300 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:34,580 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:36,285 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:36,285 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:36,285 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:36,285 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:36,285 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:36,285 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:36,285 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:36,285 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:36,285 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:36,285 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:36,285 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:36,286 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:36,287 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:36,288 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:36,288 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:36,288 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:36,288 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:36,289 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:36,290 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:36,291 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:36,292 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:36,292 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:36,292 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:36,292 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:36,292 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:36,292 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:36,292 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:36,292 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:36,293 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:36,293 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:36,293 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:36,293 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:36,293 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:36,293 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:36,293 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:36,293 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:36,294 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:36,294 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:36,294 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:36,294 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:36,294 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:36,294 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:36,294 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:36,294 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:36,295 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:36,295 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:36,295 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:36,295 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:36,295 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:36,295 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:36,295 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:36,295 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:36,295 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:36,296 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:36,296 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:36,296 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:36,296 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:36,296 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:36,296 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:36,296 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:36,296 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:36,296 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:36,296 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:36,296 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:36,581 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:38,411 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:38,411 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:38,411 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:38,412 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:38,412 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:38,412 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:38,413 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:38,413 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:38,413 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:38,413 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:38,413 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:38,413 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:38,414 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:38,414 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:38,414 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:38,414 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:38,414 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:38,414 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:38,414 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:38,415 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:38,415 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:38,415 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:38,415 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:38,415 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:38,416 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:38,416 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:38,416 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:38,416 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:38,416 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:38,416 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:38,417 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:38,417 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:38,417 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:38,417 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:38,417 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:38,417 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:38,418 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:38,418 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:38,418 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:38,418 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:38,418 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:38,418 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:38,418 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:38,418 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:38,418 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:38,419 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:38,420 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:38,420 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:38,420 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:38,421 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:38,421 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:38,421 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:38,421 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:38,422 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:38,422 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:38,422 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:38,422 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:38,422 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:38,422 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:38,422 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:38,422 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:38,422 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:38,423 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:38,423 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:38,423 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:38,423 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:38,423 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:38,423 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:38,423 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:38,423 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:38,423 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:38,423 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:38,423 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:38,424 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:38,424 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:38,424 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:38,424 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:38,424 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:38,424 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:38,424 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:38,424 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:38,424 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:38,424 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:38,424 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:38,425 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:38,425 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:38,425 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:38,425 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:38,425 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:38,425 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:38,425 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:38,426 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:38,426 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:38,426 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:38,426 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:38,426 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:38,426 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:38,426 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:38,427 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:38,427 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:38,427 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:38,427 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:38,427 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:38,427 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:38,428 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:38,428 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:38,428 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:38,428 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:38,428 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:38,428 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:38,429 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:38,429 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:38,429 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:38,429 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:38,429 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:38,429 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:38,430 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:38,430 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:38,430 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:38,430 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:38,430 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:38,430 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:38,430 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:38,430 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:38,430 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:38,431 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:38,431 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:38,431 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:38,431 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:38,431 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:38,431 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:38,431 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:38,431 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:38,699 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:40,536 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:40,536 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:40,536 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:40,536 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:40,536 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:40,536 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:40,536 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:40,536 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:40,536 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:40,536 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:40,537 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:40,538 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:40,539 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:40,539 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:40,539 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:40,539 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:40,540 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:40,540 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:40,541 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:40,542 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:40,542 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:40,542 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:40,542 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:40,542 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:40,542 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:40,542 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:40,542 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:40,542 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:40,542 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:40,542 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:40,543 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:40,543 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:40,543 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:40,543 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:40,543 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:40,543 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:40,543 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:40,544 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:40,544 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:40,544 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:40,544 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:40,545 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:40,545 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:40,545 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:40,545 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:40,545 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:40,545 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:40,545 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:40,545 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:40,546 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:40,546 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:40,546 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:40,546 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:40,546 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:40,546 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:40,546 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:40,546 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:40,547 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:40,547 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:40,547 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:40,547 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:40,547 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:40,547 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:40,547 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:40,547 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:40,548 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:40,823 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:42,448 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:42,448 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:42,449 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:42,450 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:42,451 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:42,451 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:42,451 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:42,451 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:42,451 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:42,451 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:42,451 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:42,451 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:42,451 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:42,451 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:42,451 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:42,452 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:42,452 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:42,452 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:42,452 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:42,452 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:42,452 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:42,452 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:42,453 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:42,454 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:42,455 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:42,455 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:42,455 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:42,455 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:42,455 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:42,455 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:42,455 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:42,455 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:42,455 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:42,455 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:42,456 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:42,456 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:42,456 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:42,456 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:42,456 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:42,456 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:42,456 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:42,456 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:42,456 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:42,457 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:42,457 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:42,457 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:42,457 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:42,457 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:42,457 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:42,457 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:42,457 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:42,457 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:42,458 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:42,458 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:42,458 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:42,458 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:42,458 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:42,458 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:42,458 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:42,458 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:42,459 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:42,711 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:44,526 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:44,526 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:44,526 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:44,526 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:44,526 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:44,527 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:44,528 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:44,529 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:44,529 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:44,529 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:44,529 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:44,529 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:44,529 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:44,529 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:44,529 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:44,530 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:44,530 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:44,531 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:44,532 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:44,533 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:44,533 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:44,533 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:44,533 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:44,533 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:44,533 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:44,533 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:44,533 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:44,533 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:44,533 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:44,534 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:44,534 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:44,534 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:44,534 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:44,534 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:44,534 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:44,534 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:44,534 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:44,534 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:44,535 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:44,535 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:44,535 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:44,535 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:44,535 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:44,535 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:44,535 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:44,535 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:44,536 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:44,537 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:44,537 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:44,537 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:44,537 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:44,537 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:44,537 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:44,788 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:46,771 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:46,772 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:46,773 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:46,774 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:46,775 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:46,775 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:46,775 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:46,775 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:46,775 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:46,775 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:46,775 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:46,775 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:46,776 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:46,777 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:46,778 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:46,778 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:46,778 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:46,778 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:46,778 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:46,778 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:46,778 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:46,778 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:46,778 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:46,779 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:46,779 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:46,779 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:46,779 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:46,779 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:46,779 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:46,779 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:46,779 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:46,779 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:46,780 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:46,780 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:46,780 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:46,780 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:46,780 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:46,780 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:46,780 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:46,780 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:46,780 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:46,781 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:46,781 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:46,781 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:46,781 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:46,781 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:46,781 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:46,781 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:46,781 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:46,782 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:46,783 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:46,783 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:47,065 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:49,131 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:49,131 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:49,131 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:49,131 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:49,132 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:49,133 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:49,134 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:49,134 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:49,134 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:49,134 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:49,134 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:49,134 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:49,134 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:49,134 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:49,134 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:49,134 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:49,135 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:49,135 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:49,135 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:49,135 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:49,135 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:49,135 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:49,135 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:49,136 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:49,137 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:49,138 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:49,138 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:49,138 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:49,138 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:49,138 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:49,138 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:49,138 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:49,138 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:49,138 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:49,138 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:49,139 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:49,139 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:49,139 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:49,139 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:49,139 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:49,139 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:49,139 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:49,139 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:49,139 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:49,140 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:49,140 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:49,140 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:49,140 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:49,140 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:49,140 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:49,140 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:49,140 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:49,141 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:49,141 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:49,141 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:49,141 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:49,141 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:49,141 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:49,141 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:49,141 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:49,141 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:49,142 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:49,463 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:51,311 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:51,311 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:51,312 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:51,313 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:51,314 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:51,315 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:51,315 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:51,315 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:51,315 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:51,315 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:51,315 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:51,315 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:51,316 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:51,317 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:51,318 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:51,318 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:51,318 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:51,318 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:51,318 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:51,318 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:51,318 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:51,318 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:51,318 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:51,318 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:51,318 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:51,319 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:51,319 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:51,319 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:51,319 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:51,319 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:51,319 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:51,319 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:51,320 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:51,320 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:51,320 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:51,320 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:51,320 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:51,320 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:51,321 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:51,321 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:51,321 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:51,321 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:51,321 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:51,322 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:51,322 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:51,322 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:51,322 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:51,322 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:51,323 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:51,323 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:51,323 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:51,323 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:51,323 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:51,323 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:51,324 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:51,651 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:53,662 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:53,662 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:53,663 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:53,664 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:53,665 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:53,665 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:53,665 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:53,665 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:53,665 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:53,666 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:53,667 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:53,668 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:53,668 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:53,668 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:53,668 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:53,668 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:53,668 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:53,668 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:53,668 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:53,668 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:53,668 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:53,668 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:53,669 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:53,669 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:53,669 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:53,669 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:53,669 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:53,669 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:53,669 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:53,669 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:53,670 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:53,670 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:53,670 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:53,670 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:53,670 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:53,670 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:53,670 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:53,670 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:53,671 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:53,671 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:53,671 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:53,671 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:53,671 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:53,671 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:53,671 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:53,671 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:53,671 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:53,672 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:53,672 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:53,672 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:53,672 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:53,672 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:53,672 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:53,672 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:53,672 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:53,672 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:53,672 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:53,672 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:53,673 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:53,673 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:53,673 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:53,673 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:53,920 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:55,588 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:55,589 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:55,590 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:55,591 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:55,592 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:55,592 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:55,592 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:55,592 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:55,592 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:55,592 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:55,592 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:55,592 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:55,593 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:55,594 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:55,595 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:55,595 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:55,595 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:55,595 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:55,595 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:55,595 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:55,595 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:55,595 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:55,595 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:55,596 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:55,596 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:55,596 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:55,596 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:55,596 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:55,596 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:55,596 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:55,596 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:55,596 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:55,597 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:55,597 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:55,597 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:55,597 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:55,597 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:55,597 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:55,597 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:55,597 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:55,597 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:55,598 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:55,598 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:55,598 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:55,598 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:55,598 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:55,598 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:55,598 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:55,598 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:55,599 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:55,860 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:57,601 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:57,602 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:57,603 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:57,604 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:57,605 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:57,605 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:57,605 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:57,605 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:57,606 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:57,606 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:57,606 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:57,606 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:57,606 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:57,606 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:57,606 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:57,606 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:57,606 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:57,606 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:57,606 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:57,607 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:57,608 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:57,609 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:57,609 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:57,609 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:57,609 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:57,609 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:57,609 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:57,609 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:57,609 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:57,609 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:57,610 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:57,610 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:57,610 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:57,610 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:57,610 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:57,610 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:57,610 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:57,610 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:57,611 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:57,611 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:57,611 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:57,611 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:57,611 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:57,611 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:57,611 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:57,611 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:57,612 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:57,612 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:57,612 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:57,612 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:57,612 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:57,612 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:57,612 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:57,612 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:57,612 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:57,612 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:57,613 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:57,613 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:57,613 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:57,613 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:57,613 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:57,613 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:57,613 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:57,613 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:57,613 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:57,613 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:57,878 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:20:59,588 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:20:59,588 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:20:59,589 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:20:59,590 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:20:59,591 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:20:59,591 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:20:59,592 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:20:59,592 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:59,593 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:20:59,594 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:20:59,595 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:20:59,595 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:20:59,595 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:20:59,595 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:20:59,595 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:20:59,595 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:20:59,595 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:20:59,595 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:20:59,595 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:20:59,596 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:20:59,596 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:20:59,596 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:20:59,596 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:20:59,596 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:20:59,596 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:20:59,596 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:20:59,596 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:20:59,596 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:20:59,597 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:20:59,597 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:20:59,597 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:20:59,597 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:20:59,597 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:20:59,597 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:20:59,597 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:20:59,597 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:20:59,598 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:20:59,598 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:20:59,598 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:20:59,598 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:20:59,598 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:20:59,598 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:20:59,598 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:20:59,598 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:20:59,598 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:20:59,598 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:20:59,598 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:20:59,599 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:20:59,599 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:20:59,599 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:20:59,599 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:20:59,599 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:20:59,599 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:20:59,599 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:20:59,599 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:20:59,899 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:01,647 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:01,647 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:01,647 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:01,647 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:01,647 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:01,647 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:01,647 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:01,647 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:01,647 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:01,647 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:01,647 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:01,647 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:01,648 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:01,649 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:01,650 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:01,650 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:01,650 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:01,650 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:01,650 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:01,651 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:01,651 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:01,652 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:01,653 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:01,654 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:01,654 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:01,654 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:01,654 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:01,654 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:01,654 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:01,654 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:01,654 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:01,654 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:01,655 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:01,655 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:01,655 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:01,655 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:01,655 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:01,655 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:01,655 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:01,655 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:01,655 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:01,656 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:01,656 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:01,656 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:01,656 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:01,656 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:01,656 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:01,656 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:01,656 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:01,656 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:01,657 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:01,657 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:01,657 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:01,657 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:01,657 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:01,657 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:01,657 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:01,657 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:01,657 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:01,657 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:01,658 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:01,658 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:01,658 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:01,658 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:01,658 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:01,658 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:01,658 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:01,658 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:01,953 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:03,842 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:03,843 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:03,844 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:03,844 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:03,844 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:03,844 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:03,844 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:03,844 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:03,844 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:03,844 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:03,844 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:03,844 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:03,845 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:03,846 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:03,846 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:03,846 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:03,847 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:03,847 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:03,847 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:03,847 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:03,847 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:03,847 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:03,847 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:03,847 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:03,847 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:03,847 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:03,847 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:03,847 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:03,848 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:03,849 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:03,850 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:03,850 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:03,850 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:03,850 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:03,850 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:03,850 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:03,850 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:03,850 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:03,851 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:03,851 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:03,851 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:03,851 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:03,851 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:03,851 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:03,851 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:03,851 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:03,852 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:03,852 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:03,852 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:03,852 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:03,852 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:03,852 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:03,852 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:03,852 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:03,852 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:03,853 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:03,853 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:03,853 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:03,853 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:03,853 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:03,853 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:03,853 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:03,853 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:03,854 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:03,855 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:04,186 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:05,995 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:05,995 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:05,996 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:05,997 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:05,998 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:05,998 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:05,998 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:05,998 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:05,998 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:05,999 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:06,000 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:06,001 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:06,001 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:06,001 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:06,001 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:06,001 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:06,001 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:06,001 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:06,001 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:06,001 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:06,001 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:06,002 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:06,002 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:06,002 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:06,002 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:06,002 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:06,002 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:06,002 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:06,003 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:06,003 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:06,003 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:06,003 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:06,003 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:06,003 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:06,003 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:06,004 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:06,004 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:06,004 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:06,004 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:06,004 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:06,005 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:06,005 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:06,005 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:06,005 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:06,005 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:06,005 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:06,005 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:06,006 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:06,006 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:06,006 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:06,006 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:06,006 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:06,006 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:06,007 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:06,007 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:06,007 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:06,007 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:06,007 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:06,007 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:06,007 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:06,007 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:06,007 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:06,008 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:06,008 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:06,008 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:06,008 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:06,008 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:06,008 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:06,008 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:06,008 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:06,274 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:08,021 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:08,021 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:08,021 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:08,021 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:08,021 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:08,021 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:08,021 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:08,021 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:08,021 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:08,022 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:08,023 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:08,024 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:08,024 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:08,024 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:08,024 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:08,025 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:08,026 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:08,027 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:08,028 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:08,028 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:08,028 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:08,028 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:08,028 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:08,028 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:08,028 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:08,028 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:08,028 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:08,029 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:08,029 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:08,029 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:08,029 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:08,029 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:08,029 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:08,029 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:08,029 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:08,029 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:08,030 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:08,030 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:08,030 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:08,030 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:08,030 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:08,030 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:08,030 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:08,030 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:08,031 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:08,031 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:08,031 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:08,031 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:08,031 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:08,031 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:08,031 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:08,031 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:08,031 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:08,031 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:08,031 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:08,032 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:08,032 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:08,032 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:08,032 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:08,032 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:08,032 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:08,032 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:08,032 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:08,303 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:10,301 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:10,301 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:10,301 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:10,301 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:10,302 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:10,303 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:10,304 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:10,305 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:10,305 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:10,305 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:10,306 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:10,306 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:10,306 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:10,306 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:10,306 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:10,306 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:10,306 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:10,306 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:10,306 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:10,307 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:10,308 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:10,309 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:10,309 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:10,309 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:10,309 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:10,309 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:10,309 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:10,309 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:10,309 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:10,309 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:10,310 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:10,310 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:10,310 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:10,310 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:10,310 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:10,310 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:10,310 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:10,310 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:10,310 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:10,311 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:10,311 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:10,311 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:10,311 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:10,311 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:10,311 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:10,311 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:10,311 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:10,312 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:10,312 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:10,312 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:10,312 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:10,312 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:10,312 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:10,313 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:10,313 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:10,313 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:10,313 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:10,313 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:10,313 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:10,313 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:10,313 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:10,314 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:10,314 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:10,314 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:10,314 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:10,314 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:10,314 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:10,314 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:10,314 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:10,314 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:10,314 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:10,314 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:10,597 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:12,226 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:12,226 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:12,226 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:12,226 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:12,226 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:12,226 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:12,226 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:12,226 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:12,227 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:12,228 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:12,228 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:12,228 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:12,228 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:12,228 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:12,228 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:12,228 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:12,228 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:12,228 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:12,229 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:12,230 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:12,231 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:12,231 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:12,231 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:12,231 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:12,231 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:12,231 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:12,232 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:12,232 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:12,232 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:12,232 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:12,232 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:12,232 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:12,232 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:12,232 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:12,232 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:12,232 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:12,233 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:12,234 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:12,235 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:12,235 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:12,235 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:12,235 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:12,235 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:12,235 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:12,235 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:12,235 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:12,235 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:12,236 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:12,236 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:12,236 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:12,236 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:12,236 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:12,236 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:12,236 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:12,236 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:12,236 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:12,237 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:12,237 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:12,237 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:12,237 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:12,237 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:12,237 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:12,237 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:12,237 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:12,237 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:12,238 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:12,238 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:12,238 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:12,238 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:12,239 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:12,502 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:14,196 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:14,196 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:14,196 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:14,196 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:14,196 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:14,196 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:14,197 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:14,198 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:14,199 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:14,199 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:14,199 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:14,199 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:14,199 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:14,199 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:14,199 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:14,200 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:14,200 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:14,201 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:14,202 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:14,203 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:14,203 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:14,203 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:14,203 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:14,203 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:14,203 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:14,203 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:14,203 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:14,203 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:14,204 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:14,204 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:14,204 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:14,204 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:14,204 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:14,204 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:14,204 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:14,204 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:14,205 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:14,205 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:14,205 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:14,205 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:14,205 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:14,205 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:14,205 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:14,205 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:14,205 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:14,206 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:14,206 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:14,206 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:14,206 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:14,206 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:14,206 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:14,206 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:14,206 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:14,206 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:14,206 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:14,207 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:14,207 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:14,207 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:14,207 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:14,207 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:14,207 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:14,207 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:14,207 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:14,508 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:16,352 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:16,352 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:16,352 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:16,352 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:16,352 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:16,353 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:16,354 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:16,355 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:16,355 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:16,355 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:16,355 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:16,355 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:16,355 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:16,355 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:16,356 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:16,356 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:16,356 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:16,356 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:16,356 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:16,356 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:16,356 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:16,356 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:16,356 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:16,356 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:16,356 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:16,356 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:16,357 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:16,358 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:16,359 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:16,359 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:16,359 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:16,359 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:16,359 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:16,359 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:16,359 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:16,359 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:16,359 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:16,360 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:16,360 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:16,360 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:16,360 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:16,360 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:16,360 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:16,360 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:16,360 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:16,360 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:16,361 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:16,361 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:16,361 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:16,361 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:16,361 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:16,361 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:16,361 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:16,361 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:16,362 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:16,362 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:16,362 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:16,362 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:16,362 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:16,362 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:16,362 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:16,362 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:16,362 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:16,363 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:16,678 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:18,538 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:18,538 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:18,538 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:18,538 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:18,538 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:18,538 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:18,538 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:18,538 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:18,538 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:18,538 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:18,539 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:18,540 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:18,541 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:18,541 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:18,541 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:18,541 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:18,541 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:18,542 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:18,542 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:18,542 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:18,542 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:18,542 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:18,542 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:18,542 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:18,542 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:18,542 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:18,542 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:18,542 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:18,543 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:18,544 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:18,545 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:18,545 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:18,545 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:18,545 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:18,545 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:18,545 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:18,545 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:18,545 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:18,546 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:18,546 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:18,546 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:18,546 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:18,546 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:18,546 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:18,546 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:18,546 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:18,546 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:18,547 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:18,547 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:18,547 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:18,547 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:18,547 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:18,547 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:18,547 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:18,547 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:18,547 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:18,548 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:18,548 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:18,548 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:18,548 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:18,548 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:18,548 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:18,548 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:18,548 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:18,548 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:18,549 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:18,549 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:18,549 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:18,549 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:18,549 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:18,549 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:18,549 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:18,549 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:18,549 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:18,549 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:18,549 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:18,834 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:20,761 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:20,761 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:20,761 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:20,761 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:20,761 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:20,761 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:20,761 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:20,761 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:20,762 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:20,763 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:20,764 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:20,764 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:20,764 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:20,764 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:20,764 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:20,765 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:20,766 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:20,767 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:20,768 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:20,768 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:20,768 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:20,768 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:20,768 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:20,768 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:20,768 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:20,768 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:20,768 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:20,769 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:20,769 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:20,769 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:20,769 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:20,769 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:20,769 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:20,769 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:20,769 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:20,769 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:20,770 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:20,770 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:20,770 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:20,770 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:20,770 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:20,770 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:20,770 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:20,770 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:20,770 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:20,771 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:20,771 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:20,771 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:20,771 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:20,771 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:20,771 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:20,771 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:20,771 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:20,771 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:20,771 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:20,771 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:20,772 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:20,772 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:20,772 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:20,772 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:20,772 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:20,772 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:21,036 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:22,689 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:22,690 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:22,690 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:22,690 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:22,690 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:22,690 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:22,690 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:22,690 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:22,690 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:22,690 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:22,691 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:22,692 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:22,693 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:22,693 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:22,693 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:22,693 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:22,693 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:22,693 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:22,693 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:22,694 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:22,694 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:22,695 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:22,696 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:22,697 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:22,697 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:22,697 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:22,697 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:22,697 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:22,697 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:22,697 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:22,698 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:22,698 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:22,698 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:22,698 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:22,698 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:22,698 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:22,699 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:22,699 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:22,699 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:22,699 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:22,699 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:22,699 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:22,699 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:22,699 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:22,700 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:22,700 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:22,700 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:22,700 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:22,700 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:22,700 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:22,700 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:22,700 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:22,700 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:22,701 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:22,702 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:22,702 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:22,702 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:22,984 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:24,794 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:24,794 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:24,794 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:24,795 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:24,796 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:24,797 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:24,798 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:24,798 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:24,798 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:24,798 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:24,798 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:24,798 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:24,798 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:24,798 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:24,798 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:24,798 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:24,799 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:24,800 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:24,801 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:24,801 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:24,801 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:24,801 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:24,801 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:24,801 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:24,801 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:24,801 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:24,801 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:24,802 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:24,802 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:24,802 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:24,802 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:24,802 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:24,802 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:24,802 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:24,802 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:24,802 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:24,803 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:24,803 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:24,803 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:24,803 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:24,803 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:24,803 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:24,803 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:24,803 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:24,804 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:24,804 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:24,804 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:24,804 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:24,804 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:24,804 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:24,804 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:24,804 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:24,805 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:25,100 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:26,703 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:26,703 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:26,703 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:26,703 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:26,704 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:26,705 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:26,706 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:26,707 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:26,707 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:26,707 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:26,708 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:26,708 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:26,708 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:26,708 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:26,708 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:26,708 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:26,708 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:26,708 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:26,708 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:26,708 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:26,709 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:26,710 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:26,711 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:26,711 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:26,711 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:26,711 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:26,711 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:26,711 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:26,711 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:26,711 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:26,711 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:26,712 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:26,712 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:26,712 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:26,712 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:26,712 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:26,712 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:26,712 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:26,712 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:26,713 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:26,713 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:26,713 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:26,713 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:26,713 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:26,713 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:26,713 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:26,713 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:26,713 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:26,714 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:26,714 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:26,714 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:26,714 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:26,714 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:26,714 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:26,714 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:26,714 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:26,715 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:27,003 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:28,604 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:28,604 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:28,604 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:28,604 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:28,605 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:28,606 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:28,607 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:28,607 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:28,607 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:28,607 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:28,607 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:28,607 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:28,607 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:28,607 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:28,607 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:28,607 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:28,608 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:28,608 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:28,608 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:28,608 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:28,608 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:28,608 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:28,608 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:28,608 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:28,608 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:28,608 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:28,609 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:28,610 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:28,611 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:28,611 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:28,611 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:28,611 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:28,611 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:28,611 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:28,611 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:28,611 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:28,612 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:28,612 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:28,612 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:28,612 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:28,612 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:28,612 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:28,612 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:28,612 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:28,612 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:28,613 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:28,613 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:28,613 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:28,613 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:28,613 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:28,613 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:28,613 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:28,613 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:28,613 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:28,614 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:28,614 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:28,614 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:28,614 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:28,614 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:28,614 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:28,614 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:28,614 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:28,614 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:28,614 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:28,615 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:28,615 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:28,615 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:28,615 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:28,615 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:28,615 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:28,615 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:28,615 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:28,615 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:28,615 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:28,885 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405) 2025-10-05 08:21:30,514 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-05 08:21:30,515 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:30,515 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-05 08:21:30,515 [2] DEBUG gnocchi.service: command line args: [] 2025-10-05 08:21:30,515 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:30,515 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-05 08:21:30,515 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-05 08:21:30,515 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-05 08:21:30,515 [2] DEBUG gnocchi.service: config_source = [] 2025-10-05 08:21:30,515 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-05 08:21:30,515 [2] DEBUG gnocchi.service: debug = True 2025-10-05 08:21:30,515 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: log_file = None 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: use_journal = False 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: verbose = True 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-05 08:21:30,516 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-05 08:21:30,517 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-05 08:21:30,518 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-05 08:21:30,518 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-05 08:21:30,518 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-05 08:21:30,518 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-05 08:21:30,518 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-05 08:21:30,518 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-05 08:21:30,518 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-05 08:21:30,519 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-10-05 08:21:30,519 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-05 08:21:30,519 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-05 08:21:30,519 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-05 08:21:30,519 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-05 08:21:30,519 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-05 08:21:30,519 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-05 08:21:30,519 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-05 08:21:30,519 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:30,519 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-05 08:21:30,519 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-05 08:21:30,520 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-05 08:21:30,521 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-05 08:21:30,522 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-05 08:21:30,522 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-05 08:21:30,522 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-05 08:21:30,522 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-05 08:21:30,522 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-05 08:21:30,522 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-05 08:21:30,522 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-05 08:21:30,522 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-05 08:21:30,522 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-05 08:21:30,523 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-05 08:21:30,523 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-05 08:21:30,523 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-05 08:21:30,523 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-05 08:21:30,523 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-05 08:21:30,523 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-05 08:21:30,523 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-05 08:21:30,523 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-05 08:21:30,523 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-05 08:21:30,524 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-05 08:21:30,524 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-05 08:21:30,524 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-05 08:21:30,524 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-05 08:21:30,524 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-05 08:21:30,524 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.227:5000/v3 2025-10-05 08:21:30,524 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-05 08:21:30,525 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-05 08:21:30,525 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-05 08:21:30,525 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-05 08:21:30,525 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-05 08:21:30,525 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-05 08:21:30,525 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-05 08:21:30,525 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-05 08:21:30,526 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-05 08:21:30,526 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-05 08:21:30,526 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-05 08:21:30,526 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-05 08:21:30,526 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-05 08:21:30,526 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-05 08:21:30,526 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-05 08:21:30,526 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-05 08:21:30,526 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-05 08:21:30,526 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-05 08:21:30,527 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-05 08:21:30,527 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-05 08:21:30,527 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-05 08:21:30,527 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-05 08:21:30,527 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-05 08:21:30,527 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-05 08:21:30,527 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-05 08:21:30,527 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-05 08:21:30,837 [2] CRITICAL root: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.ProgrammingError: (1146, "Table 'gnocchi.resource_type' doesn't exist") The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/gnocchi-statsd", line 33, in sys.exit(load_entry_point('gnocchi==4.4.6.dev2+gff96e73d', 'console_scripts', 'gnocchi-statsd')()) File "/usr/lib/python3.9/site-packages/gnocchi/cli/statsd.py", line 20, in statsd statsd_service.start() File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 174, in start stats = Stats(conf) File "/usr/lib/python3.9/site-packages/gnocchi/statsd.py", line 41, in __init__ self.indexer.create_resource('generic', File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 154, in wrapper ectxt.value = e.inner_exc File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/usr/lib/python3.9/site-packages/oslo_db/api.py", line 142, in wrapper return f(*args, **kwargs) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 811, in create_resource resource_cls = self._resource_type_to_mappers( File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 587, in _resource_type_to_mappers resource_type = self._get_resource_type(session, name) File "/usr/lib/python3.9/site-packages/gnocchi/indexer/sqlalchemy.py", line 482, in _get_resource_type resource_type = session.query(ResourceType).get(name) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1018, in get return self._get_impl(ident, loading.load_on_pk_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 1135, in _get_impl return db_load_fn(self, primary_key_identity) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/loading.py", line 286, in load_on_pk_identity return q.one() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3490, in one ret = self.one_or_none() File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3459, in one_or_none ret = list(self) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__ return self._execute_and_instances(context) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute return meth(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1508, in _handle_dbapi_exception util.raise_(newraise, with_traceback=exc_info[2], from_=e) File "/usr/lib64/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_ raise exception File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute cursor.execute(statement, parameters) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 163, in execute result = self._query(query) File "/usr/lib/python3.9/site-packages/pymysql/cursors.py", line 321, in _query conn.query(q) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 505, in query self._affected_rows = self._read_query_result(unbuffered=unbuffered) File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 724, in _read_query_result result.read() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 1069, in read first_packet = self.connection._read_packet() File "/usr/lib/python3.9/site-packages/pymysql/connections.py", line 676, in _read_packet packet.raise_for_error() File "/usr/lib/python3.9/site-packages/pymysql/protocol.py", line 223, in raise_for_error err.raise_mysql_exception(self._data) File "/usr/lib/python3.9/site-packages/pymysql/err.py", line 107, in raise_mysql_exception raise errorclass(errno, errval) sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1146, "Table 'gnocchi.resource_type' doesn't exist") [SQL: SELECT resource_type.name AS resource_type_name, resource_type.tablename AS resource_type_tablename, resource_type.attributes AS resource_type_attributes, resource_type.state AS resource_type_state, resource_type.updated_at AS resource_type_updated_at FROM resource_type WHERE resource_type.name = %(param_1)s] [parameters: {'param_1': 'generic'}] (Background on this error at: http://sqlalche.me/e/13/f405)