Variable undefined fix in gather keystone metadata

The following variables (keystone_admin_worker_processes, keystone_admin_worker_threads, keystone_main_worker_threads, keystone_main_worker_processes) on lines (44, 49, 54, 59) in ansible/gather/roles/keystone/tasks/main.yml were mistaken referenced as (keystone_admin_workers_processes, keystone_admin_workers_threads, keystone_main_workers_threads, keystone_main_workers_processes) on line 64 task ("Set keystone httpd worker facts")

This will causes the gather playbook to fail with the following error:

TASK [keystone : Set keystone httpd worker facts] ******************************
fatal: [overcloud-controller-0]: FAILED! => {"failed": true, "msg": "'keystone_main_workers_threads' is undefined"}

This change aims to fix the undefined variables by correctly referencing them.

Change-Id: If3ee349aa60a2537c714a8c0b90497ba8e18e856
This commit is contained in:
Alex Krzos 2016-06-16 10:28:46 -04:00
parent c168b252b0
commit 24dc7098d7

View File

@ -63,8 +63,8 @@
- name: Set keystone httpd worker facts
set_fact:
openstack_keystone_admin_workers_processes: "{{ keystone_admin_workers_processes.stdout }}"
openstack_keystone_admin_workers_threads: "{{ keystone_admin_workers_threads.stdout }}"
openstack_keystone_main_workers_processes: "{{ keystone_main_workers_processes.stdout }}"
openstack_keystone_main_workers_threads: "{{ keystone_main_workers_threads.stdout }}"
openstack_keystone_admin_workers_processes: "{{ keystone_admin_worker_processes.stdout }}"
openstack_keystone_admin_workers_threads: "{{ keystone_admin_worker_threads.stdout }}"
openstack_keystone_main_workers_processes: "{{ keystone_main_worker_processes.stdout }}"
openstack_keystone_main_workers_threads: "{{ keystone_main_worker_threads.stdout }}"
when: keystone_in_eventlet.stdout|int == 0