Skip to content

helm commands error with "socat not found" #1371

@ligc

Description

@ligc

I am using the latest helm v2.0.0-alpha.5 in my Ubuntu 16.04 Kubernetes cluster, the installation went well, I downloaded the binary and installed helm using helm init without any problem. But when I tried to run any helm command, it returns with error "socat not found"

root@c910f04x19k07:~/linux-amd64# ./helm version
Client: &version.Version{SemVer:"v2.0.0-alpha.5", GitCommit:"a324146945c01a1e2dd7eaf23caf0e55fabfd3d2", GitTreeState:"clean"}
E1014 02:26:30.145559   16134 portforward.go:329] an error occurred forwarding 40276 -> 44134: error forwarding port 44134 to pod tiller-deploy-2117266891-e4lev_kube-system, uid : unable to do port forwarding: socat not found.
2016/10/14 02:26:30 transport: http2Client.notifyError got notified that the client transport was broken EOF.
Error: rpc error: code = 13 desc = transport is closing
root@c910f04x19k07:~/linux-amd64# ./helm list
E1014 02:26:32.885226   16143 portforward.go:329] an error occurred forwarding 37008 -> 44134: error forwarding port 44134 to pod tiller-deploy-2117266891-e4lev_kube-system, uid : unable to do port forwarding: socat not found.
2016/10/14 02:26:32 transport: http2Client.notifyError got notified that the client transport was broken EOF.
Error: transport is closing
root@c910f04x19k07:~/linux-amd64# 

The socat is installed on all the Kubernetes nodes:

root@c910f04x19k07:~/linux-amd64# kubectl get nodes
NAME                                STATUS    AGE
c910f04x19k08.pok.stglabs.ibm.com   Ready     23h
c910f04x19k09.pok.stglabs.ibm.com   Ready     23h
root@c910f04x19k07:~/linux-amd64# which socat
/usr/bin/socat
root@c910f04x19k07:~/linux-amd64# 

root@c910f04x19k08:~# which socat
/usr/bin/socat
root@c910f04x19k08:~# 

root@c910f04x19k09:~# which socat
/usr/bin/socat
root@c910f04x19k09:~# 

#966 and #1183 do not seem to help.

Any suggestion on what might be going wrong? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions