You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New install, Ansible error while GATHERING FACTS #73
sshed into the box. pinged localhost, get fast results back. odd.
So, checked my hosts file... there is a TON of # vagrant-hostmanager-start. Even after destroying the vms, properly shutting them down, etc. I generally don't use that plugin to do what it does.
So, that ended up being the issue. The vagrant-hostmanager plugin was not removing, despite vagrant halt then vagrant destroy.
vagrant-hostmanager plugin was not cleaning up after itself for some reason. I'm thinking there's something about the plugin that loses track of itself.
Yea, destroyed a vagrant instance, and the hosts don't go away... I'd rethink the need for specifying vagrant-hostmanager plugin and look into another one.
BTW... GREAT WORK. This is a ridiculously robust set of code ya got.
I tend to need it when doing massive imports for images. It's never actually gotten in the way. The script can also easily be tweaked to 1/5, 1/6, etc.
I'd just recommend making a small call out to it. In fact I'll make a pull request :)
Activity
EvanK commentedon Jul 27, 2015
@pixelbacon: Can you try the following:
vagrant destroyvagrant uppixelbacon commentedon Jul 28, 2015
That helped a bit, got to
PLAY RECAPwithok=83andchanges=70.But it hitting local.example.com takes a long time to resolve, eventually goes to
http://local.example.com/wp/wp-admin/install.phpand times out.EvanK commentedon Jul 28, 2015
I think that was it!
@pixelbacon: Please try the following...
yo evolve wordpress), which will use the latest minor release of 1.2.0vagrant upThanks!
pixelbacon commentedon Jul 28, 2015
Still same issue. Server hangs... Had the same issue on Genesis too. Going to try disabling varnish.
pixelbacon commentedon Jul 28, 2015
All options turned off... Default everything. No https...
Server still hangs.
pixelbacon commentedon Jul 28, 2015
Got it to
http://local.greenvalleyorganics.com/wp/wp-admin/install.phpbut times out.EvanK commentedon Jul 28, 2015
What does your Vagrantfile look like?
pixelbacon commentedon Jul 28, 2015
EvanK commentedon Jul 28, 2015
Got it! Vagrantfile's using
example.comfor the domain, but your project appears to be expectinggreenvalleyorganics.com.Can you try this: https://gist.github.com/EvanK/bcc323d1e90fab9a8ab9/revisions#diff-0
pixelbacon commentedon Jul 28, 2015
Apologies, i mistyped that. I was trying on an actual project. Wasn't getting any results, so created a brand new folder just using example.
So it's not that :(
pixelbacon commentedon Jul 28, 2015
@EvanK Do you not have any issues if doing an absolutely clean generator project?
EvanK commentedon Jul 28, 2015
I do not. Can you step through the test suite, and post your output from
npm test?edit: fixed yeoman cache directory
pixelbacon commentedon Jul 28, 2015
no
./binEvanK commentedon Jul 28, 2015
And you're in
~/.cache/yeoman/evolution/wordpress/v1.2.0/? What do you get fromls -al?pixelbacon commentedon Jul 28, 2015
README.md functional unitEvanK commentedon Jul 28, 2015
Sounds like you're in the test subdirectory -- my fault, I initially gave you the wrong path.
One more try...can you follow those steps again, but from the below directory, which should have
bin,lib, andtestsubdirectories:pixelbacon commentedon Jul 28, 2015
Did. Same thing.
sshed into the box. pinged localhost, get fast results back. odd.
So, checked my hosts file... there is a TON of
# vagrant-hostmanager-start. Even after destroying the vms, properly shutting them down, etc. I generally don't use that plugin to do what it does.So, that ended up being the issue. The vagrant-hostmanager plugin was not removing, despite
vagrant haltthenvagrant destroy.Apologies for not doing that sooner... Derp.
pixelbacon commentedon Jul 28, 2015
In summary:
vagrant-hostmanager plugin was not cleaning up after itself for some reason. I'm thinking there's something about the plugin that loses track of itself.
pixelbacon commentedon Jul 28, 2015
Yea, destroyed a vagrant instance, and the hosts don't go away... I'd rethink the need for specifying vagrant-hostmanager plugin and look into another one.
BTW... GREAT WORK. This is a ridiculously robust set of code ya got.
EvanK commentedon Jul 28, 2015
Aha...thanks for letting me know!
I'll add something to the FAQ for now, and look into a fix or replacement for hostmanager in the longer term
pixelbacon commentedon Jul 28, 2015
Of course. I usually rely on vagrant-hostsupdater for it's simplicity. Haven't had issues with it, and have used for a long time.
pixelbacon commentedon Jul 28, 2015
Also, I'd tip a hat to this post, since this is a very robust solution it might be useful to some folks.
EvanK commentedon Jul 28, 2015
Wow. I'm not sure about the proportions (1/4 of system memory?!), but optimizing vagrant's performance is certainly worth digging into!
pixelbacon commentedon Jul 28, 2015
I tend to need it when doing massive imports for images. It's never actually gotten in the way. The script can also easily be tweaked to 1/5, 1/6, etc.
I'd just recommend making a small call out to it. In fact I'll make a pull request :)
pixelbacon commentedon Jul 28, 2015
Also, come to think about it, 1/4 memory replicates a server more than anything less than that. So, it does have it's benefits :)