-
Notifications
You must be signed in to change notification settings - Fork 92
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
Deployment on AWS fails waiting for persistent volume #17
Comments
On
|
I ran into this same issue and here is the solution/workaround that I found. I would like for qhub to automatically handle this use case but at the same time I "like" that this is difficult since resizing a pvc will delete the old one thus deleting all users data. Eventually there needs to be a better way to do this... gcp does not support disk resizing but other storage providers do e.g. rook/ceph. Here is the workaround:
Then reapply terraform deployment and it should create the needed volumes...what I sorta like from this is that we are forcing the users to delete the shared filesystems making losing data harder (kinda a "this bug is a feature :)" ). |
Interesting, but the problem I faced with AWS was on a new deployment, which didn't had any cluster already present, so this problem shouldn't happen there, right? |
It seems they are still there after running the above commands. Seems like following hacks works: |
Document solution, and how to delete the persistent volume. Will leave the solution as manual so that user data is not automatically deleted. |
Hi all, is there any update on this issue? |
@filippo82 There is. With the newer terraform/kubernetes update, persistent volume side can be increased without being deleted/destroyed. I've verified this as of this past week |
Hi @tylerpotts I believe that the issue which @aktech was experiencing in June (and which I was experiencing yesterday too) was related (somehow, I think) to the order of creation of resources by Terraform. This should be now fixed by this #129. First building the Kubernets cluster with So this is issue is now fixed for me and, I believe, it is fully taken care of by The issue I am having is to I've opened this issue to discuss that: #144 Best, |
@filippo82 Thanks for the clarification. I'll close out this issue |
Solution: The issue is with conda enironment syntax. So the conda environment is not ready. Hence the PV fails. If the environment is taking too long to build, this error may still exist. |
Steps to reproduce:
terraform init
thenterraform apply
in theinfrastructure
First I got this:
Then I did
terraform apply
again, then I got the following every-time:The text was updated successfully, but these errors were encountered: