Vinoth,

Weird. Just as an experiment, can you try different values of TLS
versions on the curl command line?

     --tlsv1.0       Use TLSv1.0 (SSL)  <<< This is VersionTLS10 = 0x0301
     --tlsv1.1       Use TLSv1.1 (SSL)  <<< This is VersionTLS10 = 0x0302
     --tlsv1.2       Use TLSv1.2 (SSL)  <<< This is VersionTLS10 = 0x0303

Thanks,
dims

On Wed, Jul 13, 2016 at 7:09 AM, Vinoth Narasimhan <[email protected]> wrote:
> Environment: Kubernetes in AWS
>
> Previously i tried 30+ times in version Kubernetes 1.2.4 on AWS . It works
> flawless all the times.
>
> Today when i tried the same with fresh new cluster with kubernetes version
> 1.3.0 . The cluster initialisation loops forever for 30 minutes
>
> ```
> Creating autoscaling group
>  0 minions started; waiting
>  0 minions started; waiting
>  0 minions started; waiting
>  0 minions started; waiting
>  5 minions started; ready
> Waiting for cluster initialization.
>
>   This will continually check to see if the API for kubernetes is reachable.
>   This might loop forever if there was some uncaught error during start
>   up.
>
> .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> ```
>
> kube version
>
> ```
> kubectl version
> Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.0",
> GitCommit:"283137936a498aed572ee22af6774b6fb6e9fd94", GitTreeState:"clean",
> BuildDate:"2016-07-01T19:26:38Z", GoVersion:"go1.6.2", Compiler:"gc",
> Platform:"linux/amd64"}
> ```
>
> I go and checked each of the nodes with "docker ps" , and all of the nodes
> responded.
>
> The below are the kube-apiserver logs from Master.
>
> ```
> tail -f /var/log/kube-apiserver.log
> I0707 10:46:01.682375       7 handlers.go:165] PUT
> /api/v1/nodes/ip-172-20-0-57.us-west-2.compute.internal/status: (3.478826ms)
> 200 [[kubelet/v1.3.0 (linux/amd64) kubernetes/2831379] 172.20.0.57:39608]
> I0707 10:46:03.321912       7 logs.go:41] http: TLS handshake error from
> 182.74.106.3:37435: tls: client offered an unsupported, maximum protocol
> version of 301
> I0707 10:46:03.684879       7 handlers.go:165] GET /api/v1/nodes:
> (2.205527ms) 200 [[pod_nanny/v0.0.0 (linux/amd64) kubernetes/$Format]
> 172.20.0.57:56892]
> I0707 10:46:03.688692       7 handlers.go:165] GET
> /api/v1/namespaces/kube-system/pods/heapster-v1.1.0-3166934156-x3pqp:
> (1.511805ms) 200 [[pod_nanny/v0.0.0 (linux/amd64) kubernetes/$Format]
> 172.20.0.57:56892]
> I0707 10:46:03.719907       7 handlers.go:165] GET /api/v1/nodes:
> (1.735749ms) 200 [[pod_nanny/v0.0.0 (linux/amd64) kubernetes/$Format]
> 172.20.0.57:56894]
> I0707 10:46:03.723690       7 handlers.go:165] GET
> /api/v1/namespaces/kube-system/pods/heapster-v1.1.0-3166934156-x3pqp:
> (1.531456ms) 200 [[pod_nanny/v0.0.0 (linux/amd64) kubernetes/$Format]
> 172.20.0.57:56894]
> I0707 10:46:04.832582       7 handlers.go:165] GET /healthz: (98.701µs) 200
> [[Go-http-client/1.1] 127.0.0.1:55365]
> I0707 10:46:05.082949       7 handlers.go:165] GET /api/v1/nodes:
> (1.584727ms) 200 [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/node-controller] 127.0.0.1:55358]
> I0707 10:46:05.244386       7 handlers.go:165] GET
> /api/v1/nodes/ip-172-20-0-58.us-west-2.compute.internal: (1.078198ms) 200
> [[kubelet/v1.3.0 (linux/amd64) kubernetes/2831379] 172.20.0.58:34755]
> I0707 10:46:05.252279       7 handlers.go:165] PUT
> /api/v1/nodes/ip-172-20-0-58.us-west-2.compute.internal/status: (3.069901ms)
> 200 [[kubelet/v1.3.0 (linux/amd64) kubernetes/2831379] 172.20.0.58:34755]
> I0707 10:46:05.962474       7 handlers.go:165] GET
> /api/v1/nodes/ip-172-20-0-54.us-west-2.compute.internal: (1.352055ms) 200
> [[kubelet/v1.3.0 (linux/amd64) kubernetes/2831379] 172.20.0.54:55878]
> I0707 10:46:05.968562       7 logs.go:41] http: TLS handshake error from
> 182.74.106.3:37436: tls: client offered an unsupported, maximum protocol
> version of 301
> I0707 10:46:05.971862       7 handlers.go:165] PUT
> /api/v1/nodes/ip-172-20-0-54.us-west-2.compute.internal/status: (3.127346ms)
> 200 [[kubelet/v1.3.0 (linux/amd64) kubernetes/2831379] 172.20.0.54:55878]
> I0707 10:46:07.210960       7 handlers.go:165] GET
> /api/v1/nodes/ip-172-20-0-56.us-west-2.compute.internal: (1.406006ms) 200
> [[kubelet/v1.3.0 (linux/amd64) kubernetes/2831379] 172.20.0.56:57991]
> I0707 10:46:07.221951       7 handlers.go:165] PUT
> /api/v1/nodes/ip-172-20-0-56.us-west-2.compute.internal/status: (3.563008ms)
> 200 [[kubelet/v1.3.0 (linux/amd64) kubernetes/2831379] 172.20.0.56:57991]
> I0707 10:46:08.619418       7 logs.go:41] http: TLS handshake error from
> 182.74.106.3:37437: tls: client offered an unsupported, maximum protocol
> version of 301
> I0707 10:46:08.640468       7 handlers.go:165] GET
> /api/v1/watch/secrets?fieldSelector=type%3Dkubernetes.io%2Fservice-account-token&resourceVersion=15&timeoutSeconds=573:
> (9m33.000413463s) 200 [[kube-apiserver/v1.3.0 (linux/amd64)
> kubernetes/2831379] 127.0.0.1:51381]
> I0707 10:46:09.977067       7 handlers.go:165] GET /api/v1/nodes:
> (1.621331ms) 200 [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/route-controller] 127.0.0.1:55358]
> I0707 10:46:09.978726       7 handlers.go:165] GET
> /api/v1/nodes/ip-172-20-0-54.us-west-2.compute.internal: (917.251µs) 200
> [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/route-controller] 127.0.0.1:55358]
> I0707 10:46:09.980799       7 handlers.go:165] PUT
> /api/v1/nodes/ip-172-20-0-54.us-west-2.compute.internal/status: (1.555254ms)
> 200 [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/route-controller] 127.0.0.1:55358]
> I0707 10:46:09.982049       7 handlers.go:165] GET
> /api/v1/nodes/ip-172-20-0-55.us-west-2.compute.internal: (811.358µs) 200
> [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/route-controller] 127.0.0.1:55358]
> I0707 10:46:09.983941       7 handlers.go:165] PUT
> /api/v1/nodes/ip-172-20-0-55.us-west-2.compute.internal/status: (1.375196ms)
> 200 [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/route-controller] 127.0.0.1:55358]
> I0707 10:46:09.985281       7 handlers.go:165] GET
> /api/v1/nodes/ip-172-20-0-56.us-west-2.compute.internal: (894.413µs) 200
> [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/route-controller] 127.0.0.1:55358]
> I0707 10:46:09.987236       7 handlers.go:165] PUT
> /api/v1/nodes/ip-172-20-0-56.us-west-2.compute.internal/status: (1.474856ms)
> 200 [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/route-controller] 127.0.0.1:55358]
> I0707 10:46:09.988493       7 handlers.go:165] GET
> /api/v1/nodes/ip-172-20-0-57.us-west-2.compute.internal: (856.196µs) 200
> [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/route-controller] 127.0.0.1:55358]
> I0707 10:46:09.990389       7 handlers.go:165] PUT
> /api/v1/nodes/ip-172-20-0-57.us-west-2.compute.internal/status: (1.414768ms)
> 200 [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/route-controller] 127.0.0.1:55358]
> I0707 10:46:09.991670       7 handlers.go:165] GET
> /api/v1/nodes/ip-172-20-0-58.us-west-2.compute.internal: (851.331µs) 200
> [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/route-controller] 127.0.0.1:55358]
> I0707 10:46:09.993575       7 handlers.go:165] PUT
> /api/v1/nodes/ip-172-20-0-58.us-west-2.compute.internal/status: (1.359682ms)
> 200 [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/route-controller] 127.0.0.1:55358]
> I0707 10:46:10.085520       7 handlers.go:165] GET /api/v1/nodes:
> (1.539579ms) 200 [[kube-controller-manager/v1.3.0 (linux/amd64)
> kubernetes/2831379/node-controller] 127.0.0.1:55358]
> I0707 10:46:10.648457       7 handlers.go:165] GET
> /api/v1/nodes/ip-172-20-0-55.us-west-2.compute.internal: (1.396064ms) 200
> [[kubelet/v1.3.0 (linux/amd64) kubernetes/2831379] 172.20.0.55:47727]
> I0707 10:46:10.658403       7 handlers.go:165] PUT
> /api/v1/nodes/ip-172-20-0-55.us-west-2.compute.internal/status: (5.005459ms)
> 200 [[kubelet/v1.3.0 (linux/amd64) kubernetes/2831379] 172.20.0.55:47727]
> I0707 10:46:11.271671       7 logs.go:41] http: TLS handshake error from
> 182.74.106.3:37438: tls: client offered an unsupported, maximum protocol
> version of 301
> I0707 10:46:11.684834       7 handlers.go:165] GET
> /api/v1/nodes/ip-172-20-0-57.us-west-2.compute.internal: (1.328298ms) 200
> [[kubelet/v1.3.0 (linux/amd64) kubernetes/2831379] 172.20.0.57:39608]
> I0707 10:46:11.693274       7 handlers.go:165] PUT
> /api/v1/nodes/ip-172-20-0-57.us-west-2.compute.internal/status: (2.990194ms)
> 200 [[kubelet/v1.3.0 (linux/amd64) kubernetes/2831379] 172.20.0.57:39608]
>
> ```
>
> In particular
>
> I0707 10:46:05.968562       7 logs.go:41] http: TLS handshake error from
> 182.74.106.3:37436: tls: client offered an unsupported, maximum protocol
> version of 301
>
> While Debugging the util.sh it get stucks at the call
>
>  curl --insecure --user admin:fzZzkn18jGAv7Q66 --max-time 5 --fail --output
> /dev/null --silent https://52.36.190.215/healthz
>
>
> If anyone has idea what went wrong with the client. With the same client we
> able to up the cluster on version 1.2.4
>
> --
> You received this message because you are subscribed to the Google Groups
> "Containers at Google" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/google-containers.
> For more options, visit https://groups.google.com/d/optout.



-- 
Davanum Srinivas :: https://twitter.com/dims

-- 
You received this message because you are subscribed to the Google Groups 
"Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to