kubernetes-sigs / sig-windows-dev-tools

This is a batteries included local development environment for Kubernetes on Windows.
Apache License 2.0
80 stars 46 forks source link

[ERROR FileAvailable-C:-etc-kubernetes-pki-ca.crt]: C:/etc/kubernetes/pki/ca.crt already exists #168

Closed dougsland closed 2 years ago

dougsland commented 2 years ago
$ git clone https://github.com/kubernetes-sigs/sig-windows-dev-tools.git && cd  sig-windows-dev-tools
$ sig-windows-dev-tools> make

^C==> winw1: Waiting for cleanup before exiting... winw1: [preflight] Running pre-flight checks winw1: W0118 18:06:11.658689 1072 checks.go:1022] [preflight] WARNING: Couldn't create the interface used for talking to the container runtime: crictl is required by the container runtime: exec: "crictl": executable file not found in %PATH% winw1: error execution phase preflight: [preflight] Some fatal errors occurred: winw1: [ERROR FileAvailable-C:-etc-kubernetes-pki-ca.crt]: C:/etc/kubernetes/pki/ca.crt already exists winw1: [preflight] If you know what you are doing, you can make a check non-fatal with --ignore-preflight-errors=... winw1: To see the stack trace of this error execute with --v=5 or higher Vagrant exited after cleanup due to external interrupt.

knabben commented 2 years ago
winw1: [ERROR FileAvailable-C:-etc-kubernetes-pki-ca.crt]: C:/etc/kubernetes/pki/ca.crt already exists

we do not support rerun, looks like the node was already joined and fail, adding vagrant destroy on make to decrease this kind of issues.

/close

k8s-ci-robot commented 2 years ago

@knabben: Closing this issue.

In response to [this](https://github.com/kubernetes-sigs/sig-windows-dev-tools/issues/168#issuecomment-1016453248): >``` >winw1: [ERROR FileAvailable-C:-etc-kubernetes-pki-ca.crt]: C:/etc/kubernetes/pki/ca.crt already exists >``` > >we do not support rerun, looks like the node was already joined and fail, adding `vagrant destroy` on make to decrease this kind of issues. > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.