vmalert: tolerate missing rules file when loading from object storage #6209
Labels
bug
Something isn't working
enterprise
Enterprise issue, not included in free open source version
vmalert
Describe the bug
When loading rule files from object storage vmalert performs to subsequent actions:
Because p1 and p2 could happen in different moment of times (seconds usually), it could happen that a file was present at p1 stage and was deleted before p2 stage. In this case, vmalert will produce an error and set configuration_success flag to
false
.vmalert should skip files that do not exist.
To Reproduce
Create a bucket with big number of rule files and trigger config reload in vmalert. Try deleting random rules file from bucket while vmalert is still in the process of reloading the config.
Version
All versions that support https://docs.victoriametrics.com/vmalert/#reading-rules-from-object-storage
The text was updated successfully, but these errors were encountered: