facing issue during setup k8s in openstack #1947
shubhendu1982
started this conversation in
General
Replies: 1 comment
-
Hello @shubhendu1982, This might be an issue with the cloud-config file. I recommend checking the kubelet logs. You can SSH to the affected node ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting the below error log while running kubeone apply for creating a cluster
INFO[10:46:20 UTC] Initializing Kubernetes on leader...
INFO[10:46:20 UTC] Running kubeadm... node=192.168.1.44
[192.168.1.44] + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/usr/local/bin:/opt/bin
[192.168.1.44] + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin:/usr/local/bin:/opt/bin
[192.168.1.44] + [[ -f /etc/kubernetes/admin.conf ]]
[192.168.1.44] + sudo kubeadm --v=6 token create hiq1wc.duffb0rcwog33uhh --ttl 1h0m0s
[192.168.1.44] I0217 10:46:20.847457 21592 token.go:121] [token] validating mixed arguments
[192.168.1.44] I0217 10:46:20.847516 21592 token.go:130] [token] getting Clientsets from kubeconfig file
[192.168.1.44] I0217 10:46:20.847533 21592 cmdutil.go:80] Using kubeconfig file: /etc/kubernetes/admin.conf
[192.168.1.44] I0217 10:46:20.848441 21592 loader.go:379] Config loaded from file: /etc/kubernetes/admin.conf
[192.168.1.44] I0217 10:46:20.849097 21592 token.go:245] [token] loading configurations
[192.168.1.44] I0217 10:46:20.849263 21592 interface.go:400] Looking for default routes with IPv4 addresses
[192.168.1.44] I0217 10:46:20.849272 21592 interface.go:405] Default route transits interface "ens3"
[192.168.1.44] I0217 10:46:20.849383 21592 interface.go:208] Interface ens3 is up
[192.168.1.44] I0217 10:46:20.849432 21592 interface.go:256] Interface "ens3" has 2 addresses :[192.168.1.44/24 fe80::f816:3eff:fecf:4b69/64].
[192.168.1.44] I0217 10:46:20.849446 21592 interface.go:223] Checking addr 192.168.1.44/24.
[192.168.1.44] I0217 10:46:20.849452 21592 interface.go:230] IP found 192.168.1.44
[192.168.1.44] I0217 10:46:20.849457 21592 interface.go:262] Found valid IPv4 address 192.168.1.44 for interface "ens3".
[192.168.1.44] I0217 10:46:20.849461 21592 interface.go:411] Found active IP 192.168.1.44
[192.168.1.44] I0217 10:46:20.852912 21592 token.go:252] [token] creating token
[192.168.1.44] I0217 10:46:20.858051 21592 round_trippers.go:445] GET https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s in 5 milliseconds
[192.168.1.44] I0217 10:46:20.858083 21592 request.go:943] Got a Retry-After 1s response for attempt 1 to https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s
[192.168.1.44] I0217 10:46:21.859547 21592 round_trippers.go:445] GET https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s in 1 milliseconds
[192.168.1.44] I0217 10:46:21.859608 21592 request.go:943] Got a Retry-After 1s response for attempt 2 to https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s
[192.168.1.44] I0217 10:46:22.861430 21592 round_trippers.go:445] GET https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s in 1 milliseconds
[192.168.1.44] I0217 10:46:22.861482 21592 request.go:943] Got a Retry-After 1s response for attempt 3 to https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s
[192.168.1.44] I0217 10:46:23.863153 21592 round_trippers.go:445] GET https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s in 1 milliseconds
[192.168.1.44] I0217 10:46:23.863203 21592 request.go:943] Got a Retry-After 1s response for attempt 4 to https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s
[192.168.1.44] I0217 10:46:24.864739 21592 round_trippers.go:445] GET https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s in 1 milliseconds
[192.168.1.44] I0217 10:46:24.864807 21592 request.go:943] Got a Retry-After 1s response for attempt 5 to https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s
[192.168.1.44] I0217 10:46:25.866935 21592 round_trippers.go:445] GET https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s in 1 milliseconds
[192.168.1.44] I0217 10:46:25.866959 21592 request.go:943] Got a Retry-After 1s response for attempt 6 to https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s
[192.168.1.44] I0217 10:46:26.868807 21592 round_trippers.go:445] GET https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s in 1 milliseconds
[192.168.1.44] I0217 10:46:26.868828 21592 request.go:943] Got a Retry-After 1s response for attempt 7 to https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s
[192.168.1.44] I0217 10:46:27.870552 21592 round_trippers.go:445] GET https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s in 1 milliseconds
[192.168.1.44] I0217 10:46:27.870569 21592 request.go:943] Got a Retry-After 1s response for attempt 8 to https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s
[192.168.1.44] I0217 10:46:28.871875 21592 round_trippers.go:445] GET https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s in 1 milliseconds
[192.168.1.44] I0217 10:46:28.871893 21592 request.go:943] Got a Retry-After 1s response for attempt 9 to https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s
[192.168.1.44] I0217 10:46:29.873764 21592 round_trippers.go:445] GET https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s in 1 milliseconds
[192.168.1.44] I0217 10:46:29.873811 21592 request.go:943] Got a Retry-After 1s response for attempt 10 to https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets/bootstrap-token-hiq1wc?timeout=10s
[192.168.1.44] I0217 10:46:30.875622 21592 round_trippers.go:445] POST https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets?timeout=10s in 1 milliseconds
[192.168.1.44] I0217 10:46:35.878375 21592 round_trippers.go:445] POST https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets?timeout=10s in 2 milliseconds
[192.168.1.44] I0217 10:46:45.881303 21592 round_trippers.go:445] POST https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets?timeout=10s in 2 milliseconds
[192.168.1.44] I0217 10:47:05.887300 21592 round_trippers.go:445] POST https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets?timeout=10s in 5 milliseconds
[192.168.1.44] I0217 10:47:45.893715 21592 round_trippers.go:445] POST https://10.133.242.15:6443/api/v1/namespaces/kube-system/secrets?timeout=10s in 5 milliseconds
[192.168.1.44] timed out waiting for the condition
WARN[10:47:46 UTC] Task failed, error was: Process exited with status 1
can you please help me to fix the issue
I am using below version and able to ssh into all worker nodes without any problem
{
"kubeone": {
"major": "1",
"minor": "3",
"gitVersion": "1.3.3",
"gitCommit": "6ef9df813469582343b1feef66849c3bf81aa956",
"gitTreeState": "",
"buildDate": "2021-12-16T14:55:28Z",
"goVersion": "go1.17.5",
"compiler": "gc",
"platform": "linux/amd64"
},
"machine_controller": {
"major": "1",
"minor": "37",
"gitVersion": "v1.37.2",
"gitCommit": "",
"gitTreeState": "",
"buildDate": "",
"goVersion": "",
"compiler": "",
"platform": "linux/amd64"
}
}
Beta Was this translation helpful? Give feedback.
All reactions