Skip to content

Commit

Permalink
chore(pacemaker): cluster upgrade script node match fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
vinolas committed Apr 16, 2024
1 parent 0eea4c4 commit 373f604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysadm/pacemaker-upgrade-cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ do
# Download newer images for each flavour but do not bring it up
"${script_path%/*}"/isard-upgrade-cron.sh -c "$config_name" -n
# Check which service is running in this host and restart only this one.
if pcs status --full | grep -q "^\s*$config_name\s\+(ocf::heartbeat:compose):\s\+Started\s\+$(hostname)$"
if pcs status --full | grep -q "\s**\s$config_name\s\+(ocf:heartbeat:compose):\s\+Started\s\+$(hostname)$"
then
if [ $EXCLUDE_HYPER = 1 ]
then
Expand Down

0 comments on commit 373f604

Please sign in to comment.