You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
…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>
…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)
…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>
(cherry picked from commit 30271bc)
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: