-
Couldn't load subscription status.
- Fork 17
Disable redfish by default #461
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
Disable redfish by default #461
Conversation
Change the default value to disable redfish. It's expected that when the charm is refreshed, it will disable redfish because this change will triggeer a config-change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a break change. We should add more technical details and the reason on this PR.
I also want to hold it for a while, we can manually disable redfish on all running environment to mitigate the impact.
469404a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(non-blocking) Just curious if you can put this logic in COSAgentProvider. I.e. dynamically set the prom rules arguments.
|
@chanchiwai-ray hardware-observer-operator/lib/charms/grafana_agent/v0/cos_agent.py Lines 606 to 643 in f502379
I didn't see another way of doing this dynamic without changes in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gabrielcocenza , LGTM
if you already confirm that the alert rules part is working without issue, then I think it's green light to merge it.
Change the default value to disable redfish. It's expected that when the charm is refreshed, it will disable redfish because this change will triggeer a config-change.