Streaming server stopped unexpectedly: listen tcp x.x.x.x:0: bind: cannot assign requested address
This document (000020350) is provided subject to the disclaimer at the end of this document.
Adding a new node to an existing cluster stuck in “registering”.
Kubelet pod is in
Restarting state on the new node.
$ docker ps -a |grep kubelet
66bd40b36e76 rancher/hyperkube:v1.20.4-rancher1 "/opt/rke-tools/entr…" 7 minutes ago Restarting (255) 32 seconds ago kubelet
The kubelet is failing with below error.
$ docker logs kubelet
"2021-07-26T11:13:48.270162766Z F0726 11:13:48.270086 40730 docker_service.go:415] Streaming server stopped unexpectedly: listen tcp 220.127.116.11:0: bind: cannot assign requested address"
/etc/hostsfile with the correct entry.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4After updating the file, the kubelet will restart itself and pick up the modified /etc/host file to bind to the loopback IP.
18.104.22.168 localhost localhost.localdomain localhost4 localhost4.localdomain4
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020350
- Creation Date: 27-Jul-2021
- Modified Date:12-Aug-2021
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: email@example.com