-
Notifications
You must be signed in to change notification settings - Fork 308
Vagrant Issues #1887
Comments
I know @abnor was having trouble last week. I dug deeper this week and I think this thread can shed some light on what we were seeing. Afaik, the root of the problem is that Windows doesn't like symlinks. (Or it's more general than that? Although it did work for others, so maybe not.) Virtualenv uses them extensively on Linux. Since Vagrant shares a specific directory, there's "protocol error" issues. @abnor Kill all VirtualBox-related processes (or restart) then run the git shell as an administrator. If that doesn't help, try this (first!) or this or this from that same thread. Let me know if any of these help! |
It should clear the Compared to plain linux or plain windows install it is slow as hell 😓. Just installing all the requirements.txt takes ages. What I do not understand is why it works at all. Default box is precise64 and my windows install is 32bit. How can 64bit guest work under 32bit host? Ok, I got all the way to When I try Following the README.md instructions I was able to run
At this moment plain Running |
https://www.virtualbox.org/manual/ch03.html#intro-64bitguests so 64bit on 32bit works. |
Oh, and I failed to get working plain windows install because I was not able to compile the binary extensions we have. |
For a plain Windows install you'd probably want pre-built binaries of psycopg2 (what else?). |
Pre-built psycopg2 does not play nice with pip & virtualenv (I could not On 21 January 2014 14:37, Chad Whitacre notifications@github.com wrote:
|
@zwn I couldn't get psycopg2 to work on Windows without Vagrant either. Well, without replacing what's in vendor manually. This was why I was such a strong advocate of a pure-Python local run with, e.g. sqlite, or using Vagrant with only downside being its long boot time. As for the non-empty env directory. That's a good catch. We should probably use an entirely different directory like vagrant-env so you can run with and without Vagrant. Can the "env" directory be configured with an ENV variable? |
@joeyespo Can we update this ticket based on open hack? Where do we stand now? |
Bumping from DevX to DevX★. |
@joeyespo This ticket is vague. Can we put a point on it? Let's use it to track upgrading Vagrant to Postgres 9.3. Eh? |
@whit537 this was to track any issues new devs have, really. Postgres is one. The 'env' directory is another. For the latter, is there a way to use a different 'env' directory so there's no clashes when running with Vagrant and running without? Say, "vagrant-env"? That way Vagrant can safely assume it can delete that when it needs cleaned. |
@joeyespo I'd rather not keep long-running dust collectors like this around. Let's make specific tickets for specific problems. That way we avoid cluttering up the issue tracker (it's bad enough as it is!) and we ensure that we have actionable items that we can then prioritize. |
Since we started talking about the env dir earlier on this thread, I've reticketed the Postgres upgrade as #1959. |
I have vagrant working on windows with almost empty Vagrantfile and this gist script. I was having troubles with shared folders. For one, it was slow as hell and sometimes it failed to create the virtualenv (it was also being mixed up with the files already there). I think that a usable middle ground would be to keep the env inside vagrant-native filesystem and share only the source files. |
@zwn My thoughts were to have a dedicated If we can cusomize the env directory, then yes, we could keep it in the vagrant-only filesystem and still call it |
I was thinking of If that does not work we need to make the name of the virtualenv directory configurable. @joeyespo Do you have a preference? While Chad starts to improve the user onboarding, we can do something about developer onboarding 😺 |
What would you be mounting? The virtualenv running within Vagrant can generate the |
Directory |
But it is not working for me anyway. The population of the
but for different runs it fails for different packages 😠. The third run finished successfully in 3:30s (fourth failed again at a different place). When run on the guest filesystem only (the whole repo being there instead of just the env dir) it took 2:05s and has not failed a single time. So, with this I think I am done with vagrant specific stuff. I am going to keep using vagrant to tune the get-gittip.sh script but I will not focus on vagrant specific stuff because it just does not seem worth it to me. The script should be able to bring current Ubuntu LTS release to a state where one can do gittip development (others can use it as a source of info for what might need to be installed on their system). Anyone feel free to pick up the vagrant specifics. |
Oh yeah, I was saying have the The contents should still be there when you return to Vagrant, and it won't be in the gittip repo this way so Vagrant is free to do what it wants with it e.g. clear it when needed. (I'm also not sure what you mean by guest-native.) |
That's what I meant by guest-native. I am not sure if its worth the effort to make the env dir configurable to support this. |
Perhaps not. If we're fully supporting and encouraging Vagrant, I believe we should. There's still the possibility of a pure-Python local run though, which every time we tinker with Vagrant, seems like less and less work in comparison. |
@joeyespo fwiw, I think this might be the solution to the disagreement that we were having at the retreat about Docker vs config management tools (Chef/Puppet/Ansible/newfangle): Packer has Packer has A provisioner, like the |
My sense is that the Vagrantfile has settled down and some folks (@clone1018 @patcon) are actively using it for development. Closing. Let's reticket specific issues that arise. |
👍 |
Opening this to have a one-stop shop for all things Vagrant. (This way, I'll know about them and can help address them!)
The text was updated successfully, but these errors were encountered: