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
We got an KeyError when deployed on Supermicro (H12DST-B) server
Traceback (most recent call last):
File "/usr/lib/python3.8/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/var/lib/juju/agents/unit-hardware-observer-host-5/charm/venv/prometheus_client/exposition.py", line 128, in prometheus_app
status, headers, output = _bake_output(registry, accept_header, accept_encoding_header, params, disable_compression)
File "/var/lib/juju/agents/unit-hardware-observer-host-5/charm/venv/prometheus_client/exposition.py", line 104, in _bake_output
output = encoder(registry)
File "/var/lib/juju/agents/unit-hardware-observer-host-5/charm/venv/prometheus_client/openmetrics/exposition.py", line 21, in generate_latest
for metric in registry.collect():
File "/var/lib/juju/agents/unit-hardware-observer-host-5/charm/venv/prometheus_client/registry.py", line 97, in collect
yield from collector.collect()
File "/var/lib/juju/agents/unit-hardware-observer-host-5/charm/venv/prometheus_hardware_exporter/core.py", line 114, in collect
payloads = self.fetch()
File "/var/lib/juju/agents/unit-hardware-observer-host-5/charm/venv/prometheus_hardware_exporter/collector.py", line 972, in fetch
) = redfish_helper.get_storage_controller_data()
File "/var/lib/juju/agents/unit-hardware-observer-host-5/charm/venv/prometheus_hardware_exporter/collectors/redfish.py", line 275, in get_storage_controller_data
"controller_id": data["MemberId"],
KeyError: 'MemberId'
We got an KeyError when deployed on Supermicro (H12DST-B) server
The output is as below from redfish API
The text was updated successfully, but these errors were encountered: