Skip to content
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

CI seems to be running on somewhere else than $CLUSTER_NAME #359

Closed
toshiiw opened this issue Feb 1, 2019 · 4 comments · Fixed by #360
Closed

CI seems to be running on somewhere else than $CLUSTER_NAME #359

toshiiw opened this issue Feb 1, 2019 · 4 comments · Fixed by #360

Comments

@toshiiw
Copy link
Contributor

toshiiw commented Feb 1, 2019

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
Copy link
Contributor Author

toshiiw commented Feb 1, 2019

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

@YujiOshima
Copy link
Contributor

@richardsliu @jlewi do you have any ideas?

@richardsliu
Copy link
Contributor

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

@toshiiw
Copy link
Contributor Author

toshiiw commented Feb 6, 2019

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants