-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when testing with grafana-agent multi-subordinate functionality. #43
Comments
Here is the output from I could find some pydantic errors in the ubuntu@rozary:~$ journalctl -xeu hardware-exporter.service
Jul 27 10:50:13 rozary python3[2053576]: pydantic.error_wrappers.ValidationError: 2 validation errors for Config
Jul 27 10:50:13 rozary python3[2053576]: redfish_username
Jul 27 10:50:13 rozary python3[2053576]: none is not an allowed value (type=type_error.none.not_allowed)
Jul 27 10:50:13 rozary python3[2053576]: redfish_password
Jul 27 10:50:13 rozary python3[2053576]: none is not an allowed value (type=type_error.none.not_allowed)
(...) |
dashmage
added a commit
to dashmage/hardware-observer-operator
that referenced
this issue
Jul 27, 2023
These quotes are added to fix the pydantic error caused while reading the yaml file. If the quotes are absent for the redfish keys, the default value of empty string is registered as a None type while using safe_load and reading the yaml file in prometheus-hardware-exporter. Fixes canonical#43
dashmage
added a commit
to dashmage/hardware-observer-operator
that referenced
this issue
Jul 27, 2023
These quotes are added to fix the pydantic error caused while reading the yaml file. If the quotes are absent for the redfish keys, the default value of empty string is registered as a None type while using safe_load and reading the yaml file in prometheus-hardware-exporter. Fixes canonical#43
jneo8
pushed a commit
that referenced
this issue
Jul 28, 2023
These quotes are added to fix the pydantic error caused while reading the yaml file. If the quotes are absent for the redfish keys, the default value of empty string is registered as a None type while using safe_load and reading the yaml file in prometheus-hardware-exporter. Fixes #43
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
Error with hardware-observer charm when trying to test the multi-subordinate functionality of grafana-agent charm from this branch. The hardware-observer charm status is
blocked
with the message "Exporter is unhealthy".Setup
Relations are added for the grafana-agent charm with both zookeeper and hardware-observer over the cos-agent interface.
COS Setup
The microk8s charm is added in the same model and configured with COS. The k8s cloud is added to the same controller using the
juju add-k8s
command.Error
Other Notes
active
.The text was updated successfully, but these errors were encountered: