
Galera resyncronizing larger, and in use databases can apparently, in some cases take a longer period of time. This revision adds a script to wait up to 30 minutes, and informs a user upon failure of options to attempt should a failure occur. Change-Id: Iec5f41aa96c09e261e7d36f18df0b4eb05bee9d5
27 lines
1.0 KiB
YAML
27 lines
1.0 KiB
YAML
# Copyright (c) 2014 Hewlett-Packard Development Company, L.P.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
# implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
---
|
|
- name: "Pausing for 60 seconds to give MySQL time to become ready - Helion"
|
|
pause: seconds=60 prompt="Pausing for 60 seconds to give MySQL time to become ready"
|
|
when: helion is defined
|
|
- name: "Execute script to wait for MySQL to enter a Synced state"
|
|
sudo: yes
|
|
script: files/wait_for_database-helion.sh
|
|
when: helion is defined
|
|
- name: Triggering os-create-db on databases
|
|
sudo: yes
|
|
script: files/create-databases.sh
|
|
when: helion is defined
|