Live data from Hacker News

Vagrant Share

vagrantup.com

41–47 of 47 posts

Re: Vagrant Share

#41
post #32

Earlier quoted context omitted.

If i somehow can't connect to the VM anymore "vagrant halt" followed by "vagrant up" usually fixes that. Doesn't happen alot though.

Halt breaks too, though!

I run into similar problems. Seems to happen when I disconnect and then reconnect to a different network.

Re: Vagrant Share

#42
post #6

Sort of neat. We already share our vagrants within our office as we port forward from the host computers to the guest. Thus to access bob's vagrant I just go http://bob-computer:3120/ , etc... We use this feature periodically and it is useful in those cases. I guess this new feature is mostly for remote collaborations where you are not in the same secure network. PS. Vagrant is one of the most reliable parts of our h…

I know this isn't the right place for it but here we go: it's a total PITA when somehow the VM connection gets severed and "vagrant ssh" won't work and "vagrant shutdown" won't shutdown cleanly, so you have to kill it by hand and then reboot MANUALLY in virtualbox because the VM gets stuck in the grub menu after a non-clean kill. So then you have to wait for it to boot completely, then shut down normally and then run…

If your VM is stuck on a GRUB prompt, that's an issue with its GRUB config. You could have the same problem with any VM. Change the GRUB config to stop this behavior and repackage.

Re: Vagrant Share

#44
post #41

Earlier quoted context omitted.

Halt breaks too, though!

I run into similar problems. Seems to happen when I disconnect and then reconnect to a different network.

I think it may be this for me too, I code at work and then carry the laptop home to finish up sometimes.

Re: Vagrant Share

#45
post #6

Sort of neat. We already share our vagrants within our office as we port forward from the host computers to the guest. Thus to access bob's vagrant I just go http://bob-computer:3120/ , etc... We use this feature periodically and it is useful in those cases. I guess this new feature is mostly for remote collaborations where you are not in the same secure network. PS. Vagrant is one of the most reliable parts of our h…

I know this isn't the right place for it but here we go: it's a total PITA when somehow the VM connection gets severed and "vagrant ssh" won't work and "vagrant shutdown" won't shutdown cleanly, so you have to kill it by hand and then reboot MANUALLY in virtualbox because the VM gets stuck in the grub menu after a non-clean kill. So then you have to wait for it to boot completely, then shut down normally and then run…

I've been running into this issue as well. A similar one is that the SSH connection is lost whenever the network is lost. I think both issues are supposed to be solved with the latest version of VB (4.3.8) from this ticket (https://github.com/mitchellh/vagrant/issues/2691).

Re: Vagrant Share

#46
post #17

Earlier quoted context omitted.

So they can only get their job done if they are in the same timezone or if you don't happen to reboot your laptop? Those don't seem like great use cases. Plus if you are at the point of QA/PM review of what you've done, the code has already been checked into source control. They could just as easily spin up their own VM with the Vagrantfile.

GP said dev server, not laptop. I think in that context it's reasonable. I used Vagrant for CI builds for a while, and I would have liked the ability to automatically share an internal url to the environment so that when coworkers submitted code that broke the build, they would have a single link to follow to get access to the particular environment on the particular server that serviced their job. Some vagrant envs…

But can't you do all the complex/difficult stuff for them so they just have to type "vagrant up"? What are some of the complexities involved in setting up a vagrant env?
Post reply on HN