mimirtool is not loading rules alerts giving 500 internal error #3300
muwiess
started this conversation in
Development
Replies: 1 comment 6 replies
|
Helm Chart mimir-distributed-3.1.0 |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We are trying to use the binaries mimirtool-windows-amd64.exe/mimirtool-linux-amd64. We are getting the following error when we use load rules:
./mimirtool-linux-amd64 rules load alerts.yaml --address=http://localhost:8080 --id=test-tenatnid
group: 'mimir-group', ns: 'mimirt'
/prometheus/config/v1/rules/mimirt/mimir-group
ERRO[0000] server returned HTTP status 500 Internal Server Error: mkdir /ruler: read-only file system fields.msg="mkdir /ruler: read-only file system" status="500 Internal Server Error"
ERRO[0000] unable to load rule group error="POST request to http://localhost:8080/prometheus/config/v1/rules/tview-mimir-test failed: server returned HTTP status 500 Internal Server Error: mkdir /ruler: read-only file system" group=mimir-group namespace=mimirt
mimirtool-linux-amd64: error: load operation unsuccessful, try --help
The tool is trying to create a /ruler directory in the ruler container where the filesytem is read-only.
We also are getting errors when we are trying to load Alertmanager configurations.
Is there another way that we can load up the alert rules or alertmanager configurations , similar like the Prometheus loads them up within configuration files under serverFiles.recording_rules.yml: {} serverFiles.alerting_rules.yml: {} ?
All reactions