equinix-labs / terraform-equinix-metal-eks-anywhere

EKS Anywhere on Equinix Metal (Baremetal)
https://deploy.equinix.com/labs/terraform-equinix-metal-eks-anywhere/
Apache License 2.0
9 stars 5 forks source link

Example code not working #66

Closed Paulius0112 closed 1 year ago

Paulius0112 commented 1 year ago

Running the example code getting the following error: "error":"discovering from ip address: no hardware found","errorVerbose":"no hardware found\ngithub.com/tinkerbell/boots/client/kubernetes.(*Finder).ByIP\n\tgithub.com/tinkerbell/boots/client/kubernetes/hardware_finder.go:78\ngithub.com/tinkerbell/boots/job.(*Creator).CreateFromIP\n\tgithub.com/tinkerbell/boots/job/job.go:145\ngithub.com/tinkerbell/boots/job.(*Creator).CreateFromRemoteAddr\n\tgithub.com/tinkerbell/boots/job/job.go:128\nmain.(*jobHandler).serveJobFile\n\tgithub.com/tinkerbell/boots/cmd/boots/http.go:148\nnet/http.HandlerFunc.ServeHTTP\n\tnet/http/server.go:2084\ngo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.WithRouteTag.func1\n\tgo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.21.0/handler.go:223\nnet/http.HandlerFunc.ServeHTTP\n\tnet/http/server.go:2084\nnet/http.(*ServeMux).ServeHTTP\n\tnet/http/server.go:2462\ngo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.(*Handler).ServeHTTP\n\tgo.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.21.0/handler.go:179\ngithub.com/tinkerbell/boots/httplog.(*Handler).ServeHTTP\n\tgithub.com/tinkerbell/boots/httplog/httplog.go:33\nnet/http.serverHandler.ServeHTTP\n\tnet/http/server.go:2916\nnet/http.(*conn).serve\n\tnet/http/server.go:1966\nruntime.goexit\n\truntime/asm_amd64.s:1571\ndiscovering from ip address"}

Is anything else needs to be provided?

Paulius0112 commented 1 year ago

More details about the error container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized - master node

displague commented 1 year ago

@Paulius0112 Were you using Terraform or the manual install path? What Metal plans?

Paulius0112 commented 1 year ago

Was using terraform installation. For plans the default values were used m3.small.x86

Paulius0112 commented 1 year ago

Destroying everything and recreating seems to solve the problem. Not really sure why it wasn't working on the first try, since all the same values were used. However, closing the issue since it's now resolved