Closed Adam-D-Lewis closed 1 year ago
After digging in a little, it appears the render step always deletes old rendered qhub deployments. Running qhub deploy --config qhub-config.yaml --disable-prompt --disable-render
gets around the issue. Maybe a note should be added to the testing docs, since I imagine this is a common testing workflow.
After digging in a little, it appears the render step always deletes old rendered qhub deployments. Running
qhub deploy --config qhub-config.yaml --disable-prompt --disable-render
gets around the issue. Maybe a note should be added to the testing docs, since I imagine this is a common testing workflow.
I think that we might be deleting some of the terraform state files in the process of rendering... which might be causing terraform to think that the resource needs to be created again. I've encountered the same error as well.
@Adam-D-Lewis have you encountered this issue again?
@viniciusdc I have not seen this issue in at least a few months. :tada:
We also recently switched from a local deployment on minikube
to kind
π
I've deployed qhub as mentioned in our docs through running
qhub deploy -c qhub-config.yaml
and it completes successfully. After the initial deployment, I'd like to change qhub-config.yaml slightly and redeploy. However, when I runqhub deploy -c qhub-config.yaml
the second time, I get the following error.I'm not sure why qhub tries to delete everything. It may be because we seem to be
terraform init
again even though we shouldn't be? Not sure yet though.Additionally, the error above happens when
qhub deploy
is run a second time even without changing qhub-config.yaml in between runningqhub deploy
commands.