Problem awx-operator deployment("dial tcp 10.96.0.1:443: connect: no route to host")

95 views
Skip to first unread message

test test

unread,
Jan 17, 2022, 7:49:04 PM1/17/22
to AWX Project
Hello,

when i deploy awx-operator on K8s cluster (1 Master+ 3 Nodes) i have this issue:



{"level":"info","ts":1642466453.5412004,"logger":"cmd","msg":"Version","Go Version":"go1.16.9","GOOS":"linux","GOARCH":"amd64","ansible-operator":"v1.12.0","commit":"d3b2761afdb78f629a7eaf4461b0fb8ae3b02860"}
{"level":"info","ts":1642466453.5418746,"logger":"cmd","msg":"Watching single namespace.","Namespace":"awx"}
{"level":"error","ts":1642466454.546315,"logger":"controller-runtime.manager","msg":"Failed to get API Group-Resources","error":"Get \"https://10.96.0.1:443/api?timeout=32s\": dial tcp 10.96.0.1:443: connect: no route to host","stacktrace":"sigs.k8s.io/controller-runtime/pkg/manager.New\n\t/go/pkg/mod/sigs.k8s.io/controlle...@v0.9.2/pkg/manager/manager.go:312\ngithub.com/operator-framework/operator-sdk/internal/cmd/ansible-operator/run.run\n\t/workspace/internal/cmd/ansible-operator/run/cmd.go:191\ngithub.com/operator-framework/operator-sdk/internal/cmd/ansible-operator/run.NewCmd.func1\n\t/workspace/internal/cmd/ansible-operator/run/cmd.go:79\ngithub.com/spf13/cobra.(*Command).execute\n\t/go/pkg/mod/github.com/spf13/co...@v1.1.3/command.go:856\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/go/pkg/mod/github.com/spf13/co...@v1.1.3/command.go:960\ngithub.com/spf13/cobra.(*Command).Execute\n\t/go/pkg/mod/github.com/spf13/co...@v1.1.3/command.go:897\nmain.main\n\t/workspace/cmd/ansible-operator/main.go:40\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:225"}
{"level":"error","ts":1642466454.5482223,"logger":"cmd","msg":"Failed to create a new manager.","Namespace":"awx","error":"Get \"https://10.96.0.1:443/api?timeout=32s\": dial tcp 10.96.0.1:443: connect: no route to host","stacktrace":"github.com/operator-framework/operator-sdk/internal/cmd/ansible-operator/run.NewCmd.func1\n\t/workspace/internal/cmd/ansible-operator/run/cmd.go:79\ngithub.com/spf13/cobra.(*Command).execute\n\t/go/pkg/mod/github.com/spf13/co...@v1.1.3/command.go:856\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/go/pkg/mod/github.com/spf13/co...@v1.1.3/command.go:960\ngithub.com/spf13/cobra.(*Command).Execute\n\t/go/pkg/mod/github.com/spf13/co...@v1.1.3/command.go:897\nmain.main\n\t/workspace/cmd/ansible-operator/main.go:40\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:225"}


Anyone have the solution for this problem ?
Thank you

Tchello Mello

unread,
Jan 19, 2022, 3:36:06 PM1/19/22
to AWX Project
Hello, 

    It looks the awx-operator is unable to bind your k8s-apiserver. If you connect to the awx-operator, are you able to bind the k8s-api from there? 

    Have you checked if you k8s-apiserver is running? The problem seems outside of the AWX and more into the K8S realm.  

    Could you try it again and provide more information about your k8s env so we can better assist you? 

 Thanks

Reply all
Reply to author
Forward
0 new messages