Adding checks for Glance

This commit adds checks for Glanec API and Registry workers

Change-Id: I1aa4280158e8c85ae1e956bc9c4e46847830d2e1
This commit is contained in:
Sai Sindhur Malleni 2016-08-08 09:40:27 -04:00
parent 9830171bf5
commit f929aaefae
4 changed files with 18 additions and 2 deletions

View File

@ -51,5 +51,9 @@ checks :
neutron_conf_mtu:
url: "https://bugs.launchpad.net/tripleo/+bug/1590101"
name: "The global_physnet_mtu should not be set unless by Administrator"
glance_api_workers:
url: "https://bugzilla.redhat.com/show_bug.cgi?id=1361285"
name: "Glance API wokres should be set to None , thereby defaulting to number of cores"
glance_registry_workers:
url: "https://bugzilla.redhat.com/show_bug.cgi?id=1361285"
# vi:syntax=yaml

View File

@ -0,0 +1,12 @@
- name: Glance API worker count
command: crudini --get /etc/glance/glance-api.conf DEFAULT workers
register: glance_api_workers
failed_when: glance_api_workers.rc == 1
changed_when: false
ignore_errors: true
- name: Glance Registry worker count
command: crudini --get /etc/glance/glance-registry.conf DEFAULT workers
register: glance_registry_workers
failed_when: glance_registry_workers.rc == 1
changed_when: false
ignore_errors: true

View File

@ -39,7 +39,6 @@
register: bz1330980
failed_when: bz1330980.stdout|int < keystone_processes
when: keystone_in_eventlet.stdout|int == 0
failed_when:
ignore_errors: True
- name: Keystone HTTP main processes

View File

@ -32,6 +32,7 @@
- keystone
- neutron
- nova
- glance
- hosts: compute
name: Checking Compute Nodes for common Performance Issues