Remove trailing spaces everywhere

This commit removes any trailing spaces at the end of the lines that was
still present after recent cleanups.

Change-Id: I4e6b2e7106a380cc34571ff35b5e727c476996a8
This commit is contained in:
Raoul Scarazzini 2017-08-04 10:10:11 -04:00
parent a31e4aef38
commit 689492d922
12 changed files with 26 additions and 26 deletions

View File

@ -1,8 +1,8 @@
---
- name: Apply STONITH for compute nodes
include_role:
include_role:
name: stonith-config
vars:
vars:
stonith_devices: "computes"
- name: Disable openstack-nova-compute on compute

View File

@ -176,8 +176,8 @@
- "{{ groups['compute'] }}"
- name: Undo STONITH for compute nodes
include_role:
include_role:
name: stonith-config
vars:
vars:
stonith_action: "uninstall"
stonith_devices: "computes"

View File

@ -7,7 +7,7 @@ instack_env_file: "{{ working_dir }}/instackenv.json"
config_stonith_python_script: config-stonith-from-instackenv.py.j2
# Can be install, uninstall or none
stonith_action: "install"
stonith_action: "install"
# Can be all, controllers or computes
stonith_devices: controllers

View File

@ -1,7 +1,7 @@
---
working_dir: "/home/stack"
validate_ha_logs_dir: "{{ working_dir }}/validate_ha_logs"
working_dir: "/home/stack"
validate_ha_logs_dir: "{{ working_dir }}/validate_ha_logs"
overcloud_working_dir: "/home/heat-admin"
environment_file: environment.j2

View File

@ -2,7 +2,7 @@
echo "$(date) * Step 1: disable keystone resource via httpd stop"
play_on_resources "disable" "httpd"
echo "$(date) - List of cluster's failed actions:"
check_failed_actions

View File

@ -2,6 +2,6 @@
echo "$(date) * Step 1: disable openstack-keystone resource"
play_on_resources "disable" "openstack-keystone-clone"
echo "$(date) - List of cluster's failed actions:"
check_failed_actions

View File

@ -2,6 +2,6 @@
echo "$(date) * Step 1: disable galera, redis and rabbitmq"
play_on_resources "disable" "$OVERCLOUD_CORE_RESOURCES"
echo "$(date) - List of cluster's failed actions:"
check_failed_actions

View File

@ -2,7 +2,7 @@
echo "$(date) * Step 1: disable mongo"
play_on_resources "disable" "mongo"
echo "$(date) - List of cluster's failed actions:"
check_failed_actions

View File

@ -2,18 +2,18 @@
echo "$(date) * Step 1: disable all the systemd resources"
play_on_resources "disable" "$OVERCLOUD_SYSTEMD_RESOURCES"
echo "$(date) - List of cluster's failed actions:"
check_failed_actions
echo "$(date) * Step 2: disable core services"
play_on_resources "disable" "$OVERCLOUD_CORE_RESOURCES"
echo "$(date) - List of cluster's failed actions:"
check_failed_actions
echo "$(date) * Step 3: enable each resource one by one and check the status"
play_on_resources "enable" "$OVERCLOUD_SYSTEMD_RESOURCES"
echo "$(date) - List of cluster's failed actions:"
check_failed_actions

View File

@ -2,18 +2,18 @@
echo "$(date) * Step 1: disable core services"
play_on_resources "disable" "$OVERCLOUD_CORE_RESOURCES"
echo "$(date) - List of cluster's failed actions:"
check_failed_actions
echo "$(date) * Step 2: disable all the systemd resources"
play_on_resources "disable" "$OVERCLOUD_SYSTEMD_RESOURCES"
echo "$(date) - List of cluster's failed actions:"
check_failed_actions
echo "$(date) * Step 3: enable all the systemd resources"
play_on_resources "enable" "$OVERCLOUD_SYSTEMD_RESOURCES"
echo "$(date) - List of cluster's failed actions:"
check_failed_actions

View File

@ -2,10 +2,10 @@
echo "$(date) * Step 1: disable core services"
play_on_resources "disable" "$OVERCLOUD_CORE_RESOURCES"
echo "$(date) - List of cluster's failed actions:"
check_failed_actions
echo "$(date) * Step 2: poll every minute for twenty minutes the status of the resources"
for i in $(seq 1 20)
do
@ -17,6 +17,6 @@ for i in $(seq 1 20)
fi
sleep 60
done
echo "$(date) - List of cluster's failed actions:"
check_failed_actions

View File

@ -2,9 +2,9 @@
echo "$(date) * Step 1: checking actual process status"
check_resources_process_status
echo "$(date) * Step 2: stopping cluster"
sudo pcs cluster stop --all
echo "$(date) * Step 3: checking actual process status"
check_resources_process_status