From 0f7680d7fc74545da3cee93e6b27313c36dd1335 Mon Sep 17 00:00:00 2001 From: jkilpatr Date: Thu, 16 Jun 2016 13:18:33 -0400 Subject: [PATCH] Removed check for RabbitMQ partitions on the undercloud This task in the check playbook checks the undercloud for RabbitMQ partitions and fails the playbook if none are found. This is wrong for two reasons. 1. Only the overcloud should be partitioned, the undercloud runs the undercloud and nothing else, no partitions are required. 2. This check does not have sufficient permissions to access the files required to even check for partitions. It would need to run with sudo. The check as been removed as it is does nothing useful. Closes-Bug:1593314 Change-Id: Ibb8cd19316cad21f0a0501222d5c3465e797f48f --- ansible/check/roles/undercloud/tasks/main.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ansible/check/roles/undercloud/tasks/main.yml b/ansible/check/roles/undercloud/tasks/main.yml index 77f393714..822d9545e 100644 --- a/ansible/check/roles/undercloud/tasks/main.yml +++ b/ansible/check/roles/undercloud/tasks/main.yml @@ -37,12 +37,6 @@ failed_when: bz1282491.stdout|int < rabbitmq_fd ignore_errors: yes -- name : Check rabbitmq for partitions - shell: rabbitmqctl cluster_status | grep partitions -A 1 | grep -q controller - register: rabbit_partitioned - changed_when: no - failed_when: rabbit_partitioned.rc == 0 - - name: Run MySQL Tuner script script: mysqltuner.pl --nocolor register: mysql_out