2025-11-27 08:23:28,965 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:23:28,965 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:28,965 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:23:28,965 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:23:28,965 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:28,965 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:23:28,966 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:23:28,966 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:28,966 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:23:28,966 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:23:28,966 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:23:28,966 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:23:28,966 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:23:28,966 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:23:28,966 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:23:28,966 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:23:28,966 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:23:28,968 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:23:28,968 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:23:28,969 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:23:28,970 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:23:28,971 [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-11-27 08:23:28,971 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:23:28,971 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:23:28,971 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:23:28,971 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:23:28,971 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:23:28,971 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:23:28,971 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:23:28,972 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:23:28,973 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:23:28,974 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:23:28,974 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:23:28,974 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:23:28,974 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:28,974 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:23:28,974 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:23:28,974 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:23:28,974 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:23:28,974 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:23:28,974 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:23:28,978 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:28,978 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:23:28,981 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:23:28,981 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:23:28,981 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:23:28,981 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:28,981 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:23:28,981 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:23:28,982 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:23:28,982 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:23:28,982 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:23:28,982 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:23:28,982 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:28,982 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:23:28,982 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:23:28,982 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:23:28,982 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:23:28,983 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:23:28,983 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:23:28,983 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:23:28,983 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:23:28,983 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:23:28,983 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:23:28,983 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:23:28,983 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:23:28,984 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:29,316 [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-11-27 08:23:41,057 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:23:41,057 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:41,057 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:23:41,057 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:23:41,058 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:23:41,059 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:23:41,060 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:23:41,061 [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-11-27 08:23:41,061 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:23:41,061 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:23:41,061 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:23:41,061 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:23:41,061 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:23:41,062 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:23:41,063 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:23:41,064 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:23:41,064 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:23:41,064 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:23:41,064 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:23:41,064 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:23:41,064 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:23:41,064 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:23:41,064 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:41,064 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:23:41,064 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:23:41,064 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:23:41,065 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:23:41,065 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:23:41,065 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:23:41,065 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:41,065 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:23:41,065 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:23:41,065 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:23:41,065 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:23:41,065 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:41,066 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:23:41,066 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:23:41,066 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:23:41,066 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:23:41,066 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:23:41,066 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:23:41,066 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:41,066 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:23:41,067 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:23:41,067 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:23:41,067 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:23:41,067 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:23:41,067 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:23:41,067 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:23:41,067 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:23:41,067 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:23:41,068 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:23:41,068 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:23:41,068 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:23:41,068 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:23:41,068 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:23:41,068 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:23:41,068 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:23:41,068 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:23:41,068 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:23:41,068 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:23:41,069 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:23:41,069 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:23:41,069 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:23:41,069 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:23:41,069 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:23:41,069 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:23:41,069 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:41,361 [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-11-27 08:23:42,932 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:23:42,932 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:23:42,933 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:23:42,934 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:23:42,934 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:23:42,934 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:23:42,934 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:23:42,934 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:23:42,934 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:23:42,934 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:23:42,935 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:23:42,936 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:23:42,936 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:23:42,936 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:23:42,936 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:23:42,936 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:23:42,937 [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-11-27 08:23:42,937 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:23:42,937 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:23:42,937 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:23:42,937 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:23:42,937 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:23:42,937 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:23:42,937 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:23:42,937 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:42,937 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:23:42,937 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:23:42,937 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:23:42,937 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:23:42,938 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:23:42,939 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:23:42,939 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:42,939 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:23:42,940 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:23:42,940 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:23:42,940 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:23:42,940 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:23:42,940 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:23:42,940 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:23:42,940 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:23:42,941 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:23:42,941 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:23:42,941 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:23:42,941 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:23:42,941 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:23:42,942 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:42,942 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:23:42,942 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:23:42,942 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:23:42,943 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:23:42,943 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:23:42,943 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:23:42,943 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:42,943 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:23:42,943 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:23:42,944 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:23:42,944 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:23:42,944 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:42,944 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:23:42,944 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:23:42,944 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:23:42,944 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:23:42,944 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:23:42,944 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:23:42,945 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:42,945 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:23:42,945 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:23:42,945 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:23:42,945 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:23:42,945 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:23:42,945 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:23:42,945 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:23:42,945 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:23:42,946 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:23:42,946 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:23:42,946 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:23:42,946 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:23:42,946 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:23:42,946 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:23:42,946 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:23:42,946 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:23:42,946 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:23:42,946 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:23:42,947 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:23:42,947 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:23:42,947 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:23:42,947 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:23:42,947 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:23:42,947 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:23:42,947 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:23:42,947 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:43,237 [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-11-27 08:23:44,905 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:23:44,905 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:44,905 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:23:44,905 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:23:44,905 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:23:44,906 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:23:44,907 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:23:44,908 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:23:44,908 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:23:44,908 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:23:44,908 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:23:44,908 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:23:44,908 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:23:44,908 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:23:44,908 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:23:44,908 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:23:44,908 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:23:44,909 [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-11-27 08:23:44,909 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:23:44,909 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:23:44,909 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:23:44,909 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:23:44,909 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:23:44,909 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:23:44,909 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:23:44,909 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:44,910 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:23:44,911 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:23:44,912 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:23:44,912 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:23:44,912 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:23:44,912 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:23:44,912 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:23:44,912 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:23:44,912 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:44,912 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:23:44,912 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:23:44,912 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:23:44,913 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:23:44,913 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:23:44,913 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:23:44,913 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:44,913 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:23:44,913 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:23:44,913 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:23:44,913 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:23:44,913 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:44,914 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:23:44,914 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:23:44,914 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:23:44,914 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:23:44,914 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:23:44,914 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:23:44,914 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:44,914 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:23:44,915 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:23:44,915 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:23:44,915 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:23:44,915 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:23:44,915 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:23:44,915 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:23:44,915 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:23:44,915 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:23:44,916 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:23:44,917 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:23:44,917 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:23:44,917 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:23:44,917 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:23:44,917 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:45,190 [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-11-27 08:23:47,067 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:23:47,067 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:23:47,068 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:23:47,069 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:23:47,070 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:23:47,070 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:23:47,070 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:23:47,070 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:23:47,070 [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-11-27 08:23:47,071 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:23:47,071 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:23:47,072 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:23:47,073 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:23:47,074 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:47,074 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:23:47,074 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:23:47,074 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:23:47,074 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:23:47,074 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:23:47,074 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:23:47,074 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:47,075 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:23:47,075 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:23:47,075 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:23:47,075 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:23:47,075 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:47,075 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:23:47,075 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:23:47,075 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:23:47,076 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:23:47,076 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:23:47,076 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:23:47,076 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:47,076 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:23:47,076 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:23:47,076 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:23:47,076 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:23:47,077 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:23:47,077 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:23:47,077 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:23:47,077 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:23:47,077 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:23:47,077 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:23:47,077 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:23:47,077 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:23:47,078 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:47,356 [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-11-27 08:23:49,020 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:23:49,021 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:23:49,022 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:23:49,023 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:23:49,024 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-11-27 08:23:49,024 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:23:49,024 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:23:49,025 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:49,026 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:23:49,026 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:23:49,026 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:23:49,026 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:23:49,026 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:49,026 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:23:49,026 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:23:49,026 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:23:49,026 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:23:49,026 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:23:49,027 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:23:49,027 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:49,027 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:23:49,027 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:23:49,027 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:23:49,027 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:23:49,027 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:23:49,027 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:23:49,027 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:23:49,027 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:23:49,028 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:23:49,028 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:23:49,028 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:23:49,028 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:23:49,028 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:23:49,028 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:49,028 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:23:49,029 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:23:49,029 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:23:49,029 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:23:49,029 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:23:49,029 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:23:49,030 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:49,030 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:23:49,030 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:23:49,030 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:23:49,030 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:23:49,030 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:49,031 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:23:49,031 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:23:49,031 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:23:49,031 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:23:49,031 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:23:49,032 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:23:49,032 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:49,032 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:23:49,032 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:23:49,033 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:23:49,033 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:23:49,033 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:23:49,033 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:23:49,033 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:23:49,034 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:23:49,034 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:23:49,034 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:23:49,034 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:23:49,034 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:23:49,035 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:23:49,035 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:23:49,035 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:23:49,035 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:23:49,035 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:23:49,035 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:23:49,035 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:23:49,035 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:23:49,036 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:23:49,036 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:23:49,036 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:23:49,036 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:23:49,036 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:23:49,036 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:49,325 [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-11-27 08:23:51,021 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:23:51,022 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:23:51,023 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:23:51,024 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:23:51,025 [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-11-27 08:23:51,025 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:23:51,025 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:23:51,025 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:23:51,025 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:23:51,025 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:23:51,025 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:51,026 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:23:51,027 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:23:51,028 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:23:51,028 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:23:51,028 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:23:51,028 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:23:51,028 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:51,028 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:23:51,028 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:23:51,028 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:23:51,028 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:23:51,028 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:23:51,029 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:23:51,029 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:51,029 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:23:51,029 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:23:51,029 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:23:51,029 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:23:51,029 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:51,029 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:23:51,029 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:23:51,030 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:23:51,030 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:23:51,030 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:23:51,030 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:23:51,030 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:51,030 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:23:51,030 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:23:51,030 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:23:51,030 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:23:51,031 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:23:51,031 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:23:51,031 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:23:51,031 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:23:51,031 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:23:51,031 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:23:51,031 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:23:51,031 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:23:51,032 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:51,295 [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-11-27 08:23:53,001 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:23:53,001 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:53,001 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:23:53,001 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:23:53,001 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:53,001 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:23:53,001 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:23:53,001 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:53,001 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:23:53,001 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:23:53,001 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:23:53,002 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:23:53,003 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:23:53,004 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:23:53,004 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:23:53,004 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:23:53,004 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:23:53,004 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:23:53,004 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:23:53,005 [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-11-27 08:23:53,005 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:23:53,005 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:23:53,005 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:23:53,005 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:23:53,005 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:23:53,005 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:23:53,005 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:23:53,005 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:53,005 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:23:53,005 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:23:53,006 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:23:53,007 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:23:53,008 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:23:53,008 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:53,008 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:23:53,008 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:23:53,008 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:23:53,008 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:23:53,008 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:23:53,008 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:23:53,009 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:53,009 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:23:53,009 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:23:53,009 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:23:53,009 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:23:53,009 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:53,009 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:23:53,009 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:23:53,009 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:23:53,010 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:23:53,010 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:23:53,010 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:23:53,010 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:53,010 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:23:53,010 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:23:53,010 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:23:53,010 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:23:53,011 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:23:53,011 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:23:53,011 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:23:53,011 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:23:53,011 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:23:53,011 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:23:53,011 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:23:53,011 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:23:53,012 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:23:53,013 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:53,287 [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-11-27 08:23:55,212 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:23:55,212 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:23:55,213 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:23:55,214 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:23:55,215 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:23:55,215 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:23:55,215 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:23:55,215 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:23:55,215 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:23:55,215 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:23:55,215 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:23:55,215 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:23:55,215 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:23:55,215 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:23:55,215 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:23:55,216 [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-11-27 08:23:55,216 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:23:55,216 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:23:55,216 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:23:55,216 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:23:55,216 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:23:55,216 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:23:55,216 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:23:55,216 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:55,216 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:23:55,217 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:23:55,218 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:23:55,219 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:55,219 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:23:55,219 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:23:55,219 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:23:55,219 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:23:55,219 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:23:55,219 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:23:55,219 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:55,220 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:23:55,220 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:23:55,220 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:23:55,220 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:23:55,220 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:55,220 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:23:55,220 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:23:55,220 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:23:55,220 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:23:55,221 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:23:55,221 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:23:55,221 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:55,221 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:23:55,221 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:23:55,221 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:23:55,221 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:23:55,221 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:23:55,222 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:23:55,222 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:23:55,222 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:23:55,222 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:23:55,222 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:23:55,222 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:23:55,222 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:23:55,222 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:23:55,222 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:23:55,222 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:23:55,223 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:23:55,223 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:23:55,223 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:23:55,223 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:23:55,223 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:23:55,223 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:23:55,223 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:23:55,223 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:23:55,223 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:23:55,223 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:23:55,223 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:55,503 [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-11-27 08:23:57,182 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:23:57,182 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:57,182 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:23:57,182 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:23:57,182 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:57,182 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:23:57,182 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:23:57,183 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:23:57,184 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:23:57,185 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:23:57,185 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:23:57,185 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:23:57,185 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:23:57,185 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:23:57,185 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:23:57,186 [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-11-27 08:23:57,186 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:23:57,186 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:23:57,187 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:23:57,188 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:57,189 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:23:57,189 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:23:57,189 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:23:57,189 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:23:57,189 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:23:57,189 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:23:57,189 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:57,189 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:23:57,189 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:23:57,190 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:23:57,190 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:23:57,190 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:57,190 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:23:57,190 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:23:57,190 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:23:57,190 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:23:57,190 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:23:57,191 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:23:57,191 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:57,191 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:23:57,191 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:23:57,191 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:23:57,191 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:23:57,191 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:23:57,191 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:23:57,191 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:23:57,192 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:23:57,192 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:23:57,192 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:23:57,192 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:23:57,192 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:23:57,192 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:23:57,192 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:23:57,192 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:23:57,192 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:23:57,192 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:23:57,192 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:23:57,193 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:23:57,193 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:23:57,193 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:23:57,193 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:23:57,193 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:23:57,193 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:23:57,193 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:23:57,193 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:57,464 [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-11-27 08:23:59,152 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:23:59,152 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:59,152 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:23:59,152 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:23:59,152 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:23:59,153 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:23:59,154 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:23:59,155 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:23:59,156 [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-11-27 08:23:59,156 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:23:59,156 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:23:59,156 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:23:59,156 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:23:59,157 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:23:59,158 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:23:59,159 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:23:59,160 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:23:59,160 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:23:59,160 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:23:59,160 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:23:59,160 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:23:59,160 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:23:59,160 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:23:59,160 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:23:59,161 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:23:59,161 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:23:59,161 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:23:59,161 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:23:59,161 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:23:59,161 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:23:59,161 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:23:59,161 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:23:59,162 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:23:59,162 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:23:59,162 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:23:59,162 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:23:59,162 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:23:59,162 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:23:59,162 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:23:59,163 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:23:59,163 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:23:59,163 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:23:59,163 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:23:59,163 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:23:59,163 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:23:59,163 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:23:59,164 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:23:59,164 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:23:59,164 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:23:59,164 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:23:59,164 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:23:59,164 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:23:59,164 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:23:59,164 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:23:59,164 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:23:59,164 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:23:59,164 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:23:59,165 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:23:59,165 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:23:59,165 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:23:59,440 [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-11-27 08:24:01,267 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:01,267 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:01,268 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:01,269 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:01,270 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:01,270 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:01,270 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:01,270 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:01,270 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:01,270 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:01,270 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:01,271 [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-11-27 08:24:01,271 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:01,271 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:01,271 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:01,271 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:01,271 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:01,271 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:01,271 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:01,271 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:01,271 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:01,271 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:01,271 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:01,271 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:01,272 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:01,273 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:01,274 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:01,274 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:01,274 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:01,274 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:01,274 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:01,274 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:01,274 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:01,274 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:01,275 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:01,275 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:01,275 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:01,275 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:01,275 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:01,275 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:01,275 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:01,275 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:01,275 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:01,276 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:01,276 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:01,276 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:01,276 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:01,276 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:01,276 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:01,276 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:01,276 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:01,277 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:01,277 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:01,277 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:01,277 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:01,277 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:01,277 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:01,277 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:01,277 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:01,277 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:01,278 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:01,555 [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-11-27 08:24:03,511 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:03,512 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:03,513 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:03,514 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:03,515 [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-11-27 08:24:03,515 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:03,515 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:03,515 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:03,515 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:03,515 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:03,515 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:03,515 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:03,516 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:03,517 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:03,518 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:03,518 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:03,518 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:03,518 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:03,518 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:03,518 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:03,518 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:03,518 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:03,518 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:03,519 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:03,519 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:03,519 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:03,519 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:03,519 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:03,519 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:03,519 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:03,519 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:03,519 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:03,520 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:03,520 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:03,520 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:03,520 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:03,520 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:03,520 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:03,520 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:03,520 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:03,520 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:03,521 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:03,521 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:03,521 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:03,521 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:03,521 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:03,521 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:03,521 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:03,521 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:03,521 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:03,522 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:03,785 [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-11-27 08:24:05,456 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:05,456 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:05,456 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:05,456 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:05,456 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:05,456 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:05,456 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:05,456 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:05,456 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:05,457 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:05,458 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:05,459 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:05,459 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:05,459 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:05,459 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:05,459 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:05,459 [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-11-27 08:24:05,459 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:05,460 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:05,461 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:05,462 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:05,463 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:05,463 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:05,463 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:05,463 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:05,463 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:05,463 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:05,463 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:05,463 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:05,463 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:05,463 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:05,464 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:05,464 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:05,464 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:05,464 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:05,464 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:05,464 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:05,464 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:05,464 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:05,465 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:05,465 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:05,465 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:05,465 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:05,465 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:05,465 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:05,465 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:05,465 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:05,465 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:05,466 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:05,467 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:05,467 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:05,467 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:05,467 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:05,732 [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-11-27 08:24:07,655 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:07,656 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:07,657 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:07,657 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:07,657 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:07,657 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:07,657 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:07,658 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:07,658 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:07,658 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:07,658 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:07,658 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:07,658 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:07,658 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:07,658 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:07,658 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:07,658 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:07,659 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:07,659 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:07,659 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:07,659 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:07,659 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:07,660 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:07,660 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:07,660 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:07,660 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:07,661 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:07,661 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:07,661 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:07,661 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:07,661 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:07,661 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:07,661 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:07,662 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:07,662 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:07,662 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:07,662 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:07,662 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:07,662 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:07,662 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:07,663 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:07,663 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:07,663 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:07,663 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:07,663 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:07,663 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:07,665 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-11-27 08:24:07,665 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:07,665 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:07,665 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:07,665 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:07,666 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:07,666 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:07,666 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:07,666 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:07,666 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:07,666 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:07,666 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:07,667 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:07,667 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:07,667 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:07,667 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:07,667 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:07,667 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:07,668 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:07,668 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:07,668 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:07,668 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:07,668 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:07,668 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:07,668 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:07,669 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:07,669 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:07,669 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:07,669 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:07,669 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:07,669 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:07,670 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:07,670 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:07,670 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:07,670 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:07,670 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:07,670 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:07,671 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:07,671 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:07,671 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:07,671 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:07,671 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:07,672 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:07,672 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:07,672 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:07,673 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:07,673 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:07,673 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:07,673 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:07,674 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:07,674 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:07,674 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:07,674 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:07,675 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:07,675 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:07,675 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:07,675 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:07,676 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:07,676 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:07,676 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:07,677 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:07,677 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:07,677 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:07,677 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:07,678 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:07,678 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:07,678 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:07,679 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:07,679 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:07,679 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:07,679 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:07,680 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:07,680 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:07,680 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:07,680 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:07,681 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:07,681 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:07,681 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:07,681 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:07,681 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:07,681 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:07,682 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:07,682 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:07,682 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:07,682 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:07,682 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:07,682 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:07,972 [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-11-27 08:24:09,697 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:09,698 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:09,699 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:09,700 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:09,701 [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-11-27 08:24:09,701 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:09,701 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:09,701 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:09,701 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:09,701 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:09,701 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:09,701 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:09,702 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:09,703 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:09,704 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:09,704 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:09,704 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:09,704 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:09,704 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:09,704 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:09,704 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:09,704 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:09,704 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:09,705 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:09,705 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:09,705 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:09,705 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:09,705 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:09,705 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:09,705 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:09,705 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:09,705 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:09,705 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:09,706 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:09,706 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:09,706 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:09,706 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:09,706 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:09,706 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:09,706 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:09,707 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:09,707 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:09,707 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:09,707 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:09,707 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:09,707 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:09,707 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:09,707 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:09,707 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:09,708 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:09,709 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:09,709 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:09,709 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:10,006 [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-11-27 08:24:11,837 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:11,837 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:11,838 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:11,839 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:11,840 [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-11-27 08:24:11,840 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:11,840 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:11,840 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:11,840 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:11,840 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:11,841 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:11,842 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:11,843 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:11,843 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:11,843 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:11,843 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:11,843 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:11,843 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:11,843 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:11,843 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:11,843 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:11,843 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:11,844 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:11,844 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:11,844 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:11,844 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:11,844 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:11,844 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:11,844 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:11,844 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:11,844 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:11,845 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:11,845 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:11,845 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:11,845 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:11,845 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:11,845 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:11,845 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:11,845 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:11,845 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:11,846 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:11,846 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:11,846 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:11,846 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:11,846 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:11,846 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:11,846 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:11,846 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:11,846 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:11,847 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:12,127 [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-11-27 08:24:13,720 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:13,720 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:13,720 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:13,720 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:13,720 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:13,720 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:13,720 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:13,720 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:13,720 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:13,721 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:13,722 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:13,723 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:13,723 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:13,723 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:13,723 [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-11-27 08:24:13,723 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:13,724 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:13,725 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:13,726 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:13,727 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:13,727 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:13,727 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:13,727 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:13,727 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:13,727 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:13,727 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:13,727 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:13,728 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:13,728 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:13,728 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:13,728 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:13,728 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:13,728 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:13,728 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:13,728 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:13,728 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:13,729 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:13,729 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:13,729 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:13,729 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:13,729 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:13,729 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:13,729 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:13,729 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:13,729 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:13,730 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:13,731 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:13,731 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:13,731 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:13,731 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:13,731 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:14,009 [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-11-27 08:24:15,916 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:15,917 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:15,918 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:15,919 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:15,920 [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-11-27 08:24:15,920 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:15,920 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:15,920 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:15,920 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:15,920 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:15,920 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:15,920 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:15,920 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:15,921 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:15,922 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:15,923 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:15,923 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:15,923 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:15,923 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:15,923 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:15,923 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:15,923 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:15,923 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:15,923 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:15,924 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:15,924 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:15,924 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:15,924 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:15,924 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:15,924 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:15,924 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:15,925 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:15,925 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:15,925 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:15,925 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:15,925 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:15,925 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:15,925 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:15,925 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:15,926 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:15,926 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:15,926 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:15,926 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:15,926 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:15,926 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:15,926 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:15,926 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:15,926 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:15,927 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:15,928 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:16,200 [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-11-27 08:24:18,016 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:18,018 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:18,018 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:18,018 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:18,018 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:18,018 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:18,018 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:18,018 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:18,018 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:18,018 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:18,018 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:18,018 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:18,019 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:18,019 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:18,019 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:18,019 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:18,019 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:18,019 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:18,019 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:18,019 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:18,019 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:18,019 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:18,020 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:18,020 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:18,020 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:18,020 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:18,020 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:18,020 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:18,020 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:18,020 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:18,020 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:18,021 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:18,021 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:18,021 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:18,021 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:18,021 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:18,021 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:18,021 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:18,021 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:18,021 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:18,021 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:18,022 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:18,022 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:18,022 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:18,022 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:18,022 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:18,024 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-11-27 08:24:18,025 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:18,025 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:18,025 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:18,025 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:18,025 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:18,025 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:18,025 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:18,025 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:18,026 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:18,026 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:18,026 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:18,026 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:18,026 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:18,026 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:18,026 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:18,026 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:18,026 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:18,026 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:18,027 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:18,027 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:18,027 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:18,027 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:18,027 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:18,027 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:18,027 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:18,027 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:18,027 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:18,027 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:18,028 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:18,028 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:18,028 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:18,028 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:18,028 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:18,028 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:18,028 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:18,028 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:18,028 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:18,029 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:18,029 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:18,029 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:18,029 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:18,029 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:18,029 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:18,030 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:18,030 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:18,030 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:18,030 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:18,030 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:18,030 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:18,031 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:18,031 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:18,031 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:18,031 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:18,031 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:18,031 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:18,032 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:18,032 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:18,032 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:18,032 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:18,032 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:18,032 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:18,033 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:18,033 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:18,033 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:18,033 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:18,033 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:18,034 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:18,034 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:18,034 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:18,034 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:18,034 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:18,035 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:18,035 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:18,035 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:18,035 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:18,035 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:18,035 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:18,035 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:18,035 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:18,036 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:18,036 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:18,036 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:18,036 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:18,036 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:18,036 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:18,036 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:18,458 [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-11-27 08:24:20,160 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:20,161 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:20,161 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:20,161 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:20,161 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:20,161 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:20,161 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:20,162 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:20,162 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:20,162 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:20,162 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:20,162 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:20,162 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:20,162 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:20,162 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:20,162 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:20,162 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:20,162 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:20,163 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:20,163 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:20,163 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:20,163 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:20,163 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:20,163 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:20,163 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:20,163 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:20,163 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:20,163 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:20,164 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:20,164 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:20,164 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:20,164 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:20,164 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:20,164 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:20,164 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:20,164 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:20,164 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:20,164 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:20,165 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:20,165 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:20,165 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:20,165 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:20,165 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:20,165 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:20,165 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:20,165 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:20,166 [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-11-27 08:24:20,166 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:20,166 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:20,166 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:20,167 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:20,167 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:20,167 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:20,167 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:20,167 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:20,167 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:20,167 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:20,167 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:20,167 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:20,167 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:20,168 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:20,168 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:20,168 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:20,168 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:20,168 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:20,168 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:20,168 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:20,168 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:20,168 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:20,168 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:20,169 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:20,169 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:20,169 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:20,169 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:20,169 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:20,169 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:20,169 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:20,170 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:20,170 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:20,170 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:20,170 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:20,170 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:20,170 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:20,170 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:20,170 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:20,170 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:20,170 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:20,171 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:20,171 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:20,171 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:20,171 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:20,171 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:20,172 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:20,172 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:20,172 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:20,172 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:20,172 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:20,172 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:20,173 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:20,173 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:20,173 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:20,173 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:20,173 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:20,174 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:20,174 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:20,174 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:20,174 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:20,174 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:20,174 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:20,175 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:20,175 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:20,175 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:20,175 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:20,175 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:20,175 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:20,175 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:20,176 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:20,176 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:20,176 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:20,176 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:20,176 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:20,176 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:20,176 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:20,177 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:20,177 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:20,177 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:20,177 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:20,177 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:20,177 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:20,177 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:20,177 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:20,177 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:20,177 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:20,532 [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-11-27 08:24:22,220 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:22,220 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:22,220 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:22,220 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:22,220 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:22,220 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:22,221 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:22,222 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:22,223 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:22,223 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:22,223 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:22,223 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:22,223 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:22,223 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:22,223 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:22,223 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:22,223 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:22,224 [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-11-27 08:24:22,224 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:22,224 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:22,224 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:22,224 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:22,224 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:22,224 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:22,224 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:22,225 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:22,225 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:22,225 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:22,225 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:22,225 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:22,225 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:22,228 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:22,228 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:22,228 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:22,228 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:22,228 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:22,228 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:22,229 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:22,229 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:22,229 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:22,229 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:22,229 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:22,229 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:22,229 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:22,230 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:22,230 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:22,230 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:22,230 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:22,230 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:22,230 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:22,231 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:22,231 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:22,231 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:22,231 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:22,231 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:22,231 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:22,231 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:22,232 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:22,232 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:22,232 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:22,232 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:22,233 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:22,233 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:22,233 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:22,234 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:22,234 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:22,234 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:22,234 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:22,235 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:22,235 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:22,235 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:22,235 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:22,236 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:22,236 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:22,236 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:22,237 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:22,237 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:22,237 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:22,237 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:22,238 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:22,238 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:22,238 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:22,238 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:22,239 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:22,239 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:22,239 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:22,239 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:22,240 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:22,240 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:22,240 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:22,240 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:22,241 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:22,241 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:22,241 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:22,241 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:22,241 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:22,241 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:22,242 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:22,242 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:22,242 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:22,242 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:22,242 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:22,242 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:22,243 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:22,548 [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-11-27 08:24:24,159 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:24,159 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:24,159 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:24,159 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:24,159 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:24,159 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:24,159 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:24,159 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:24,159 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:24,159 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:24,159 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:24,160 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:24,161 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:24,162 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:24,162 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:24,162 [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-11-27 08:24:24,162 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:24,162 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:24,162 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:24,163 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:24,164 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:24,165 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:24,166 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:24,166 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:24,166 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:24,166 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:24,166 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:24,166 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:24,166 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:24,166 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:24,166 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:24,167 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:24,167 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:24,167 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:24,167 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:24,167 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:24,167 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:24,167 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:24,168 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:24,168 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:24,168 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:24,168 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:24,168 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:24,168 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:24,168 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:24,168 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:24,168 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:24,169 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:24,170 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:24,170 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:24,170 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:24,170 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:24,441 [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-11-27 08:24:26,289 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:26,289 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:26,289 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:26,289 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:26,289 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:26,289 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:26,289 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:26,290 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:26,291 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:26,292 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:26,292 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:26,292 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:26,292 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:26,292 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:26,292 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:26,292 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:26,292 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:26,292 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:26,293 [2] WARNING oslo_config.cfg: Deprecated: Option "enable_proxy_headers_parsing" from group "oslo_middleware" is deprecated. Use option "enable_proxy_headers_parsing" from group "api". 2025-11-27 08:24:26,293 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:26,293 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:26,293 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:26,293 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:26,293 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:26,293 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:26,293 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:26,293 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:26,293 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:26,294 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:26,295 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:26,296 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:26,296 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:26,296 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:26,296 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:26,296 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:26,296 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:26,296 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:26,296 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:26,296 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:26,297 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:26,297 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:26,297 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:26,297 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:26,297 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:26,297 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:26,297 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:26,297 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:26,298 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:26,298 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:26,298 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:26,298 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:26,298 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:26,298 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:26,298 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:26,298 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:26,299 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:26,299 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:26,299 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:26,299 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:26,299 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:26,299 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:26,299 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:26,299 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:26,300 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:26,301 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:26,301 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:26,301 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:26,594 [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-11-27 08:24:28,268 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:28,268 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:28,269 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:28,270 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:28,271 [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-11-27 08:24:28,271 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:28,271 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:28,271 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:28,271 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:28,272 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:28,273 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:28,274 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:28,274 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:28,274 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:28,274 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:28,274 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:28,274 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:28,274 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:28,274 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:28,274 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:28,274 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:28,275 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:28,275 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:28,275 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:28,275 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:28,275 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:28,275 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:28,275 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:28,275 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:28,275 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:28,276 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:28,276 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:28,276 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:28,276 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:28,276 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:28,276 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:28,276 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:28,276 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:28,277 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:28,277 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:28,277 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:28,277 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:28,277 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:28,277 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:28,277 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:28,278 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:28,278 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:28,278 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:28,278 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:28,278 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:28,278 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:28,278 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:28,278 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:28,278 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:28,278 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:28,279 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:28,279 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:28,279 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:28,279 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:28,279 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:28,279 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:28,279 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:28,562 [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-11-27 08:24:30,341 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:30,341 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:30,341 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:30,342 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:30,343 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:30,344 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:30,344 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:30,344 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:30,344 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:30,344 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:30,344 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:30,344 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:30,344 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:30,344 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:30,344 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:30,344 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:30,345 [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-11-27 08:24:30,345 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:30,345 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:30,345 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:30,345 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:30,345 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:30,345 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:30,345 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:30,345 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:30,345 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:30,345 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:30,346 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:30,347 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:30,348 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:30,348 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:30,348 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:30,348 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:30,348 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:30,348 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:30,348 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:30,348 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:30,348 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:30,349 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:30,349 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:30,349 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:30,349 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:30,349 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:30,349 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:30,349 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:30,349 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:30,349 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:30,350 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:30,350 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:30,350 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:30,350 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:30,350 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:30,350 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:30,350 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:30,350 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:30,351 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:30,351 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:30,351 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:30,351 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:30,351 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:30,351 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:30,351 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:30,351 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:30,351 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:30,352 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:30,352 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:30,352 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:30,352 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:30,352 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:30,352 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:30,352 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:30,352 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:30,352 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:30,352 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:30,352 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:30,625 [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-11-27 08:24:32,473 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:32,473 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:32,473 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:32,473 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:32,473 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:32,473 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:32,473 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:32,473 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:32,473 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:32,473 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:32,473 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:32,473 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:32,474 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:32,475 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:32,476 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:32,476 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:32,476 [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-11-27 08:24:32,476 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:32,476 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:32,476 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:32,477 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:32,478 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:32,479 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:32,479 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:32,479 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:32,479 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:32,479 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:32,479 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:32,479 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:32,479 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:32,479 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:32,479 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:32,480 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:32,480 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:32,480 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:32,480 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:32,480 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:32,480 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:32,480 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:32,480 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:32,480 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:32,481 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:32,481 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:32,481 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:32,481 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:32,481 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:32,481 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:32,481 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:32,481 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:32,482 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:32,482 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:32,482 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:32,482 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:32,482 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:32,482 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:32,482 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:32,482 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:32,483 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:32,484 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:32,484 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:32,484 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:32,484 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:32,484 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:32,484 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:32,753 [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-11-27 08:24:34,450 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:34,450 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:34,450 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:34,450 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:34,450 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:34,450 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:34,450 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:34,450 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:34,450 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:34,450 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:34,451 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:34,452 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:34,453 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:34,453 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:34,453 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:34,453 [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-11-27 08:24:34,454 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:34,454 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:34,455 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:34,456 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:34,457 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:34,457 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:34,457 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:34,457 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:34,457 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:34,457 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:34,457 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:34,457 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:34,457 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:34,458 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:34,458 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:34,458 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:34,458 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:34,458 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:34,458 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:34,458 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:34,458 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:34,458 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:34,459 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:34,459 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:34,459 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:34,459 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:34,459 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:34,459 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:34,459 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:34,459 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:34,460 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:34,461 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:34,461 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:34,461 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:34,461 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:34,461 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:34,461 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:34,758 [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-11-27 08:24:36,748 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:36,748 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:36,749 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:36,750 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:36,751 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:36,752 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:36,752 [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-11-27 08:24:36,752 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:36,752 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:36,752 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:36,752 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:36,753 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:36,754 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:36,755 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:36,755 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:36,755 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:36,755 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:36,755 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:36,755 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:36,755 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:36,755 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:36,755 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:36,755 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:36,756 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:36,756 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:36,756 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:36,756 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:36,756 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:36,756 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:36,756 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:36,756 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:36,756 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:36,757 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:36,757 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:36,757 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:36,757 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:36,757 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:36,757 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:36,757 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:36,757 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:36,758 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:36,758 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:36,758 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:36,758 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:36,758 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:36,758 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:36,758 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:36,758 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:36,759 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:36,759 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:36,759 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:36,759 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:36,759 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:36,759 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:36,759 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:36,759 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:36,759 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:36,760 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:37,033 [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-11-27 08:24:38,620 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:38,621 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:38,622 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:38,623 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:38,624 [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-11-27 08:24:38,624 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:38,624 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:38,624 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:38,624 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:38,624 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:38,624 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:38,624 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:38,625 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:38,626 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:38,627 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:38,627 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:38,627 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:38,627 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:38,627 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:38,627 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:38,627 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:38,627 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:38,627 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:38,627 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:38,628 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:38,628 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:38,628 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:38,628 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:38,628 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:38,628 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:38,628 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:38,628 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:38,628 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:38,629 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:38,629 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:38,629 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:38,629 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:38,629 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:38,629 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:38,629 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:38,629 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:38,629 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:38,630 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:38,630 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:38,630 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:38,630 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:38,630 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:38,630 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:38,630 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:38,630 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:38,631 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:38,632 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:38,909 [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-11-27 08:24:40,469 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:40,469 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:40,470 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:40,471 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:40,472 [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-11-27 08:24:40,472 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:40,472 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:40,472 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:40,472 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:40,472 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:40,472 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:40,473 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:40,474 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:40,475 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:40,475 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:40,475 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:40,475 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:40,475 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:40,475 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:40,475 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:40,475 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:40,475 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:40,475 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:40,475 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:40,476 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:40,476 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:40,476 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:40,476 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:40,476 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:40,476 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:40,476 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:40,476 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:40,476 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:40,477 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:40,477 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:40,477 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:40,477 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:40,477 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:40,477 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:40,477 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:40,477 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:40,478 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:40,478 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:40,478 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:40,478 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:40,478 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:40,478 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:40,478 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:40,478 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:40,478 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:40,479 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:40,744 [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-11-27 08:24:42,511 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:42,511 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:42,511 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:42,511 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:42,512 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:42,513 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:42,514 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:42,514 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:42,514 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:42,514 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:42,514 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:42,514 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:42,514 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:42,514 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:42,514 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:42,514 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:42,515 [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-11-27 08:24:42,515 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:42,515 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:42,515 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:42,515 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:42,515 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:42,515 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:42,515 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:42,515 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:42,515 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:42,515 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:42,516 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:42,517 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:42,518 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:42,518 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:42,518 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:42,518 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:42,518 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:42,518 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:42,518 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:42,518 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:42,518 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:42,519 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:42,519 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:42,519 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:42,519 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:42,519 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:42,519 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:42,519 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:42,519 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:42,519 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:42,520 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:42,520 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:42,520 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:42,520 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:42,520 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:42,520 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:42,520 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:42,520 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:42,521 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:42,521 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:42,521 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:42,521 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:42,521 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:42,521 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:42,521 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:42,521 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:42,521 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:42,522 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:42,795 [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-11-27 08:24:44,455 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:44,456 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:44,457 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:44,458 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:44,459 [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-11-27 08:24:44,459 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:44,459 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:44,459 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:44,459 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:44,459 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:44,460 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:44,461 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:44,462 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:44,462 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:44,462 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:44,462 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:44,462 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:44,462 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:44,462 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:44,462 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:44,462 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:44,462 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:44,462 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:44,463 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:44,463 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:44,463 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:44,463 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:44,463 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:44,463 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:44,463 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:44,463 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:44,464 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:44,464 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:44,464 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:44,464 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:44,464 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:44,464 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:44,464 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:44,464 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:44,464 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:44,465 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:44,465 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:44,465 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:44,465 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:44,465 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:44,465 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:44,466 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:44,466 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:44,466 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:44,466 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:44,466 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:44,466 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:44,466 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:44,466 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:44,466 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:44,466 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:44,467 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:44,467 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:44,467 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:44,467 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:44,467 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:44,467 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:44,467 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:44,467 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:44,467 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:44,467 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:44,740 [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-11-27 08:24:46,444 [2] INFO gnocchi.service: Gnocchi version 4.4.6.dev2+gff96e73d 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: Configuration options gathered from: 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: command line args: [] 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: config files: ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: ================================================================================ 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: config_dir = [] 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: config_file = ['/usr/share/gnocchi/gnocchi-dist.conf', '/etc/gnocchi/gnocchi.conf'] 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: config_source = [] 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: coordination_url = **** 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: debug = True 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: log_dir = /var/log/gnocchi 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: log_file = None 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: parallel_operations = 8 2025-11-27 08:24:46,445 [2] DEBUG gnocchi.service: syslog_log_facility = user 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: use_journal = False 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: use_syslog = False 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: verbose = True 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: database.backend = sqlalchemy 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: database.connection = **** 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: database.connection_debug = 0 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: database.connection_parameters = 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: database.connection_recycle_time = 3600 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: database.connection_trace = False 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: database.db_inc_retry_interval = True 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: database.db_max_retries = 20 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: database.db_max_retry_interval = 10 2025-11-27 08:24:46,446 [2] DEBUG gnocchi.service: database.db_retry_interval = 1 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: database.max_overflow = 50 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: database.max_pool_size = 5 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: database.max_retries = 10 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: database.mysql_enable_ndb = False 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: database.pool_timeout = None 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: database.retry_interval = 10 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: database.slave_connection = **** 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: database.sqlite_synchronous = True 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: database.use_db_reconnect = False 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: indexer.url = **** 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: metricd.greedy = True 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: metricd.metric_processing_delay = 30 2025-11-27 08:24:46,447 [2] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120 2025-11-27 08:24:46,448 [2] DEBUG gnocchi.service: metricd.processing_replicas = 3 2025-11-27 08:24:46,448 [2] DEBUG gnocchi.service: metricd.workers = 1 2025-11-27 08:24:46,448 [2] DEBUG gnocchi.service: api.auth_mode = keystone 2025-11-27 08:24:46,448 [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-11-27 08:24:46,448 [2] DEBUG gnocchi.service: api.enable_proxy_headers_parsing = True 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: api.host = 0.0.0.0 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: api.max_limit = 1000 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: api.operation_timeout = 10 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: api.paste_config = api-paste.ini 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: api.port = 8041 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: api.uwsgi_mode = http 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: storage.ceph_keyring = None 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: storage.ceph_pool = gnocchi 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: storage.ceph_secret = **** 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: storage.ceph_timeout = 30 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: storage.ceph_username = None 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: storage.driver = swift 2025-11-27 08:24:46,449 [2] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.file_subdir_len = 2 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.redis_url = **** 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.s3_access_key_id = None 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.s3_endpoint_url = None 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.s3_max_pool_connections = 50 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.s3_region_name = None 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.s3_secret_access_key = None 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.swift_auth_insecure = False 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.swift_auth_version = 3 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.swift_cacert = None 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi 2025-11-27 08:24:46,450 [2] DEBUG gnocchi.service: storage.swift_endpoint_type = internalURL 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: storage.swift_key = **** 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: storage.swift_preauthtoken = **** 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: storage.swift_project_domain_name = Default 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: storage.swift_project_name = None 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: storage.swift_region = None 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: storage.swift_service_type = object-store 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: storage.swift_timeout = 300 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: storage.swift_url = None 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: storage.swift_user = service:gnocchi 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: storage.swift_user_domain_name = Default 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf 2025-11-27 08:24:46,451 [2] DEBUG gnocchi.service: incoming.ceph_keyring = 2025-11-27 08:24:46,452 [2] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi 2025-11-27 08:24:46,452 [2] DEBUG gnocchi.service: incoming.ceph_secret = **** 2025-11-27 08:24:46,452 [2] DEBUG gnocchi.service: incoming.ceph_timeout = 30 2025-11-27 08:24:46,452 [2] DEBUG gnocchi.service: incoming.ceph_username = 2025-11-27 08:24:46,452 [2] DEBUG gnocchi.service: incoming.driver = redis 2025-11-27 08:24:46,452 [2] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi 2025-11-27 08:24:46,452 [2] DEBUG gnocchi.service: incoming.file_subdir_len = 2 2025-11-27 08:24:46,452 [2] DEBUG gnocchi.service: incoming.redis_url = **** 2025-11-27 08:24:46,452 [2] DEBUG gnocchi.service: incoming.s3_access_key_id = 2025-11-27 08:24:46,453 [2] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi 2025-11-27 08:24:46,453 [2] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0 2025-11-27 08:24:46,453 [2] DEBUG gnocchi.service: incoming.s3_endpoint_url = 2025-11-27 08:24:46,453 [2] DEBUG gnocchi.service: incoming.s3_max_pool_connections = 50 2025-11-27 08:24:46,453 [2] DEBUG gnocchi.service: incoming.s3_region_name = 2025-11-27 08:24:46,453 [2] DEBUG gnocchi.service: incoming.s3_secret_access_key = 2025-11-27 08:24:46,453 [2] DEBUG gnocchi.service: incoming.swift_auth_insecure = False 2025-11-27 08:24:46,454 [2] DEBUG gnocchi.service: incoming.swift_auth_version = 3 2025-11-27 08:24:46,454 [2] DEBUG gnocchi.service: incoming.swift_authurl = http://172.17.0.185:5000/v3 2025-11-27 08:24:46,454 [2] DEBUG gnocchi.service: incoming.swift_cacert = 2025-11-27 08:24:46,454 [2] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi 2025-11-27 08:24:46,454 [2] DEBUG gnocchi.service: incoming.swift_endpoint_type = internalURL 2025-11-27 08:24:46,454 [2] DEBUG gnocchi.service: incoming.swift_key = **** 2025-11-27 08:24:46,454 [2] DEBUG gnocchi.service: incoming.swift_preauthtoken = **** 2025-11-27 08:24:46,454 [2] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default 2025-11-27 08:24:46,455 [2] DEBUG gnocchi.service: incoming.swift_project_name = 2025-11-27 08:24:46,455 [2] DEBUG gnocchi.service: incoming.swift_region = 2025-11-27 08:24:46,455 [2] DEBUG gnocchi.service: incoming.swift_service_type = object-store 2025-11-27 08:24:46,455 [2] DEBUG gnocchi.service: incoming.swift_timeout = 300 2025-11-27 08:24:46,455 [2] DEBUG gnocchi.service: incoming.swift_url = 2025-11-27 08:24:46,455 [2] DEBUG gnocchi.service: incoming.swift_user = service:gnocchi 2025-11-27 08:24:46,455 [2] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default 2025-11-27 08:24:46,455 [2] DEBUG gnocchi.service: statsd.archive_policy_name = low 2025-11-27 08:24:46,455 [2] DEBUG gnocchi.service: statsd.creator = None 2025-11-27 08:24:46,456 [2] DEBUG gnocchi.service: statsd.flush_delay = 10.0 2025-11-27 08:24:46,456 [2] DEBUG gnocchi.service: statsd.host = 0.0.0.0 2025-11-27 08:24:46,456 [2] DEBUG gnocchi.service: statsd.port = 8125 2025-11-27 08:24:46,456 [2] DEBUG gnocchi.service: statsd.resource_id = 0a8b55df-f90f-491c-8cb9-7cdecec6fc26 2025-11-27 08:24:46,456 [2] DEBUG gnocchi.service: amqp1d.creator = None 2025-11-27 08:24:46,456 [2] DEBUG gnocchi.service: amqp1d.data_source = collectd 2025-11-27 08:24:46,456 [2] DEBUG gnocchi.service: amqp1d.flush_delay = 10.0 2025-11-27 08:24:46,456 [2] DEBUG gnocchi.service: amqp1d.resource_type = collectd_amqp1d 2025-11-27 08:24:46,456 [2] DEBUG gnocchi.service: amqp1d.url = localhost:5672/u/collectd/telemetry 2025-11-27 08:24:46,456 [2] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count'] 2025-11-27 08:24:46,456 [2] DEBUG gnocchi.service: ******************************************************************************** 2025-11-27 08:24:46,733 [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)