You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Checking OpenShift client ... OK
-- Checking Docker client ... OK
-- Checking Docker version ... OK
-- Checking for existing OpenShift container ...
Deleted existing OpenShift container
-- Checking for openshift/origin:v3.6.0 image ... OK
-- Checking Docker daemon configuration ... OK
-- Checking for available ports ... OK
-- Checking type of volume mount ...
Using Docker shared volumes for OpenShift volumes
-- Creating host directories ... OK
-- Finding server IP ...
Using 127.0.0.1 as the server IP
-- Joining OpenShift cluster ...
Starting OpenShift Node using container 'origin'
Waiting for server to start listening
FAIL
Error: timed out waiting for OpenShift container "origin"
Details:
No log available from "origin" container
$ docker logs origin
I1105 22:15:18.989870 10732 bootstrap_node.go:266] Bootstrapping from API server https://jerd.patrikdufresne.com:8443 (experimental)
I1105 22:15:24.269381 10732 docker.go:364] Connecting to docker on unix:///var/run/docker.sock
I1105 22:15:24.269410 10732 docker.go:384] Start docker client with request timeout=2m0s
W1105 22:15:24.270999 10732 cni.go:157] Unable to update cni config: No networks found in /etc/cni/net.d
I1105 22:15:24.285513 10732 start_node.go:345] Starting node skelly (v3.6.0+c4dd4cf)
I1105 22:15:24.287322 10732 start_node.go:354] Connecting to API server https://jerd.patrikdufresne.com:8443
I1105 22:15:24.287465 10732 docker.go:364] Connecting to docker on unix:///var/run/docker.sock
I1105 22:15:24.287488 10732 docker.go:384] Start docker client with request timeout=2m0s
I1105 22:15:24.288557 10732 node.go:134] Connecting to Docker at unix:///var/run/docker.sock
I1105 22:15:24.294198 10732 feature_gate.go:144] feature gates: map[]
I1105 22:15:24.294976 10732 manager.go:143] cAdvisor running in container: "/docker/a9d1becb1e26a1b39f1a5d31f778ccf9b036fcb12a2b2a1aef42b5dd022ae27f"
I1105 22:15:24.298434 10732 node.go:348] Using iptables Proxier.
W1105 22:15:24.300228 10732 node.go:488] Failed to retrieve node info: nodes "skelly" not found
W1105 22:15:24.300315 10732 proxier.go:309] invalid nodeIP, initializing kube-proxy with 127.0.0.1 as nodeIP
W1105 22:15:24.300334 10732 proxier.go:314] clusterCIDR not specified, unable to distinguish between internal and external traffic
I1105 22:15:24.300350 10732 node.go:380] Tearing down userspace rules.
W1105 22:15:24.307926 10732 manager.go:151] unable to connect to Rkt api service: rkt: cannot tcp Dial rkt api service: dial tcp [::1]:15441: getsockopt: connection refused
I1105 22:15:24.320658 10732 fs.go:117] Filesystem partitions: map[/dev/vda1:{mountpoint:/rootfs major:254 minor:1 fsType:ext4 blockSize:0} overlay:{mountpoint:/ major:0 minor:38 fsType:overlay blockSize:0}]
I1105 22:15:24.322495 10732 manager.go:198] Machine: {NumCores:4 CpuFrequency:2400084 MemoryCapacity:4147773440 MachineID:9bb73c7811bc4896bed7fbbefabd6cea SystemUUID:9FDDE162-DDCC-44A5-93BB-06A28C34B506 BootID:f65e32b6-4302-49c1-abe5-9b22b66da3e8 Filesystems:[{Device:/dev/vda1 DeviceMajor:254 DeviceMinor:1 Capacity:122061389824 Type:vfs Inodes:7602176 HasInodes:true} {Device:overlay DeviceMajor:0 DeviceMinor:38 Capacity:122061389824 Type:vfs Inodes:7602176 HasInodes:true}] DiskMap:map[254:0:{Name:vda Major:254 Minor:0 Size:128849018880 Scheduler:none}] NetworkDevices:[{Name:ens18 MacAddress:a2:cb:8c:f2:47:b0 Speed:-1 Mtu:1500}] Topology:[{Id:0 Memory:4147773440 Cores:[{Id:0 Threads:[0] Caches:[{Size:32768 Type:Data Level:1} {Size:32768 Type:Instruction Level:1} {Size:4194304 Type:Unified Level:2}]} {Id:1 Threads:[1] Caches:[{Size:32768 Type:Data Level:1} {Size:32768 Type:Instruction Level:1} {Size:4194304 Type:Unified Level:2}]} {Id:2 Threads:[2] Caches:[{Size:32768 Type:Data Level:1} {Size:32768 Type:Instruction Level:1} {Size:4194304 Type:Unified Level:2}]} {Id:3 Threads:[3] Caches:[{Size:32768 Type:Data Level:1} {Size:32768 Type:Instruction Level:1} {Size:4194304 Type:Unified Level:2}]}] Caches:[{Size:16777216 Type:Unified Level:3}]}] CloudProvider:Unknown InstanceType:Unknown InstanceID:None}
I1105 22:15:24.323403 10732 manager.go:204] Version: {KernelVersion:4.9.0-3-amd64 ContainerOsVersion:CentOS Linux 7 (Core) DockerVersion:17.09.0-ce DockerAPIVersion:1.32 CadvisorVersion: CadvisorRevision:}
I1105 22:15:24.324265 10732 server.go:509] --cgroups-per-qos enabled, but --cgroup-root was not specified. defaulting to /
W1105 22:15:24.326477 10732 container_manager_linux.go:217] Running with swap on is not supported, please disable swap! This will be a fatal error by default starting in K8s v1.6! In the meantime, you can opt-in to making this a fatal error by enabling --experimental-fail-swap-on.
I1105 22:15:24.326569 10732 container_manager_linux.go:244] container manager verified user specified cgroup-root exists: /
I1105 22:15:24.326599 10732 container_manager_linux.go:249] Creating Container Manager object based on Node Config: {RuntimeCgroupsName: SystemCgroupsName: KubeletCgroupsName: ContainerRuntime:docker CgroupsPerQOS:true CgroupRoot:/ CgroupDriver:systemd ProtectKernelDefaults:false EnableCRI:true NodeAllocatableConfig:{KubeReservedCgroupName: SystemReservedCgroupName: EnforceNodeAllocatable:map[pods:{}] KubeReserved:map[] SystemReserved:map[] HardEvictionThresholds:[{Signal:memory.available Operator:LessThan Value:{Quantity:100Mi Percentage:0} GracePeriod:0s MinReclaim:<nil>}]} ExperimentalQOSReserved:map[]}
I1105 22:15:24.326784 10732 kubelet.go:265] Watching apiserver
W1105 22:15:24.327356 10732 kubelet.go:417] Invalid clusterDNS ip '""'
W1105 22:15:24.333196 10732 kubelet_network.go:70] Hairpin mode set to "promiscuous-bridge" but kubenet is not enabled, falling back to "hairpin-veth"
I1105 22:15:24.333230 10732 kubelet.go:494] Hairpin mode set to "hairpin-veth"
W1105 22:15:24.336789 10732 cni.go:157] Unable to update cni config: No networks found in /etc/cni/net.d
I1105 22:15:24.354641 10732 docker_service.go:184] Docker cri networking managed by kubernetes.io/no-op
F1105 22:15:24.364394 10732 node.go:281] failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup driver: "systemd" is different from docker cgroup driver: "cgroupfs"
So basically, kubelet is mis configure and I dont know why. I have no clue how to get this fixed.
Expected Result
I'm expecting the bootstrap to work.
The text was updated successfully, but these errors were encountered:
failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup driver: "systemd" is different from docker cgroup driver: "cgroupfs"
As the log indicates, there is a mismatch between docker and kubelet's cgroup-driver configuration. Following should be helpful: kubernetes/kubernetes#43805 (comment)
Try adding --cgroup-driver=systemd to kubelet args.
I'm trying to use
oc cluster join
to add a new node to a running master.Version
oc v3.6.0+c4dd4cf
kubernetes v1.6.1+5115d708d7
features: Basic-Auth GSSAPI Kerberos SPNEGO
Server https://jerd.patrikdufresne.com:8443
openshift v3.6.0+c4dd4cf
kubernetes v1.6.1+5115d708d7
Steps To Reproduce
/usr/local/bin/oc cluster up --use-existing-config --public-hostname jerd.patrikdufresne.com --routing-suffix oc.patrikdufresne.com --host-data-dir /srv --host-config-dir /var/lib/origin/openshift.local.config --logging
oc observe csr -- oc adm certificate approve
oc cluster join
Current Result
The command
oc cluster join
is failing.So basically, kubelet is mis configure and I dont know why. I have no clue how to get this fixed.
Expected Result
I'm expecting the bootstrap to work.
The text was updated successfully, but these errors were encountered: