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

kfctl generate won't succeed if first attempt failed #2657

Closed
jlewi opened this issue Mar 7, 2019 · 2 comments
Closed

kfctl generate won't succeed if first attempt failed #2657

jlewi opened this issue Mar 7, 2019 · 2 comments

Comments

@jlewi
Copy link
Contributor

jlewi commented Mar 7, 2019

kfctl generate failed for me as follows

kfctl generate all
INFO[0000] generating kubeflow application              
ERRO[0002] couldn't generate KfApp: could not generate kssonnet under ks_app Error: Email is not set in default nor passed.

I then retry and specify the flag

/home/jlewi/git_kubeflow/bootstrap/bin/kfctl generate all --email=jlewi@google.com
INFO[0000] generating kubeflow application              
ERRO[0000] couldn't generate KfApp: could not generate deployment manager configs under gcp_config Error: cannot create directory mkdir /home/jlewi/git_kubeflow-dev/kubeflow-deployments/jlewi-0307-basic/gcp_config: file exists 

We should fix this. The desired behavior would be I should be able to rerun and specify the parameters and have it succeed.

/cc @kunmingg @gabrielwen @lluunn

@gabrielwen
Copy link
Contributor

yea, I think we should check if email exists before creating directory.

@gabrielwen
Copy link
Contributor

/assign @gabrielwen

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

No branches or pull requests

2 participants