Merge "Improvements to Checks focused around Keystone Process count"

This commit is contained in:
Jenkins 2016-08-30 01:00:34 +00:00 committed by Gerrit Code Review
commit dc7de90f4d
7 changed files with 26 additions and 22 deletions

5
.gitignore vendored
View File

@ -9,6 +9,11 @@ ansible/hosts
# Prevent any fernet keys from sneaking into git repo
ansible/browbeat/roles/keystone-token/files/[0-9]
# Prevent Ansible Checks data/scripts from entering git repo:
ansible/check/mysqltuner.pl
ansible/bug_report.log
ansible/mysql_report.log
log/*
# Swap files

View File

@ -1,5 +1,4 @@
---
# vi:syntax=yaml
result_dir: "{{inventory_dir}}/"
mysql_tuner_script: https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl

View File

@ -20,6 +20,3 @@ checks:
bz1264740:
url: "https://bugzilla.redhat.com/show_bug.cgi?id=1264740"
name: "RHEL OSP Director must be configure with nova-event-callback by default"
# vi:syntax=yaml

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 :
bz1095811 :
@ -56,4 +58,6 @@ checks :
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
bz1347305:
url: "https://bugzilla.redhat.com/show_bug.cgi?id=1347305"
name: "Overcloud deployed with keystone as single process leads to abysmal performance"

View File

@ -47,4 +47,3 @@ checks :
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

@ -34,30 +34,30 @@
- 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]+"
- name: Keystone HTTP admin processes (Undercloud)
shell: 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
when: (keystone_in_eventlet.stdout|int == 0) and (inventory_hostname in groups.undercloud)
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]+"
- name: Keystone HTTP main processes (Undercloud)
shell: 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
when: (keystone_in_eventlet.stdout|int == 0) and (inventory_hostname in groups.undercloud)
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
- name: Keystone HTTP admin processes (Controller)
shell: egrep -o "processes=[0-9]+" /etc/httpd/conf.d/*keystone*admin.conf | egrep -o "[0-9]+"
register: bz1347305
failed_when: bz1347305.stdout|int < keystone_processes
when: (keystone_in_eventlet.stdout|int == 0) and (inventory_hostname in groups.controller)
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
- name: Keystone HTTP main processes (Controller)
shell: egrep -o "processes=[0-9]+" /etc/httpd/conf.d/*keystone*main.conf | egrep -o "[0-9]+"
register: bz1347305
failed_when: bz1347305.stdout|int < keystone_processes
when: (keystone_in_eventlet.stdout|int == 0) and (inventory_hostname in groups.controller)
ignore_errors: True