Disable exit on error for pacemaker commands for update flow
authorSaravanan KR <skramaja@redhat.com>
Mon, 27 Feb 2017 13:46:03 +0000 (19:16 +0530)
committerSaravanan KR <skramaja@redhat.com>
Wed, 1 Mar 2017 16:45:22 +0000 (16:45 +0000)
commit476d15b727b12b750c5a867df1729e8bbd91942d
tree18fc1fdbb13a5e7b5ea66cf1a8dde06ee052ae14
parentd1b67dae40b9bc7cc5d67be0413437f16b4843ba
Disable exit on error for pacemaker commands for update flow

Package update fails on compute node, when yum_update checks for
pacemaker status via systemctl command. Because exit on error (-e)
option has been enabled recently, this issue is happening. Fixing
by, executing the command only on nodes where pacemaker is enabled.
Closes-Bug: #1668266

Change-Id: I2aae4e2fdfec526c835f8967b54e1db3757bca17
(cherry picked from commit e9a2fdc0afd2a3f1242f397c5f164cf6b43c2669)
extraconfig/tasks/yum_update.sh