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

Vagrant, ssh-authorization fails on restart #161

Closed
indeyets opened this issue Mar 5, 2015 · 7 comments
Closed

Vagrant, ssh-authorization fails on restart #161

indeyets opened this issue Mar 5, 2015 · 7 comments
Labels
area/packaging kind/bug Issues that are defects reported by users or that we know have reached a real release

Comments

@indeyets
Copy link

indeyets commented Mar 5, 2015

We set up rancher in Vagrant. It seems to work on the first run, but after the restart ssh-key is no longer accepted and we have to re-create the VM.

On the first run there is a notification about replacing insecure key. I wonder if that is related somehow.

@indeyets
Copy link
Author

indeyets commented Mar 5, 2015

seems to be related to hashicorp/vagrant#5153 and hashicorp/vagrant#5219 (Vagrant 1.7 issue)

@indeyets
Copy link
Author

indeyets commented Mar 5, 2015

adding config.ssh.insert_key = false to Vagrantfile might help. testing it now

@karlingen
Copy link

It might help the first time with config.ssh.insert_key = false, but after a virtualbox or vagrant upgrade you will get the password prompt again. At least that's what happened to me.

@vincent99 vincent99 added area/none kind/bug Issues that are defects reported by users or that we know have reached a real release area/packaging and removed area/none labels Apr 23, 2015
@stephenlawrence
Copy link

Any fixes for this? We are dealing with the same issue. Once I create the vagrant box, if I stop and start it it just loops through "rancher: Warning: Authentication failure. Retrying..."

@diogogmt
Copy link

I'm having the same issue.

Update:
After following the suggestion of a comment on the ticket hashicorp/vagrant#5153 I was able to ssh back into my rancher vm.
I had to reinstall vagrant and add the option config.ssh.insert_key = false to my Vagrant file.

@cloudnautique
Copy link
Contributor

We recently cutover to using RancherOS in our Vagrant environment. We are interested to hear how it impacts this issue.

@deniseschannon
Copy link

I'm going to close this issue as we haven't heard any issues after we've moved over to RancherOS. If anyone has issues with vagrant file, please open a new one or comment back on this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/packaging kind/bug Issues that are defects reported by users or that we know have reached a real release
Projects
None yet
Development

No branches or pull requests

7 participants