Repository navigation
Vagrant requires vagrant user password on any vm interaction - #59
Conversation
|
I know that, in the Vagrantfile, we currently have I removed said insecure key from my
|
|
Yes, I can confirm 1,2,3. As long as I can get the server provisioned. Provisioning has stopped working for me. My vagrant_insecure_key is not in my host's (real, not virtual) Once I get a server provisioned, either virtual local or virtual on Digital Ocean, I can confirm that the deploy keys are being used to log in to the server, but when it communicates with the Moreso, I've noticed that on my laptop, I cannot provision servers any longer. This may have something to do with it the vagrant_insecure_key. There is some combination of ansible and vagrant that is having trouble on provision. With either: So maybe different issues, but they seem related. Sorry so ambiguous, I appreciate your helping me resolve this. Any Error logs I can send? |
|
Ok I see that the Vagrantfile in each of a different Evolution version is different: v1.0.12 still asks me for the So it appears that the 1.0.15 did NOT insert a private key, but 1.0.12 did. v1.0.15 |
|
Is is possible that vagrant no longer ships with the insecure_public_key in the vagrant |
|
Here is the trace I get from ansible 1.9.1 running |
|
And, I noticed that the ansible install moved from inside the vagrant in about 1.0.12 to the host in 1.0.15 (or so) which may be why I can no longer provision this vm. Are there specific dependencies that my host ansible might need that are not provided? Running 1.9.1 from macports. I understand this is likely an ansible issue and I will cross post in ansible/ansible, but the |
|
Can you add the following line after That should turn on a lot of debugging info |
* Vagrant 1.7+ will replace the insecure public key during first boot with a dynamically created keypair per-vm * Agent forwarding will be turned off * Host's ssh config (in `~/.ssh`) will not be mounted
|
@mcheck I've ripped out ssh customizations from the Vagrantfile that I think will fix the issue:
Can you test this by applying these changes to your vagrantfile and destroying/recreating your local? |
Vagrant requires vagrant user password on any vm interaction
|
Posting this in the event someone stumbles across the error. I've found that all the I had installed Even though the current Simple solution:
Voila! |
|
That's good to know, as I was totally confused about the vault stuff! |
|
Yes, thanks for helping. I only tracked it down when looking for the vault_password issue and found several people on the ansible dev team that had issues waaaay back when upgrading from one version to another after vault_pass was introduced. Along this thread, I have tested the changes merged to remove ssh customization it works perfectly. Password-less syncing works great. I'm getting an rsync error updating timestamps when trying to update the remote files |
Installed evolve wp 1.0.15 and wp 4.2.2 on osx with vagrant 1.7.2
Perhaps there is something I'm not doing with passwords/keys that I should be.
All new provisions of evolve require a vagrant password when interacting with the vm. Whether shell or not for instance,
vagrant reloadasks for password before allowing :Using
cap staging evolve:downsame thing. It won't import the database or rsync the files until I authenticate as the vagrant user.Maybe not symptomatic of evolve, but I thought either the insecure_key or evolve key was being placed in root/vagrant user for password-less operations.
Thanks for any help you can provide.