Package: gnocchi-common Version: 4.3.1-3 Severity: important I first installed mariadb-server and mariadb-client on a test VM. I then ran "apt install gnocchi-common" selected MySQL and no keystone, then the /var/lib/dpkg/info/gnocchi-common.postinst gave the following error: 2020-10-11 12:56:35,415 [6782] WARNING stevedore.named: Could not load sqlite 2020-10-11 12:56:35,424 [6782] ERROR gnocchi.utils: Unable to initialize indexer driver Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 333, in call result = fn(*args, **kwargs) File "/usr/lib/python3/dist-packages/gnocchi/indexer/__init__.py", line 107, in get_driver split.scheme).driver File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 61, in __init__ warn_on_missing_entrypoint=warn_on_missing_entrypoint File "/usr/lib/python3/dist-packages/stevedore/named.py", line 89, in __init__ self._init_plugins(extensions) File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 113, in _init_plugins (self.namespace, name)) stevedore.exception.NoMatches: No 'gnocchi.indexer' driver found, looking for 'sqlite'
It repeated that error many times and did not progress. I tried installing sqlite3 and python-sqlite but that made no difference. Is there a missing dependency on some other sqlite related package? -- System Information: Debian Release: 10.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.8.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Permissive - Policy name: default Versions of packages gnocchi-common depends on: ii adduser 3.118 ii dbconfig-common 2.0.11+deb10u1 ii debconf [debconf-2.0] 1.5.71 ii python3-gnocchi 4.3.1-3 gnocchi-common recommends no packages. gnocchi-common suggests no packages. -- debconf information: gnocchi-common/app-password-confirm: (password omitted) gnocchi-common/pgsql/admin-pass: (password omitted) gnocchi/ksat-admin-password: (password omitted) gnocchi-common/mysql/app-pass: (password omitted) gnocchi/ksat-service-password: (password omitted) gnocchi-common/mysql/admin-pass: (password omitted) gnocchi-common/password-confirm: (password omitted) gnocchi-common/pgsql/app-pass: (password omitted) gnocchi-common/upgrade-backup: true gnocchi-common/pgsql/no-empty-passwords: gnocchi-common/dbconfig-reinstall: false gnocchi-common/install-error: abort gnocchi/ksat-admin-project-name: admin gnocchi-common/pgsql/authmethod-user: password gnocchi-common/mysql/method: Unix socket gnocchi/ksat-service-username: * gnocchi-common/dbconfig-install: true gnocchi/ksat-public-url: http://localhost:5000 gnocchi-common/internal/skip-preseed: false gnocchi-common/upgrade-error: abort * gnocchi/configure_ksat: false gnocchi-common/pgsql/manualconf: gnocchi/ksat-service-project-name: service * gnocchi-common/database-type: mysql * gnocchi/configure_db: true gnocchi-common/db/app-user: gnocchi-common@localhost gnocchi-common/missing-db-package-error: abort gnocchi-common/pgsql/authmethod-admin: ident gnocchi/ksat-region: regionOne gnocchi-common/remote/port: gnocchi/ksat-admin-username: admin gnocchi-common/remove-error: abort gnocchi-common/db/basepath: gnocchi-common/passwords-do-not-match: gnocchi-common/purge: false gnocchi-common/db/dbname: gnocchidb gnocchi-common/remote/newhost: gnocchi-common/pgsql/method: TCP/IP gnocchi/ksat-admin-url: http://localhost:35357 gnocchi-common/dbconfig-remove: true gnocchi-common/internal/reconfiguring: false gnocchi-common/remote/host: localhost gnocchi-common/pgsql/changeconf: false * gnocchi-common/mysql/admin-user: root gnocchi/ksat-create-service-user: true gnocchi-common/dbconfig-upgrade: true gnocchi-common/pgsql/admin-user: postgres