rancher: Heapster failed on k8s 1.7.2

Rancher versions: rancher/server: v1.6.6

Infrastructure Stack versions: kubernetes (if applicable): rancher/k8s:v1.7.2-rancher5

Docker version: (docker version,docker info preferred)

docker version
Client:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   78d1802
 Built:        Tue Jan 10 20:26:30 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.6
 API version:  1.24
 Go version:   go1.6.4
 Git commit:   78d1802
 Built:        Tue Jan 10 20:26:30 2017
 OS/Arch:      linux/amd64
docker info
Containers: 46
 Running: 37
 Paused: 0
 Stopped: 9
Images: 33
Server Version: 1.12.6
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 276
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local rancher-nfs
 Network: host null bridge overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 4.4.0-62-generic
Operating System: Ubuntu 14.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 31.42 GiB
Name: ra-worker1
ID: MLL5:R6B6:TL7B:SBFU:6XYI:MZC7:ANRL:XQXO:UIVL:JOPR:PNUT:CGXJ
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Labels:
 provider=we87
Insecure Registries:
 127.0.0.0/8

Operating system and kernel: (cat /etc/os-release, uname -r preferred)

cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

uname -r
4.4.0-62-generic

Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)

aliyun

Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB) single node rancher, external DB

Environment Template: (Cattle/Kubernetes/Swarm/Mesos)

Kubernetes

Steps to Reproduce:

  • Install rancher v1.6.6
  • Deploy k8s environment
  • Check the log of running heapster

Results:

8/2/2017 8:51:05 AME0802 00:51:05.000295 1 kubelet.go:280] Node ra-master0 has no valid hostname and/or IP address: ra-master0 8/2/2017 8:51:05 AME0802 00:51:05.000302 1 kubelet.go:280] Node ra-worker0 has no valid hostname and/or IP address: ra-worker0 8/2/2017 8:51:05 AME0802 00:51:05.000307 1 kubelet.go:280] Node ra-worker1 has no valid hostname and/or IP address: ra-worker1 8/2/2017 8:51:05 AME0802 00:51:05.000313 1 kubelet.go:280] Node ra-worker2 has no valid hostname and/or IP address: ra-worker2 8/2/2017 8:52:05 AME0802 00:52:05.000352 1 kubelet.go:280] Node ra-worker3 has no valid hostname and/or IP address: ra-worker3

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (1 by maintainers)

Commits related to this issue

Most upvoted comments

@deniseschannon sorry for late reply, and thx @laszlocph

I tried on a fresh cluster with k8s switching to v1.7.2-rancher7, this issue seems to be fixed. 👍