Neutron rootwrap daemon check

Check to see if our Neutron config has the rootwrap daemon enabled

Change-Id: I3965f6bcc15ffc21fe870bf91f92ed563234533a
This commit is contained in:
Joe Talerico 2016-01-28 14:26:15 -05:00
parent 2476b31fc1
commit 204530171e
2 changed files with 12 additions and 5 deletions

View File

@ -23,17 +23,17 @@ checks :
nova_vif_timeout_result:
url: "none"
name: "Nova VIF timeout should be >= 300"
# neutron_nova_creds:
# url: "https://bugzilla.redhat.com/show_bug.cgi?id=1264740"
# name: "RHEL OSP Director must be configure with nova-event-callback by default"
bz1264740:
url: "https://bugzilla.redhat.com/show_bug.cgi?id=1264740"
name: "RHEL OSP Director must be configure with nova-event-callback by default"
rabbit_partitioned :
rabbit_partitioned:
url: "none"
name: "Rabbit is currently partitioned - YMMV... Good luck."
tuned_profile_result :
tuned_profile_result:
url: "none"
name: "Ensure Tuned Profile is set to throughput-performance"
neutron_rootwrap_daemon:
url: "none"
name: "Ensure rootwrap has daemon mode enabled"
# vi:syntax=yaml

View File

@ -5,3 +5,10 @@
failed_when: neutron_nova_creds.rc == 1
changed_when: false
ignore_errors: True
- name: Check for rootwrap daemon
command: crudini --get /etc/neutron/neutron.conf agent root_helper_daemon
register: neutron_rootwrap_daemon
failed_when: neutron_rootwrap_daemon.rc == 1
changed_when: false
ignore_errors: True