katib icon indicating copy to clipboard operation
katib copied to clipboard

CI seems to be running on somewhere else than $CLUSTER_NAME

Open toshiiw opened this issue 7 years ago • 4 comments

test/scripts/unit-test.sh creates a mysql pod for testing. During #352 it was found to contain some older DB schema, resulting a failed unit test. I created #357 to investigate the issue. As I changed the kubeconfig set up script to just use "gcloud container clusters get-credentials ${CLUSTER_NAME}", I got this error

Error from server (NotFound): error when creating "STDIN": namespaces "kubeflow-test-infra" not found  

I think the mysql pod used to run on the cluster where argo ran.

toshiiw avatar Feb 01 '19 07:02 toshiiw

Just using the default namespace and also modifing run-test.sh seems to be the way to go. Am I right?

toshiiw avatar Feb 01 '19 07:02 toshiiw

@richardsliu @jlewi do you have any ideas?

YujiOshima avatar Feb 01 '19 07:02 YujiOshima

It is probably running under the kubeflow-testing cluster. I will look at your fix.

richardsliu avatar Feb 01 '19 18:02 richardsliu

@richardsliu As I wrote in a comment in #360 , I'm having trouble getting a working kubeconfig. The kubeconfig seems to lack a proper admin priviledge to create clusterrole things. Could you help?

toshiiw avatar Feb 06 '19 03:02 toshiiw