)]}'
{"docs/Libvirt.md":[{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"506858efe988d28a32466105470ae5974676f046","unresolved":false,"context_lines":[{"line_number":342,"context_line":""},{"line_number":343,"context_line":"1. Ability to determine the name of the user under which monasca-agent processes run (eg, `mon-agent`)"},{"line_number":344,"context_line":"2. Availability of the `python-neutronclient` library (by attempting to import `client` from `neutronclient.v2_0`)"},{"line_number":345,"context_line":"3. Existance of /bin/ip. A separate enhanced-capabilities `ip` command exists:"},{"line_number":346,"context_line":"4. Existence of a ping command; detection will try `/usr/bin/fping`, `/sbin/fping`, and `/bin/ping` in that order.  `fping` is preferred because it allows for sub-second timeouts, but is not installed by default in some Linux distributions."},{"line_number":347,"context_line":""},{"line_number":348,"context_line":"If any of the above requirements fail, a WARN-level message is output, describing the problem.  The libvirt plugin will continue to function without these requirements, but ping checks will be disabled."}],"source_content_type":"text/x-markdown","patch_set":3,"id":"1f493fa4_8094268d","line":345,"updated":"2020-04-22 17:23:46.000000000","message":"How are we going to ensure the _enhanced-capabilities_? The distros\u0027 (Ubuntu, openSUSE) /bin/ip does not have cap_sys_admin from what I understand. Was checking with `sudo getcap /usr/sbin/ip`.\n\nThe options we have here are I guess:\n* run collector with root user\n* configure sudoers (ping_check command would have to be updated accordingly)\n* grant cap_sys_admin capability to the user running collector","commit_id":"b5cdb8401d962908fe3a9f160fe6b58ea9dee1e2"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"2e7b7bf4863eda8780c8add2aca868c54cc5bf17","unresolved":false,"context_lines":[{"line_number":336,"context_line":"2. Neutron L2 plugin with a tenant network type of `vlan` or `vxlan` (other types may be supported, but have not been tested)."},{"line_number":337,"context_line":"3. The `python-neutronclient` library and its dependencies installed and available to the Monasca Agent"},{"line_number":338,"context_line":"4. Each VM needs an appropriate security group configuration to allow ICMP"},{"line_number":339,"context_line":"5. A sudoers entry for the monasca-agent user needs to be created which allows access to /bin/ip. For example:"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"Defaults:monasca-agent !requiretty"},{"line_number":342,"context_line":"Defaults:monasca-agent  secure_path\u003d\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\""}],"source_content_type":"text/x-markdown","patch_set":4,"id":"1f493fa4_9ddd7f72","line":339,"updated":"2020-04-24 11:45:35.000000000","message":"Rephrased it in the follow-up change.","commit_id":"17ba1346b7d3cdc6914442465ed172518cb81d30"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"2e7b7bf4863eda8780c8add2aca868c54cc5bf17","unresolved":false,"context_lines":[{"line_number":348,"context_line":""},{"line_number":349,"context_line":"1. Ability to determine the name of the user under which monasca-agent processes run (eg, `mon-agent`)"},{"line_number":350,"context_line":"2. Availability of the `python-neutronclient` library (by attempting to import `client` from `neutronclient.v2_0`)"},{"line_number":351,"context_line":"3. Existance of /bin/ip. A separate enhanced-capabilities `ip` command exists:"},{"line_number":352,"context_line":"4. Existence of a ping command; detection will try `/usr/bin/fping`, `/sbin/fping`, and `/bin/ping` in that order.  `fping` is preferred because it allows for sub-second timeouts, but is not installed by default in some Linux distributions."},{"line_number":353,"context_line":""},{"line_number":354,"context_line":"If any of the above requirements fail, a WARN-level message is output, describing the problem.  The libvirt plugin will continue to function without these requirements, but ping checks will be disabled."}],"source_content_type":"text/x-markdown","patch_set":4,"id":"1f493fa4_fdec832a","line":351,"updated":"2020-04-24 11:45:35.000000000","message":"We\u0027re actually not checking for this anymore. I\u0027ve proposed a follow-up change removing this line and reformatting this section.","commit_id":"17ba1346b7d3cdc6914442465ed172518cb81d30"}]}
