oomichi / try-kubernetes

12 stars 5 forks source link

Failed to run all e2e tests on v1.13 #70

Closed oomichi closed 5 years ago

oomichi commented 5 years ago
Dec 28 22:47:01.184: INFO: >>> kubeConfig: /home/ubuntu/admin.conf
Dec 28 22:47:01.186: INFO: Waiting up to 30m0s for all (but 0) nodes to be schedulable
Dec 28 22:47:19.209: INFO: Unexpected error listing nodes: Get https://192.168.1.115:6443/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&resourceVersion=0: dial tcp 192.168.1.115:6443: connect: no route to host
Dec 28 22:47:19.209: INFO: Unexpected error occurred: Get https://192.168.1.115:6443/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&resourceVersion=0: dial tcp 192.168.1.115:6443: connect: no route to host
ESC[91mESC[1mFailure [18.025 seconds]ESC[0m
ESC[91mESC[1m[BeforeSuite] BeforeSuite ESC[0m
ESC[37m_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:67ESC[0m

  ESC[91mExpected error:
      <*url.Error | 0xc001804000>: {
          Op: "Get",
          URL: "https://192.168.1.115:6443/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&resourceVersion=0",
          Err: {
              Op: "dial",
              Net: "tcp",
              Source: nil,
              Addr: {
                  IP: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 192, 168, 1, 115],
                  Port: 6443,
                  Zone: "",
              },
              Err: {Syscall: "connect", Err: 0x71},
          },
      }
      Get https://192.168.1.115:6443/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&resourceVersion=0: dial tcp 192.168.1.115:6443: connect: no route to host
  not to have occurredESC[0m

  _output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:101
oomichi commented 5 years ago

シェルを以下のように修正して対応・・

export KUBE_MASTER_IP="192.168.1.102:6443"