Fix Checks

Change-Id: Ic2c6089fecec7034c9c6345d218211aaf5b136ab
This commit is contained in:
Joe 2016-04-28 15:02:45 -04:00
parent 37a6e8011e
commit 4bb7679f47
3 changed files with 35 additions and 1 deletions

View File

@ -7,6 +7,8 @@ mariadb_max_connections: 4096
mysqld_soft_fd: 16384
nova_vif_timeout: 300
netdev_max_backlog: 100000
keystone_threads: 6
keystone_processes: 2
checks :
bz1282491 :
@ -42,5 +44,7 @@ checks :
neutron_rootwrap_daemon:
url: "none"
name: "Ensure rootwrap has daemon mode enabled"
bz1330980:
url: "https://bugzilla.redhat.com/show_bug.cgi?id=1330980"
name: "Undercloud deployed with 1 keystone worker and cpu_count for threads"
# vi:syntax=yaml

View File

@ -33,3 +33,32 @@
when: keystone_in_eventlet.stdout|int > 0
- debug: msg="Keystone deployed in:{{ keystone_deployment }}"
- name: Keystone HTTP admin processes
command: egrep -o "processes=[0-9]+" /etc/httpd/conf.d/*keystone*admin.conf | egrep -o "[0-9]+"
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
command: egrep -o "processes=[0-9]+" /etc/httpd/conf.d/*keystone*main.conf | egrep -o "[0-9]+"
register: bz1330980
failed_when: bz1330980.stdout|int < keystone_processes
when: keystone_in_eventlet.stdout|int == 0
ignore_errors: True
- name: Keystone HTTP admin threads
command: egrep -o "threads=[0-9]+" /etc/httpd/conf.d/*keystone*admin.conf | egrep -o "[0-9]+"
register: bz1330980
failed_when: bz1330980.stdout|int < keystone_threads
when: keystone_in_eventlet.stdout|int == 0
ignore_errors: True
- name: Keystone HTTP main threads
command: egrep -o "threads=[0-9]+" /etc/httpd/conf.d/*keystone*main.conf | egrep -o "[0-9]+"
register: bz1330980
failed_when: bz1330980.stdout|int < keystone_threads
when: keystone_in_eventlet.stdout|int == 0
ignore_errors: True

View File

@ -17,6 +17,7 @@
remote_user: stack
roles:
- common
- controller
- undercloud
- keystone
- neutron