Closed ps20renar closed 8 months ago
Hi @ps20renar, thanks for reporting this issue. I was able to recreate it on my system.
The error caused through the missing python requests packages.
It looks like cherrypy starting from python >= 3.8 not using requests packages anymore. But we use it in our code. In RHEL9 the requests packages are preinstalled per default, but in RHEL8 not.
As I already mentioned in chat just install python requests packages using pip and restart the grafana-bridge. The error shouldn't appear anymore.
# pip3.8 install requests
Describe the bug We installed python3.8 on rhel8.8 and see that the systemctl start zimonGrafana don't start.
To Reproduce Steps to reproduce the behavior:
Expected behavior Active zimonGrafana.service
Screenshots Feb 29 22:28:38 sap00l11.lan.huk-coburg.de zimonGrafana[2802356]: 2024-02-29 22:28 - MainThread - INFO - IBM Storage Scale bridge for Grafana - Version: 7.1.2 Feb 29 22:28:38 sap00l11.lan.huk-coburg.de zimonGrafana[2802356]: 2024-02-29 22:28 - MainThread - ERROR - Failed to initialize connection to pmcollector: name 'requests' is not defined, quitting
Desktop (please complete the following information):
Additional context Add any other context about the problem here.