Bug 1387302

Summary: pacemaker stonith-property is set always to false despite pre-upgrade status
Product: Red Hat OpenStack Reporter: Marian Krcmarik <mkrcmari>
Component: openstack-tripleo-heat-templatesAssignee: Michele Baldessari <michele>
Status: CLOSED ERRATA QA Contact: Marian Krcmarik <mkrcmari>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: jschluet, mburns, michele, mkrcmari, rhel-osp-director-maint
Target Milestone: rcKeywords: Triaged
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-5.0.0-1.2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 16:23:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Marian Krcmarik 2016-10-20 15:03:55 UTC
Description of problem:
The pacemaker stonith-property is set to false after an upgrade from RHOS9 to RHOS10 even though it was set to true before upgrade - This causes fencing to be disable so fencing of overcloud nodes does not work properly especially in split-brain condition

Version-Release number of selected component (if applicable):
puppet-tripleo-5.2.0-2.el7ost.noarch
openstack-tripleo-common-5.2.1-0.20161007114757.cc19d04.el7ost.noarch
openstack-tripleo-heat-templates-5.0.0-0.20161008015357.0d3e3e3.1.el7ost.noarch
openstack-tripleo-puppet-elements-5.0.0-0.20161003213431.200d011.el7ost.noarch
python-tripleoclient-5.2.0-2.el7ost.noarch
openstack-tripleo-image-elements-5.0.0-1.el7ost.noarch
openstack-tripleo-0.0.8-0.2.4de13b3git.el7ost.noarch
openstack-tripleo-heat-templates-compat-2.0.0-34.3.el7ost.noarch
openstack-tripleo-ui-1.0.3-1.el7ost.noarch

How reproducible:
Always (presumably), The condition seems to be racy.

Steps to Reproduce:
1. Deploy RHOS9 - set stonith-enabled to true (pcs property set stonith-enabled=true)
2. Upgrade to RHOS10

Actual results:
stonith-enabled is false

Expected results:
stonith-enabled should keep the state - true

Additional info:

Comment 1 Michele Baldessari 2016-10-20 18:20:19 UTC
Marian, could you give the attached gerrit patch a spin and report back please? Thanks

Comment 2 Marian Krcmarik 2016-10-21 14:09:37 UTC
(In reply to Michele Baldessari from comment #1)
> Marian, could you give the attached gerrit patch a spin and report back
> please? Thanks

I tried to perform "major upgrade step" with patched major_upgrade_controller_pacemaker_1.sh and It seems to work correctly, even though I did perform only the major upgrade step, I was watching tje status of stonith-enabled property and could verify that It was switched to false and then again properly switched to true and kept that way.

Comment 3 Michele Baldessari 2016-10-28 09:31:02 UTC
Stable/newton change has merged

Comment 6 errata-xmlrpc 2016-12-14 16:23:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2948.html