canonical / hardware-observer-operator

A charm to setup prometheus exporter for IPMI, RedFish and RAID devices from different vendors.
Apache License 2.0
7 stars 15 forks source link

charm is constantly trying to validate redfish #270

Closed honghan-wong closed 2 months ago

honghan-wong commented 3 months ago

Hi,

This request is related to issue #155 .

The charm status is display correctly as blocked if the redfish is failed to validate the calendar. However the charm is still trying to validate on every update_status hook.

I would like to request to disable the validation if there is no redfish credentials set (either username or password is empty, if both are sets, we can validate when charm is running update_status hook).

There is customer reporting the BMC sessions are locked up and they would like to disable the checking altogether as they have other services querying the redfish endpoints as well.