-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vmpooler fails to fetch vm with dummy provider #238
Comments
There should be more text after
This usually indicates that the pooler thread isn't running. It tends to swallow exceptions when running on a different thread. I would check the vmpooler log file (or configure one first) Also did you try hitting the status endpoint? |
Oh interesting thought. Is the pooler/api trying to connect to redis on 127.0.0.1, whereas redis is bound to |
@glennsarti - good point on the status endpoint, I did not try that! I'll do that later tonight and see if there's something there that could tell me what's wrong. Also I did see that the pooler swallows exceptions from the dev docs...I'll also see if there's anything of note after I ctrl-c. So the default config that I'm using from the repo has it on |
Looks like it's always the default port (https://github.com/puppetlabs/vmpooler/blob/master/lib/vmpooler.rb#L87) You could try |
@glennsarti - interesting....I made a log file/folder and started seeing log output. And magically the vmpooler started working?
|
I did notice last night that vmpooler printed an exception saying it couldn't access a dir that didn't exist (which was |
Ahh...the logging is pretty naive. If it can't log it is possible it crashed :-) https://github.com/puppetlabs/vmpooler/blob/master/lib/vmpooler/logger.rb#L17-L19 |
Cool cool. Well I am guessing that's it! :) |
I've got vmpooler set up in dev mode with the dummy example and I'm getting an HTTP 503 when I try to get a vm from the pool:
After looking to see where it was failing...it looks like maybe it's failing to get something out of redis? https://github.com/puppetlabs/vmpooler/blob/master/lib/vmpooler/api/v1.rb#L40
I've got redis running with homebrew on mac and it seems to be running on the right port.
Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: