MTU Check
Adding a check for MTU. Change-Id: I2234815251483b2d388d06c24343518ad45db26c
This commit is contained in:
parent
e28ca5fcb7
commit
9830171bf5
@ -45,5 +45,11 @@ checks :
|
|||||||
neutron_rootwrap_daemon:
|
neutron_rootwrap_daemon:
|
||||||
url: "none"
|
url: "none"
|
||||||
name: "Ensure rootwrap has daemon mode enabled"
|
name: "Ensure rootwrap has daemon mode enabled"
|
||||||
|
neutron_dnsmasq_mtu:
|
||||||
|
url: "https://bugs.launchpad.net/tripleo/+bug/1590100"
|
||||||
|
name: "Ensure there is no dnsmasq setting to force MTU"
|
||||||
|
neutron_conf_mtu:
|
||||||
|
url: "https://bugs.launchpad.net/tripleo/+bug/1590101"
|
||||||
|
name: "The global_physnet_mtu should not be set unless by Administrator"
|
||||||
|
|
||||||
# vi:syntax=yaml
|
# vi:syntax=yaml
|
||||||
|
@ -63,6 +63,7 @@
|
|||||||
register: rabbit_partitioned
|
register: rabbit_partitioned
|
||||||
changed_when: no
|
changed_when: no
|
||||||
failed_when: rabbit_partitioned.rc == 0
|
failed_when: rabbit_partitioned.rc == 0
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: Run MySQL Tuner script
|
- name: Run MySQL Tuner script
|
||||||
script: mysqltuner.pl --nocolor
|
script: mysqltuner.pl --nocolor
|
||||||
|
@ -12,3 +12,17 @@
|
|||||||
failed_when: neutron_rootwrap_daemon.rc == 1
|
failed_when: neutron_rootwrap_daemon.rc == 1
|
||||||
changed_when: false
|
changed_when: false
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
|
|
||||||
|
- name: Check MTU
|
||||||
|
shell: cat /etc/neutron/dnsmasq-neutron.conf | grep 'dhcp\-option\-force=26'
|
||||||
|
register: neutron_dnsmasq_mtu
|
||||||
|
failed_when: neutron_dnsmasq_mtu.rc == 0
|
||||||
|
changed_when: false
|
||||||
|
ignore_errors: True
|
||||||
|
|
||||||
|
- name: Check Neutron.conf MTU
|
||||||
|
command: crudini --get /etc/neutron/neutron.conf DEFAULT global_physnet_mtu
|
||||||
|
register: neutron_conf_mtu
|
||||||
|
failed_when: neutron_conf_mtu.rc == 0
|
||||||
|
changed_when: false
|
||||||
|
ignore_errors: True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user