-
Notifications
You must be signed in to change notification settings - Fork 485
Description
/kind bug
What steps did you take and what happened:
- Deployed katib as a part of Kubeflow on Google Cloud.
- Clicked on
Experiments (AutoML)
menu item in thecentraldashboard
UI - Request failed with 401 error (returned from here?)
- Replacing
v0.15.0-rc.1
with0.14.0
resolves the issue
What did you expect to happen:
200 response
Anything else you would like to add:
Deployment:
kustomize build -o ./build
herekubectl apply -f ./build
Request:
Request URL: https:ENDPOINT/katib/fetch_experiments/?namespace=user-namespace
Request Method: GET
Status Code: 401
Remote Address: ...
Referrer Policy: strict-origin-when-cross-origin
e-time: 2
Request headers:
:authority:
:method: GET
:path: /katib/fetch_experiments/?namespace=user-namespace
:scheme: https
accept: application/json, text/plain, /
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9,ru;q=0.8
cookie:
referer: https://ENDPOINT/katib/
sec-ch-ua: "Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: same-origin
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Payload:
namespace:user-namespace
Response:
user header not present
Response headers:
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
content-length: 24
content-type: text/plain; charset=utf-8
date: Thu, 16 Mar 2023 21:43:07 GMT
server: istio-envoy
via: 1.1 google
x-content-type-options: nosniff
x-envoy-upstream-servic
The v0.14 request looks as follows:
Request in v0.14:
Request URL: https://ENDPOINT/katib/fetch_experiments/
Request Method: GET
Status Code: 200
Remote Address: ...
Referrer Policy: strict-origin-when-cross-origin
Request headers:
:authority: ENDPOINT
:method: GET
:path: /katib/fetch_experiments/
:scheme: https
accept: application/json, text/plain, /
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9,ru;q=0.8
cookie:
referer: https://ENDPOINT/katib/
sec-ch-ua: "Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: same-origin
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Payload:
Response:
[{"name":"mnist-e2e","namespace":user-namespace,"type":"hp","status":"Succeeded","startTime":"2023-03-15T18:19:29Z","completionTime":"2023-03-15T18:21:50Z","conditions":[{"type":"Created","status":"True","reason":"ExperimentCreated","message":"Experiment is created","lastUpdateTime":"2023-03-15T18:19:29Z","lastTransitionTime":"2023-03-15T18:19:29Z"},{"type":"Running","status":"False","reason":"ExperimentRunning","message":"Experiment is running","lastUpdateTime":"2023-03-15T18:21:50Z","lastTransitionTime":"2023-03-15T18:21:50Z"},{"type":"Succeeded","status":"True","reason":"ExperimentMaxTrialsReached","message":"Experiment has succeeded because max trial count has reached","lastUpdateTime":"2023-03-15T18:21:50Z","lastTransitionTime":"2023-03-15T18:21:50Z"}],"currentOptimalTrial":{"bestTrialName":"mnist-e2e-ktxfptcc","parameterAssignments":[{"name":"learning_rate","value":"0.036678390805863215"},{"name":"batch_size","value":"97"}],"observation":{"metrics":[{"name":"loss","min":"0.2380017","max":"2.327921","latest":"0.2380017"}]}},"succeededTrialList":["mnist-e2e-4fqn265r","mnist-e2e-ktxfptcc","mnist-e2e-qvmwzpwx","mnist-e2e-24jd787v","mnist-e2e-l4qj6dh2"],"trials":5,"trialsSucceeded":5}]
Response headers:
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
content-length: 1198
content-type: text/plain; charset=utf-8
date: Thu, 16 Mar 2023 22:05:42 GMT
server: istio-envoy
via: 1.1 google
x-envoy-upstream-service-time: 12
Environment:
- Katib version (check the Katib controller image version): v0.15.0-rc.1
- Kubernetes version: (
kubectl version
): GKE 1.23 and GKE 1.24 - OS (
uname -a
): linux
Impacted by this bug? Give it a 👍 We prioritize the issues with the most 👍