You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module.cluster.module.typhoon.null_resource.copy-controller-secrets[2] (remote-exec): mv: cannot move '/home/core/kubeconfig' to '/etc/kubernetes/kubeconfig': No such file or directory
The host shows
$ ls -lrt /home/core/kubeconfig
-rw-r--r--. 1 core core 5645 Jan 4 11:22 /home/core/kubeconfig
Maybe this is some sort of race condition?
Following this:
module.cluster.module.typhoon.null_resource.copy-worker-secrets[1]: Creation complete after 14m4s [id=8115494576772202412]
Error: error executing "/tmp/terraform_2006031982.sh": Process exited with status 1
Error: error executing "/tmp/terraform_1397021072.sh": Process exited with status 1
Error: error executing "/tmp/terraform_1038493895.sh": Process exited with status 1
Error: error executing "/tmp/terraform_2147143729.sh": Process exited with status 1
Error: error executing "/tmp/terraform_949615003.sh": Process exited with status 1
Error: error executing "/tmp/terraform_2075195276.sh": Process exited with status 1
Inspecting host, terraform_132190432.sh file is empty.
Desired Behavior
Complete provision
Steps to Reproduce
Terraform apply + pxe boot.
The text was updated successfully, but these errors were encountered:
Trying to execute the command manually via ssh results in the same error:
ssh core@xxx.xxx.xxx.xxx mv /home/core/kubeconfig /etc/kubernetes/kubeconfig
mv: cannot move '/home/core/kubeconfig' to '/etc/kubernetes/kubeconfig': No such file or directory
the destination does not yet exist on workers.
$ ssh core@xxx.xxx.xxx.xxx ls -lrt /home/core/kubeconfig
-rw-r--r--. 1 core core 5645 Jan 4 11:25 /home/core/kubeconfig
$ ssh core@xxx.xxx.xxx.xxx ls -lrt /etc/kubernetes
ls: cannot access '/etc/kubernetes': No such file or directory
This is from a recent unreleased change which has the side effect of not creating /etc/kubernetes during first boot from disk. Thanks for flagging. This is limited to Container/Flatcar Linux + bare-metal or DigitalOcean.
To solve your problem, you can reprovision with any of the tagged releases, such as v1.17.0.
Bug
Environment
Problem
Terraform output shows:
The host shows
Maybe this is some sort of race condition?
Following this:
Inspecting host, terraform_132190432.sh file is empty.
Desired Behavior
Complete provision
Steps to Reproduce
Terraform apply + pxe boot.
The text was updated successfully, but these errors were encountered: