You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm getting an error when attempting to start the infiniband exporter service:
Started Infiniband_exporter.
Aug 11 14:20:42 <nodename> python3[374627]: Traceback (most recent call last):
Aug 11 14:20:42 <nodename> python3[374627]: File "/usr/bin/infiniband_exporter.py", line 12, in
Aug 11 14:20:42 <nodename> python3[374627]: from prometheus_client.core import CounterMetricFamily, GaugeMetricFamily
Aug 11 14:20:42 <nodename> python3[374627]: ModuleNotFoundError: No module named 'prometheus_client'
Aug 11 14:20:42 <nodename> systemd[1]: infiniband_exporter.service: main process exited, code=exited, status=1/FAILURE
Aug 11 14:20:42 <nodename> systemd[1]: Unit infiniband_exporter.service entered failed state.
Aug 11 14:20:42 <nodename> systemd[1]: infiniband_exporter.service failed.
Is there a dependency that I am missing - CounterMetricFamily, GaugeMetricFamily ? If so, where do I get it?
i'm using v 0.0.4
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
This module currently need to be installed manually with pip3 install prometheus-client.
python2 support for this program was removed in the latest release, previously this was using python2-prometheus_client from epel to provide this module and there are no python3-prometheus_client available on Centos 7.
A small warning was placed in the README.md in this commit 20dcf98
you can also use Miniconda for resolving dependencies in Python.
It is a great tool. I just use the installer and then manage the dependencies.
With that you can also get different Python versions and environments running easily.
Hello, I'm getting an error when attempting to start the infiniband exporter service:
Started Infiniband_exporter.
Aug 11 14:20:42 <nodename> python3[374627]: Traceback (most recent call last):
Aug 11 14:20:42 <nodename> python3[374627]: File "/usr/bin/infiniband_exporter.py", line 12, in
Aug 11 14:20:42 <nodename> python3[374627]: from prometheus_client.core import CounterMetricFamily, GaugeMetricFamily
Aug 11 14:20:42 <nodename> python3[374627]: ModuleNotFoundError: No module named 'prometheus_client'
Aug 11 14:20:42 <nodename> systemd[1]: infiniband_exporter.service: main process exited, code=exited, status=1/FAILURE
Aug 11 14:20:42 <nodename> systemd[1]: Unit infiniband_exporter.service entered failed state.
Aug 11 14:20:42 <nodename> systemd[1]: infiniband_exporter.service failed.
Is there a dependency that I am missing - CounterMetricFamily, GaugeMetricFamily ? If so, where do I get it?
i'm using v 0.0.4
Thanks
The text was updated successfully, but these errors were encountered: