Skip to content

Commit

Permalink
Merge pull request #9077 from alvarocarvajald/ha-on-s390x-migrations
Browse files Browse the repository at this point in the history
Stop corosync in HA workarounds if not using Support Server
  • Loading branch information
juadk committed Dec 4, 2019
2 parents 26d97ea + d74ce47 commit 16578fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ha/setup_hosts_and_luns.pm
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ sub run {
# Special tasks to do in upgrades
if (get_var('HDDVERSION', '')) {
# Ensure cluster is not running
systemctl 'stop pacemaker';
systemctl 'stop pacemaker corosync';

# Get IP adresses configured in /etc/corosync.conf
my %addr_changes = ();
Expand All @@ -83,7 +83,7 @@ sub run {

# Finish early if no ring0 addresses were found in corosync.conf.
if ($count == 0) {
systemctl 'start pacemaker';
systemctl 'start corosync pacemaker';
return;
}

Expand All @@ -108,7 +108,7 @@ sub run {

# Restart cluster
barrier_wait("BARRIER_HA_NONSS_FILES_SYNCED_$cluster_name");
systemctl 'start pacemaker';
systemctl 'start corosync pacemaker';
return; # Skip LUN setup in upgrades
}

Expand Down

0 comments on commit 16578fc

Please sign in to comment.