last_operation returns 500 due to invalid URL #707
Labels
3.9 | release-1.1
Kubernetes 1.9 | Openshift 3.9 | Broker release-1.1
3.10 | release-1.2
Kubernetes 1.10 | Openshift 3.10 | Broker release-1.2
What happened:
While trying to test the last_operation binding endpoint, I messed up the URL and ended up making this request, as seen in the broker log:
This resulted in a 500 error from the broker. Here is more log output:
And an example of a response:
What you expected to happen
A 404 Not Found response would be appropriate.
How to reproduce it:
It only reproduces while there is a valid job running for the given service and binding. The broker must be configured to launch APBs on bind and auto-escalate. I saw this with the release-1.1 branch.
This script will reproduce it if you supply a service ID as the only argument:
The text was updated successfully, but these errors were encountered: