Adding checks for Glance
This commit adds checks for Glanec API and Registry workers Change-Id: I1aa4280158e8c85ae1e956bc9c4e46847830d2e1
This commit is contained in:
@@ -51,5 +51,9 @@ checks :
|
|||||||
neutron_conf_mtu:
|
neutron_conf_mtu:
|
||||||
url: "https://bugs.launchpad.net/tripleo/+bug/1590101"
|
url: "https://bugs.launchpad.net/tripleo/+bug/1590101"
|
||||||
name: "The global_physnet_mtu should not be set unless by Administrator"
|
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
|
# vi:syntax=yaml
|
||||||
|
|||||||
12
ansible/check/roles/glance/tasks/main.yml
Normal file
12
ansible/check/roles/glance/tasks/main.yml
Normal 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
|
||||||
@@ -39,7 +39,6 @@
|
|||||||
register: bz1330980
|
register: bz1330980
|
||||||
failed_when: bz1330980.stdout|int < keystone_processes
|
failed_when: bz1330980.stdout|int < keystone_processes
|
||||||
when: keystone_in_eventlet.stdout|int == 0
|
when: keystone_in_eventlet.stdout|int == 0
|
||||||
failed_when:
|
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
|
|
||||||
- name: Keystone HTTP main processes
|
- name: Keystone HTTP main processes
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
- keystone
|
- keystone
|
||||||
- neutron
|
- neutron
|
||||||
- nova
|
- nova
|
||||||
|
- glance
|
||||||
|
|
||||||
- hosts: compute
|
- hosts: compute
|
||||||
name: Checking Compute Nodes for common Performance Issues
|
name: Checking Compute Nodes for common Performance Issues
|
||||||
|
|||||||
Reference in New Issue
Block a user