Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running provisioning: something went wrong running an SSH command #695

Closed
burrsutter opened this issue Apr 6, 2017 · 4 comments
Closed

Comments

@burrsutter
Copy link

burrsutter commented Apr 6, 2017

C:\Users\burr\minishift_beta3>minishift version
Minishift version: 1.0.0-beta.5
CDK Version: 3.0.0-beta.3

C:\Users\burr\minishift_beta3>minishift start
Starting local OpenShift cluster using 'virtualbox' hypervisor...
E0406 08:28:53.356425    6152 start.go:162] Error starting the VM: Error creating the VM. Error creating machine: Error running provisioning: something went wrong running an SSH command
command : sudo hostname minishift && echo "minishift" | sudo tee /etc/hostname
err     : The handle is invalid.
output  : . Retrying.
E0406 08:28:57.393092    6152 start.go:162] Error starting the VM: Error configuring authorization on host: something went wrong running an SSH command
command : sudo hostname minishift && echo "minishift" | sudo tee /etc/hostname
err     : The handle is invalid.
output  : . Retrying.
@coolbrg
Copy link
Contributor

coolbrg commented Apr 6, 2017

Hi @burrsutter ,

Bit of incomplete information here.

What is minishift config view result?

C:\Users\burr\minishift_beta3>minishift start
Starting local OpenShift cluster using 'virtualbox' hypervisor...

Have you set the vm-driver to virtualbox before running start command?

I doubt you actually hit by this issue https://issues.jboss.org/browse/CDK-70.

@burrsutter , this happens when you don't have ssh.exe binary set in your PATH.

We have observed that installing OpenSSH for Windows resolve above issue.

Please have a look and let us know.

@hferentschik hferentschik changed the title E0406 08:28:53.356425 6152 start.go:162] Error starting the VM: Error creating the VM. Error creating machine: Error running provisioning: something went wrong running an SSH command Error running provisioning: something went wrong running an SSH command Apr 7, 2017
@praveenkumar
Copy link
Contributor

@burrsutter still you are facing same issue or should we close this issue?

@brandonforster
Copy link

I came across this same issue trying to install OpenShift on a Windows 7 machine. A Google search brought me to this issue, and I can confirm that installing OpenSSH and restarting my command prompt fixed the issue.

I hope you find this report useful.

@LalatenduMohanty
Copy link
Member

With recent change in Minishift code we do not have a dependency on SSHClient i.e. #1009. Hence closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants