kubernetes-sigs / cluster-api-provider-azure

Cluster API implementation for Microsoft Azure
https://capz.sigs.k8s.io/
Apache License 2.0
295 stars 425 forks source link

Not compatible with kind 0.2.0 #157

Closed lachie83 closed 5 years ago

lachie83 commented 5 years ago

/kind bug

What steps did you take and what happened: [A clear and concise description of what the bug is.]

Running create cluster yields the following error

$ clusterctl create cluster -v 4 \
→   --bootstrap-type kind \
→   --provider azure \
→   -m ./azure/out/machines.yaml \
→   -c ./azure/out/cluster.yaml \
→   -p ./azure/out/provider-components.yaml \
→   -a ./azure/out/addons.yaml
I0327 09:13:38.755916    7195 decoder.go:224] decoding stream as YAML
I0327 09:13:38.757273    7195 decoder.go:224] decoding stream as YAML
I0327 09:13:38.760265    7195 createbootstrapcluster.go:27] Creating bootstrap cluster
I0327 09:13:38.760282    7195 kind.go:69] Running: kind [create cluster --name=clusterapi]
I0327 09:13:39.106273    7195 kind.go:72] Ran: kind [create cluster --name=clusterapi] Output: Error: could not list clusters: failed to list nodes: exit status 1
F0327 09:13:39.106347    7195 create_cluster.go:61] could not create bootstrap cluster: could not create bootstrap control plane: error running command 'kind create cluster --name=clusterapi': exit status 1

When running that kind command directly I get

$ kind create cluster --name=clusterapi
Error: could not list clusters: failed to list nodes: exit status 1

kind version

$ kind version
0.2.0

What did you expect to happen:

Create a cluster. I have confirmed that this works with kind 0.1.0

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

lachie83 commented 5 years ago

Looks like kind might be throwing a bad error. Digging

lachie83 commented 5 years ago

Looks like this is a bogus error that you get from kind when the docker daemon isn't running locally.

lachie83 commented 5 years ago

closing: wont-fix