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

Example code not working

Closed this issue · 4 comments

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?

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

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

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

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