OCI: dnf Command Returns "Failed loading plugin "osmsplugin": No module named 'librepo'"
APPLIES TO
Oracle Linux Cloud Service - Version Oracle Linux 8.0 and later
Oracle Cloud Infrastructure
Information in this document applies to any platform.
SYMPTOMS
OSMS enabled instance fails to list the repositories and reports the following error message while running dnf(8)
commands.
$ dnf repolist
Failed loading plugin "osmsplugin": No module named 'librepo'
No Repositories available.
The /var/log/oracle-cloud-agent/plugins/osms/agent.log
reports the following error.
2024-09-05 20:12:55,061 - INFO - gRPC Start: OSMS Agent service started
2024-09-05 20:13:04,429 - INFO - OSMS check completed successfully. Next check in 120 seconds.
2024-09-05 20:13:05,047 - INFO - Called action 'activate' with opc-request-id: <ID>; response- headers: {'Date': 'Thu, 05 Sep 2024 18:13:04 GMT', 'opc-request-id': '<ID>', 'Content-Type': 'application/json', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains;', 'Content-Length': '111'}; status: 404; took: 0.516s
Tagged:
0