-
Notifications
You must be signed in to change notification settings - Fork 68
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
neutron_service_check.py
can't list agents
#115
Comments
If it works when you run it by hand, I wonder if it's a problem with how we register the check with ansible. @mattt416 what do you think? |
Hi @jpmontez, Whilst that manual command runs fine, the plugin check should actually be of the format Are you able to provide me with more details about how the check was registered (file, args, etc.)? I'll take a look at our playbooks in more detail now to see if I can spot any issues. Thanks! --Matt |
File: When I use the FQDN, it's successful:
It looks like the FQDN needs to be passed as an argument, not the hostname. |
Created rcbops/ansible-lxc-rpc#452 to deal w/ this (as the issue exists in the playbooks rather than with the script itself). |
On the monitoring dashboard,
No host(s) found in the agents list
is being returned from this plugin. From the source code, that exception's raised when the agents variable doesn't contain anything.Oddly enough, when I log into the Neutron server and run the script directly with the Neutron endpoint as an argument, it succeeds.
The text was updated successfully, but these errors were encountered: