Open dwrensha opened 9 years ago
I observed the same problem with the "lemp" and "static" stacks, but not with the "meteor" stack.
Interesting. In a test I did with the lemp stack, setup.sh
completes running (because I can see that the last change it makes is present on the FS), but never exits.
Reverted until we find another solution.
Fascinating. Was just going to investigate.
Drew, it seems like you did just revert it. Many thanks.
It also seems that you did a push to master without a pull request to close this, which means I didn't know you were fixing it. Pull requests cause email notifications, which are helpful for me. Can I convince you to do pull requests plus self-merges?
Also this suggests I should get on that task of making a test suite for vagrant-spk so we catch this stuff, not users.
@paulproteus yeah, I can do the PR/self-merge thing in the future. Sorry 'bout that.
Also I misspoke: setup.sh
does exit, it's just vagrant never finishes provisioning, for whatever reason.
Fascinating. (And no huge deal about the self-merge; the important thing is that we're delivering better software thanks to you doing the revert.)
The ssh
process terminates and enters zombie state, but ruby-mri
never reaps the child.
No, that's only when I ^C the provisioning process and it doesn't kill the children properly, never mind. (Perhaps we need to set some option to subprocess to kill children when the leader exits?)
ruby-mri
just sits there calling futex()
every 4 seconds or so indefinitely.
Anyway, thanks to @dwrensha for bisecting the root cause.
On OSX 10.10.5, with Vagrant 1.7.2, if I do
vagrant-spk setupvm uwsgi
and thenvagrant-spk up
, I see this, and then the script hangs:The problem goes away if I revert this commit: https://github.com/sandstorm-io/vagrant-spk/commit/116f9434c2b6c058dedc2f83763b799aa05330b4