2025-10-14 08:27:59,959 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:27:59,959 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:27:59,959 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:27:59,959 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:27:59,960 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:27:59,961 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:27:59,962 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:27:59,963 [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-14 08:27:59,963 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:27:59,963 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:27:59,963 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:27:59,963 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:27:59,963 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:27:59,963 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:27:59,964 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:27:59,965 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:27:59,966 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:27:59,966 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:27:59,966 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:27:59,966 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:27:59,966 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:27:59,966 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:27:59,966 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:27:59,966 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:27:59,966 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:27:59,966 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:27:59,966 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:27:59,967 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:27:59,967 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:27:59,967 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:27:59,967 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:27:59,967 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:27:59,967 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:27:59,967 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:27:59,967 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:27:59,968 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:27:59,968 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:27:59,968 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:27:59,968 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:27:59,968 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:27:59,968 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:27:59,968 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:27:59,968 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:27:59,969 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:27:59,969 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:27:59,969 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:27:59,969 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:27:59,969 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:27:59,969 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:27:59,969 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:27:59,969 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:27:59,970 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:27:59,971 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:27:59,971 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:27:59,971 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:00,331 [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-14 08:28:11,708 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:11,709 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:11,710 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:11,711 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:11,712 [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-14 08:28:11,712 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:11,712 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:11,712 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:11,712 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:11,712 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:11,712 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:11,712 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:11,712 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:11,712 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:11,713 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:11,714 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:11,715 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:11,715 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:11,715 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:11,715 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:11,715 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:11,715 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:11,715 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:11,715 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:11,715 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:11,716 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:11,716 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:11,716 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:11,716 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:11,716 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:11,716 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:11,716 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:11,716 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:11,716 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:11,717 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:11,717 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:11,717 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:11,717 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:11,717 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:11,717 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:11,717 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:11,717 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:11,717 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:11,718 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:11,718 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:11,718 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:11,718 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:11,718 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:11,718 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:11,718 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:11,718 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:11,718 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:11,718 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:11,719 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:11,719 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:11,719 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:11,719 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:11,719 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:11,719 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:11,719 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:11,719 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:11,719 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:11,719 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:11,985 [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-14 08:28:13,726 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:13,726 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:13,726 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:13,726 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:13,726 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:13,726 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:13,726 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:13,726 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:13,726 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:13,726 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:13,727 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:13,728 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:13,729 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:13,729 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:13,729 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:13,729 [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-14 08:28:13,729 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:13,730 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:13,731 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:13,732 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:13,733 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:13,733 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:13,733 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:13,733 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:13,733 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:13,733 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:13,733 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:13,733 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:13,733 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:13,734 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:13,734 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:13,734 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:13,734 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:13,734 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:13,734 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:13,734 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:13,734 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:13,734 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:13,735 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:13,735 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:13,735 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:13,735 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:13,735 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:13,735 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:13,735 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:13,735 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:13,736 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:13,736 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:13,736 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:13,736 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:13,736 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:13,736 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:13,736 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:13,736 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:13,736 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:13,736 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:13,737 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:13,737 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:13,737 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:13,737 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:13,737 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:13,737 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:13,737 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:13,737 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:13,996 [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-14 08:28:15,866 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:15,867 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:15,868 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:15,869 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:15,870 [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-14 08:28:15,870 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:15,870 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:15,871 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:15,871 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:15,871 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:15,871 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:15,871 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:15,871 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:15,872 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:15,873 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:15,874 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:15,874 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:15,874 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:15,874 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:15,874 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:15,874 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:15,874 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:15,874 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:15,874 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:15,875 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:15,875 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:15,875 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:15,875 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:15,875 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:15,875 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:15,875 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:15,875 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:15,875 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:15,876 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:15,876 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:15,876 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:15,876 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:15,876 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:15,876 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:15,876 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:15,877 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:15,877 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:15,877 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:15,877 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:15,877 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:15,877 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:15,877 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:15,877 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:15,878 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:15,879 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:15,879 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:16,234 [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-14 08:28:18,404 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:18,404 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:18,404 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:18,404 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:18,404 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:18,404 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:18,404 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:18,404 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:18,404 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:18,404 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:18,404 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:18,404 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:18,405 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:18,406 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:18,407 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:18,407 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:18,407 [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-14 08:28:18,407 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:18,407 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:18,407 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:18,408 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:18,409 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:18,410 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:18,411 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:18,411 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:18,411 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:18,411 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:18,411 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:18,411 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:18,411 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:18,411 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:18,411 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:18,412 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:18,412 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:18,412 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:18,412 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:18,412 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:18,412 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:18,412 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:18,412 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:18,412 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:18,413 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:18,413 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:18,413 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:18,413 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:18,413 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:18,413 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:18,413 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:18,413 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:18,414 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:18,415 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:18,675 [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-14 08:28:20,410 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:20,410 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:20,411 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:20,412 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:20,413 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:20,413 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:20,413 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:20,414 [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-14 08:28:20,414 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:20,414 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:20,414 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:20,414 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:20,414 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:20,414 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:20,414 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:20,414 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:20,414 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:20,414 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:20,415 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:20,416 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:20,417 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:20,417 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:20,417 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:20,417 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:20,417 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:20,417 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:20,417 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:20,417 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:20,417 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:20,418 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:20,418 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:20,418 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:20,418 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:20,418 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:20,418 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:20,418 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:20,419 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:20,419 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:20,419 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:20,419 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:20,419 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:20,419 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:20,419 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:20,419 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:20,419 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:20,420 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:20,420 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:20,420 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:20,420 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:20,420 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:20,420 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:20,420 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:20,420 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:20,421 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:20,692 [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-14 08:28:22,402 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:22,402 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:22,402 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:22,402 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:22,403 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:22,404 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:22,405 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:22,406 [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-14 08:28:22,406 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:22,406 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:22,406 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:22,406 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:22,406 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:22,406 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:22,407 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:22,408 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:22,409 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:22,409 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:22,409 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:22,409 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:22,409 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:22,409 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:22,409 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:22,409 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:22,409 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:22,409 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:22,409 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:22,410 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:22,410 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:22,410 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:22,410 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:22,410 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:22,410 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:22,410 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:22,410 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:22,410 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:22,411 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:22,411 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:22,411 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:22,411 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:22,411 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:22,411 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:22,411 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:22,411 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:22,412 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:22,412 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:22,412 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:22,412 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:22,412 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:22,412 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:22,412 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:22,412 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:22,413 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:22,413 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:22,413 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:22,413 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:22,413 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:22,413 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:22,413 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:22,413 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:22,413 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:22,413 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:22,413 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:22,414 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:22,414 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:22,414 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:22,414 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:22,414 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:22,414 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:22,680 [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-14 08:28:24,421 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:24,421 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:24,422 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:24,423 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:24,424 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:24,424 [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-14 08:28:24,424 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:24,424 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:24,424 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:24,425 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:24,426 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:24,427 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:24,427 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:24,427 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:24,427 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:24,427 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:24,427 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:24,427 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:24,427 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:24,427 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:24,427 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:24,427 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:24,428 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:24,428 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:24,428 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:24,428 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:24,428 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:24,428 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:24,429 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:24,429 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:24,429 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:24,429 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:24,429 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:24,429 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:24,429 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:24,429 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:24,429 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:24,430 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:24,430 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:24,430 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:24,430 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:24,430 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:24,430 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:24,430 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:24,431 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:24,431 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:24,431 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:24,431 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:24,431 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:24,431 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:24,431 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:24,431 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:24,432 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:24,698 [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-14 08:28:26,425 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:26,425 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:26,425 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:26,425 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:26,425 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:26,425 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:26,425 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:26,425 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:26,425 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:26,426 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:26,427 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:26,428 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:26,428 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:26,428 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:26,428 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:26,428 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:26,429 [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-14 08:28:26,429 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:26,429 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:26,430 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:26,431 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:26,432 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:26,432 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:26,432 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:26,432 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:26,432 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:26,432 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:26,432 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:26,432 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:26,432 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:26,432 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:26,433 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:26,433 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:26,433 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:26,433 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:26,433 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:26,433 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:26,433 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:26,433 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:26,434 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:26,434 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:26,434 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:26,434 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:26,434 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:26,434 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:26,434 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:26,434 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:26,434 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:26,435 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:26,435 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:26,435 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:26,435 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:26,435 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:26,435 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:26,435 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:26,435 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:26,435 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:26,435 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:26,435 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:26,436 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:26,436 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:26,436 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:26,436 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:26,436 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:26,436 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:26,436 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:26,710 [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-14 08:28:28,529 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:28,529 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:28,529 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:28,529 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:28,529 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:28,529 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:28,530 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:28,531 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:28,532 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:28,532 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:28,532 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:28,532 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:28,532 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:28,532 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:28,532 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:28,533 [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-14 08:28:28,533 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:28,533 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:28,534 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:28,535 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:28,536 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:28,536 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:28,536 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:28,536 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:28,536 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:28,536 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:28,536 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:28,536 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:28,536 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:28,537 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:28,537 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:28,537 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:28,537 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:28,537 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:28,537 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:28,537 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:28,538 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:28,538 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:28,538 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:28,538 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:28,538 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:28,538 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:28,538 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:28,538 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:28,539 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:28,539 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:28,539 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:28,539 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:28,539 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:28,539 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:28,539 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:28,539 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:28,539 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:28,540 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:28,855 [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-14 08:28:30,656 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:30,656 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:30,657 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:30,658 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:30,659 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:30,659 [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-14 08:28:30,659 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:30,659 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:30,659 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:30,660 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:30,661 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:30,662 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:30,662 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:30,662 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:30,662 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:30,662 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:30,662 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:30,662 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:30,662 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:30,662 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:30,662 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:30,662 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:30,663 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:30,663 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:30,663 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:30,663 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:30,663 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:30,663 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:30,663 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:30,663 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:30,663 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:30,664 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:30,664 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:30,664 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:30,664 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:30,664 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:30,664 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:30,664 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:30,664 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:30,664 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:30,665 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:30,665 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:30,665 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:30,665 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:30,665 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:30,665 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:30,665 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:30,665 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:30,666 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:30,667 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:30,667 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:30,667 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:30,667 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:30,917 [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-14 08:28:32,667 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:32,667 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:32,667 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:32,667 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:32,668 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:32,669 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:32,670 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:32,670 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:32,670 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:32,670 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:32,670 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:32,670 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:32,670 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:32,670 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:32,670 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:32,671 [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-14 08:28:32,671 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:32,671 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:32,671 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:32,671 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:32,671 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:32,671 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:32,671 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:32,671 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:32,672 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:32,673 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:32,674 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:32,674 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:32,674 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:32,674 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:32,674 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:32,674 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:32,674 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:32,674 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:32,674 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:32,674 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:32,674 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:32,675 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:32,675 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:32,675 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:32,675 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:32,675 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:32,675 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:32,675 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:32,675 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:32,675 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:32,676 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:32,676 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:32,676 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:32,676 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:32,676 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:32,676 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:32,676 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:32,676 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:32,676 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:32,677 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:32,677 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:32,677 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:32,677 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:32,677 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:32,677 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:32,677 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:32,677 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:32,677 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:32,678 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:32,940 [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-14 08:28:34,953 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:34,953 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:34,954 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:34,955 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:34,956 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:34,956 [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-14 08:28:34,956 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:34,956 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:34,957 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:34,958 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:34,959 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:34,960 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:34,960 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:34,960 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:34,960 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:34,960 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:34,960 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:34,960 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:34,960 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:34,960 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:34,961 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:34,961 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:34,961 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:34,961 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:34,961 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:34,961 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:34,961 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:34,961 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:34,962 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:34,962 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:34,962 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:34,962 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:34,962 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:34,962 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:34,962 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:34,963 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:34,963 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:34,963 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:34,963 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:34,963 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:34,963 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:34,963 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:34,963 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:34,963 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:34,963 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:34,964 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:34,964 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:34,964 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:34,964 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:34,964 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:34,964 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:34,964 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:34,964 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:34,964 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:34,964 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:35,258 [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-14 08:28:36,974 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:36,974 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:36,975 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:36,976 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:36,977 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:36,978 [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-14 08:28:36,978 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:36,978 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:36,978 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:36,978 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:36,978 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:36,978 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:36,978 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:36,978 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:36,978 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:36,979 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:36,980 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:36,981 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:36,981 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:36,981 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:36,981 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:36,981 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:36,981 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:36,981 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:36,981 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:36,982 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:36,982 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:36,982 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:36,982 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:36,982 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:36,982 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:36,982 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:36,982 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:36,982 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:36,983 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:36,983 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:36,983 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:36,983 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:36,983 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:36,983 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:36,983 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:36,983 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:36,983 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:36,984 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:36,984 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:36,984 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:36,984 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:36,984 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:36,984 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:36,984 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:36,984 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:36,984 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:36,985 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:36,985 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:36,985 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:36,985 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:36,985 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:36,985 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:36,985 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:36,985 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:36,985 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:36,985 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:36,985 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:37,231 [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-14 08:28:39,154 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:39,154 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:39,154 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:39,154 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:39,154 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:39,154 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:39,154 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:39,154 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:39,154 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:39,154 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:39,155 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:39,156 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:39,157 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:39,157 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:39,157 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:39,157 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:39,157 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:39,157 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:39,157 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:39,157 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:39,158 [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-14 08:28:39,158 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:39,158 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:39,159 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:39,160 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:39,161 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:39,161 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:39,161 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:39,161 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:39,161 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:39,161 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:39,161 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:39,161 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:39,161 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:39,162 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:39,162 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:39,162 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:39,162 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:39,162 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:39,162 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:39,162 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:39,162 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:39,163 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:39,163 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:39,163 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:39,163 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:39,163 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:39,163 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:39,163 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:39,163 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:39,163 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:39,164 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:39,164 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:39,164 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:39,164 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:39,164 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:39,164 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:39,164 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:39,164 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:39,164 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:39,165 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:39,165 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:39,165 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:39,165 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:39,165 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:39,165 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:39,165 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:39,165 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:39,165 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:39,165 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:39,165 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:39,436 [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-14 08:28:41,405 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:41,406 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:41,407 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:41,408 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:41,409 [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-14 08:28:41,409 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:41,409 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:41,409 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:41,410 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:41,410 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:41,410 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:41,410 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:41,410 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:41,410 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:41,410 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:41,410 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:41,410 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:41,410 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:41,410 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:41,411 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:41,412 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:41,413 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:41,413 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:41,413 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:41,413 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:41,413 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:41,413 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:41,413 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:41,413 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:41,414 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:41,414 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:41,414 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:41,414 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:41,414 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:41,414 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:41,414 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:41,414 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:41,415 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:41,415 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:41,415 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:41,415 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:41,415 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:41,415 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:41,415 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:41,415 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:41,416 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:41,416 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:41,416 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:41,416 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:41,416 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:41,416 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:41,416 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:41,416 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:41,417 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:41,418 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:41,418 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:41,683 [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-14 08:28:43,386 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:43,386 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:43,386 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:43,386 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:43,386 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:43,387 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:43,388 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:43,389 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:43,390 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:43,390 [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-14 08:28:43,391 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:43,391 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:43,391 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:43,391 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:43,391 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:43,391 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:43,391 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:43,391 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:43,391 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:43,392 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:43,392 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:43,392 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:43,392 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:43,392 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:43,392 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:43,392 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:43,392 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:43,392 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:43,392 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:43,392 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:43,393 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:43,393 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:43,393 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:43,393 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:43,393 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:43,393 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:43,393 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:43,393 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:43,393 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:43,394 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:43,394 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:43,394 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:43,394 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:43,394 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:43,394 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:43,394 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:43,394 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:43,394 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:43,394 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:43,395 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:43,395 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:43,395 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:43,395 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:43,395 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:43,395 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:43,395 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:43,395 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:43,396 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:43,396 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:43,396 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:43,396 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:43,396 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:43,396 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:43,396 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:43,396 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:43,396 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:43,397 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:43,397 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:43,397 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:43,397 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:43,397 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:43,397 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:43,397 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:43,397 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:43,397 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:43,398 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:43,398 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:43,398 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:43,398 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:43,398 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:43,398 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:43,398 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:43,398 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:43,399 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:43,705 [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-14 08:28:45,554 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:45,554 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:45,554 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:45,554 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:45,554 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:45,555 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:45,556 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:45,557 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:45,557 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:45,557 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:45,557 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:45,557 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:45,557 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:45,557 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:45,557 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:45,557 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:45,557 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:45,558 [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-14 08:28:45,558 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:45,558 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:45,558 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:45,558 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:45,558 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:45,558 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:45,558 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:45,558 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:45,558 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:45,559 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:45,560 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:45,561 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:45,561 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:45,561 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:45,561 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:45,561 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:45,561 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:45,561 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:45,561 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:45,561 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:45,562 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:45,562 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:45,562 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:45,562 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:45,562 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:45,562 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:45,562 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:45,562 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:45,562 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:45,563 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:45,563 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:45,563 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:45,563 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:45,563 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:45,563 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:45,563 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:45,563 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:45,564 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:45,564 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:45,564 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:45,564 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:45,564 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:45,564 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:45,564 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:45,564 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:45,564 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:45,564 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:45,565 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:45,565 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:45,565 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:45,565 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:45,565 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:45,565 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:45,565 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:45,565 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:45,565 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:45,565 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:45,565 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:45,830 [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-14 08:28:47,532 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:47,533 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:47,534 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:47,535 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:47,536 [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-14 08:28:47,536 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:47,536 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:47,536 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:47,537 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:47,538 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:47,539 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:47,540 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:47,540 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:47,540 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:47,540 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:47,540 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:47,540 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:47,540 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:47,540 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:47,540 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:47,541 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:47,541 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:47,541 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:47,541 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:47,541 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:47,541 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:47,541 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:47,541 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:47,542 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:47,542 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:47,542 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:47,542 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:47,542 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:47,542 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:47,542 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:47,542 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:47,543 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:47,543 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:47,543 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:47,543 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:47,543 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:47,543 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:47,543 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:47,543 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:47,543 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:47,543 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:47,543 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:47,544 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:47,544 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:47,544 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:47,544 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:47,544 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:47,544 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:47,544 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:47,829 [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-14 08:28:49,703 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:49,703 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:49,704 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:49,705 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:49,706 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:49,706 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:49,706 [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-14 08:28:49,706 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:49,706 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:49,707 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:49,708 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:49,709 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:49,710 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:49,710 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:49,710 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:49,710 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:49,710 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:49,710 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:49,710 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:49,710 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:49,710 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:49,711 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:49,711 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:49,711 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:49,711 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:49,711 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:49,711 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:49,711 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:49,711 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:49,711 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:49,712 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:49,712 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:49,712 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:49,712 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:49,712 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:49,712 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:49,712 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:49,712 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:49,713 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:49,713 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:49,713 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:49,713 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:49,713 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:49,713 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:49,713 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:49,713 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:49,713 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:49,714 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:49,714 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:49,714 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:49,714 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:49,714 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:49,714 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:49,714 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:49,714 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:49,714 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:49,714 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:49,714 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:49,982 [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-14 08:28:51,682 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:51,682 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:51,682 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:51,682 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:51,682 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:51,682 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:51,682 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:51,682 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:51,682 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:51,682 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:51,683 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:51,684 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:51,685 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:51,685 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:51,685 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:51,685 [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-14 08:28:51,685 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:51,686 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:51,687 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:51,688 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:51,689 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:51,689 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:51,689 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:51,689 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:51,689 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:51,689 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:51,689 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:51,689 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:51,689 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:51,690 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:51,690 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:51,690 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:51,690 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:51,690 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:51,690 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:51,690 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:51,690 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:51,691 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:51,691 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:51,691 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:51,691 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:51,691 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:51,691 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:51,691 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:51,691 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:51,691 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:51,692 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:51,692 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:51,692 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:51,692 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:51,692 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:51,692 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:51,692 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:51,692 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:51,692 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:51,692 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:51,693 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:51,693 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:51,693 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:51,693 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:51,693 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:51,693 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:51,693 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:51,955 [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-14 08:28:53,729 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:53,729 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:53,729 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:53,729 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:53,729 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:53,729 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:53,729 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:53,729 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:53,729 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:53,729 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:53,730 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:53,730 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:53,730 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:53,730 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:53,730 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:53,730 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:53,730 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:53,730 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:53,730 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:53,730 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:53,730 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:53,731 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:53,731 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:53,731 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:53,731 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:53,731 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:53,731 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:53,731 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:53,731 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:53,731 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:53,731 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:53,731 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:53,732 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:53,733 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:53,734 [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-14 08:28:53,734 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:53,734 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:53,734 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:53,734 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:53,734 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:53,734 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:53,734 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:53,734 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:53,734 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:53,735 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:53,735 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:53,735 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:53,735 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:53,735 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:53,735 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:53,735 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:53,735 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:53,735 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:53,735 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:53,736 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:53,737 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:53,737 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:53,737 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:53,737 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:53,737 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:53,737 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:53,737 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:53,737 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:53,737 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:53,738 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:53,738 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:53,738 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:53,738 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:53,738 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:53,738 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:53,739 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:53,739 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:53,739 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:53,739 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:53,739 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:53,739 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:53,740 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:53,740 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:53,740 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:53,740 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:53,740 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:53,740 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:53,740 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:53,741 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:53,741 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:53,741 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:53,741 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:53,741 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:53,741 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:53,742 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:53,742 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:53,742 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:53,742 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:53,756 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:53,757 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:53,757 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:53,757 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:53,757 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:53,757 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:53,757 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:53,757 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:53,757 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:53,758 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:53,758 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:53,758 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:53,758 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:53,758 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:53,758 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:53,758 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:53,758 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:54,047 [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-14 08:28:55,606 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:55,606 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:55,606 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:55,607 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:55,608 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:55,609 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:55,609 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:55,609 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:55,609 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:55,609 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:55,609 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:55,609 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:55,609 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:55,609 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:55,609 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:55,609 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:55,610 [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-14 08:28:55,610 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:55,610 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:55,610 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:55,610 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:55,610 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:55,610 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:55,610 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:55,610 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:55,611 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:55,612 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:55,613 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:55,613 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:55,613 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:55,613 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:55,613 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:55,613 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:55,613 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:55,613 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:55,613 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:55,614 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:55,614 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:55,614 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:55,614 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:55,614 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:55,614 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:55,614 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:55,614 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:55,615 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:55,615 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:55,615 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:55,615 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:55,615 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:55,615 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:55,615 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:55,615 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:55,615 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:55,616 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:55,616 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:55,616 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:55,616 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:55,616 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:55,616 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:55,616 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:55,616 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:55,617 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:55,880 [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-14 08:28:57,720 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:57,720 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:57,720 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:57,720 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:57,720 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:57,721 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:57,722 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:57,723 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:57,723 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:57,723 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:57,723 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:57,723 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:57,723 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:57,723 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:57,723 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:57,723 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:57,724 [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-14 08:28:57,724 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:57,724 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:57,724 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:57,724 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:57,724 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:57,724 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:57,724 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:57,724 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:57,724 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:57,724 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:57,724 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:57,725 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:57,726 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:57,727 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:57,727 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:57,727 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:57,727 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:57,727 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:57,727 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:57,727 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:57,727 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:57,728 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:57,728 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:57,728 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:57,728 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:57,728 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:57,728 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:57,728 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:57,728 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:57,728 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:57,729 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:57,729 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:57,729 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:57,729 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:57,729 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:57,729 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:57,729 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:57,729 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:57,729 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:57,730 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:57,730 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:57,730 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:57,730 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:57,730 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:57,730 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:57,730 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:57,730 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:57,730 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:57,730 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:57,731 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:57,731 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:57,731 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:57,731 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:57,731 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:57,731 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:57,731 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:57,731 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:57,731 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:57,731 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:57,987 [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-14 08:28:59,673 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:28:59,673 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:28:59,674 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:28:59,675 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:28:59,676 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:28:59,676 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:28:59,676 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:28:59,676 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:28:59,676 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:28:59,676 [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-14 08:28:59,677 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:28:59,677 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:28:59,678 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:28:59,678 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:59,678 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:28:59,678 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:28:59,678 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:28:59,678 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:28:59,678 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:59,678 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:28:59,678 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:28:59,678 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:28:59,678 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:28:59,679 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:28:59,680 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:28:59,680 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:28:59,680 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:28:59,680 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:28:59,680 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:28:59,680 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:28:59,680 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:28:59,680 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:28:59,680 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:28:59,681 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:28:59,681 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:28:59,681 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:28:59,681 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:28:59,681 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:28:59,681 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:28:59,681 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:28:59,681 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:28:59,681 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:28:59,682 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:28:59,682 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:28:59,682 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:28:59,682 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:28:59,682 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:28:59,682 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:28:59,682 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:28:59,683 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:28:59,683 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:28:59,683 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:28:59,683 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:28:59,683 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:28:59,683 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:28:59,683 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:28:59,683 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:28:59,684 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:28:59,685 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:28:59,685 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:28:59,946 [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-14 08:29:01,684 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: command line args: [] 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: ================================================================================ 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: config_dir = [] 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: config_source = [] 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: coordination_url = **** 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: debug = True 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: log_file = None 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-10-14 08:29:01,685 [2] DEBUG gnocchi.service: use_journal = False 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: use_syslog = False 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: verbose = True 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: database.connection = **** 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-10-14 08:29:01,686 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: indexer.url = **** 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-10-14 08:29:01,687 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-10-14 08:29:01,688 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-10-14 08:29:01,688 [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-14 08:29:01,688 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-10-14 08:29:01,688 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: api.port = 8041 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: storage.driver = swift 2025-10-14 08:29:01,689 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-10-14 08:29:01,690 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-10-14 08:29:01,691 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-10-14 08:29:01,691 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-10-14 08:29:01,691 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-10-14 08:29:01,691 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-10-14 08:29:01,691 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-10-14 08:29:01,691 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-10-14 08:29:01,691 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-10-14 08:29:01,691 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-10-14 08:29:01,691 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-10-14 08:29:01,691 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-10-14 08:29:01,691 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-10-14 08:29:01,692 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-10-14 08:29:01,692 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-10-14 08:29:01,692 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-10-14 08:29:01,692 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-10-14 08:29:01,692 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-10-14 08:29:01,692 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-10-14 08:29:01,692 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-10-14 08:29:01,692 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-10-14 08:29:01,693 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-10-14 08:29:01,693 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-10-14 08:29:01,693 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-10-14 08:29:01,693 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-10-14 08:29:01,693 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-10-14 08:29:01,693 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-10-14 08:29:01,693 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-10-14 08:29:01,694 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-10-14 08:29:01,694 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-10-14 08:29:01,694 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-10-14 08:29:01,694 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.162:5000/v3 2025-10-14 08:29:01,694 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-10-14 08:29:01,694 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-10-14 08:29:01,694 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-10-14 08:29:01,695 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-10-14 08:29:01,695 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-10-14 08:29:01,695 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-10-14 08:29:01,695 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-10-14 08:29:01,695 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-10-14 08:29:01,695 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-10-14 08:29:01,695 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-10-14 08:29:01,695 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-10-14 08:29:01,696 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-10-14 08:29:01,696 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-10-14 08:29:01,696 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-10-14 08:29:01,696 [2] DEBUG gnocchi.service: statsd.creator = None 2025-10-14 08:29:01,696 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-10-14 08:29:01,696 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-10-14 08:29:01,696 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-10-14 08:29:01,696 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-10-14 08:29:01,696 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-10-14 08:29:01,696 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-10-14 08:29:01,696 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-10-14 08:29:01,697 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-10-14 08:29:01,697 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-10-14 08:29:01,697 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-10-14 08:29:01,697 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-10-14 08:29:01,961 [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)