Skip to content

Conversation

pracucci
Copy link
Contributor

@pracucci pracucci commented Mar 5, 2021

What this PR does:
The grpc upgrade in #3884 has broken the ruler rules API endpoint:

msg="GET /api/prom/api/v1/rules (500) 4.012183ms Response: \"{\\\"status\\\":\\\"error\\\",\\\"data\\\":null,\\\"errorType\\\":\\\"server_error\\\",\\\"error\\\":\\\"unable to retrieve rules from other rulers, rpc error: code = Internal desc = grpc: error while marshaling: proto: Marshal called with nil\\\"}\"

This PR fixes it. An integration test will be added once #3916 gets merged, but this PR has been manually tested.

Which issue(s) this PR fixes:
N/A

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Marco Pracucci <[email protected]>
@gouthamve gouthamve merged commit d6d0669 into cortexproject:master Mar 5, 2021
@pracucci pracucci deleted the fix-ruler branch March 8, 2021 08:02
gouthamve pushed a commit to grafana/cortex that referenced this pull request Mar 9, 2021
roystchiang pushed a commit to roystchiang/cortex that referenced this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants