-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 status being report from OPA's discovery bundle #2630
Labels
Comments
ashutosh-narkar
added a commit
to ashutosh-narkar/opa
that referenced
this issue
Aug 19, 2020
…n discovery status This commmit sets the values for the last request and last successful request in the discovery bundle status. Fixes: open-policy-agent#2630 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
ashutosh-narkar
added a commit
that referenced
this issue
Aug 19, 2020
…n discovery status This commmit sets the values for the last request and last successful request in the discovery bundle status. Fixes: #2630 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
tsandall
pushed a commit
to tsandall/opa
that referenced
this issue
Aug 20, 2020
…n discovery status This commmit sets the values for the last request and last successful request in the discovery bundle status. Fixes: open-policy-agent#2630 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com> (cherry picked from commit 30271bc)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
last_successful_request and last_request for discovery bundle in any reported status should be larger than "0001-01-01T00:00:00Z" which is the start of time. That means OPA never fetched bundle. last_successful_activation and last_successful_download should also be at least the same.
Actual Behavior
But in the same status reported, "last_successful_activation" and "last_successful_download" are updated in the same status.
"discovery": {
"code": "bundle_error",
"last_request": "0001-01-01T00:00:00Z",
"last_successful_activation": "2020-07-19T00:10:58.164191894Z",
"last_successful_download": "2020-07-19T00:10:58.162475509Z",
"last_successful_request": "0001-01-01T00:00:00Z",
"message": "server replied with HTTP 503",
"name": "discovery"
},
Steps to Reproduce the Problem
From actual usage of "version": "0.20.5"
Additional Info
The text was updated successfully, but these errors were encountered: