Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1493969 - stonith configuration is currently broken
stonith configuration is currently broken
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-pacemaker (Show other bugs)
12.0 (Pike)
All Linux
high Severity high
: beta
: 12.0 (Pike)
Assigned To: Michele Baldessari
nlevinki
: Triaged
Depends On:
Blocks: 1509912 1536067
  Show dependency treegraph
 
Reported: 2017-09-21 04:53 EDT by Michele Baldessari
Modified: 2018-02-05 14:15 EST (History)
6 users (show)

See Also:
Fixed In Version: puppet-pacemaker-0.6.1-0.20171015172907.44d3226.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1509912 (view as bug list)
Environment:
Last Closed: 2017-12-13 17:11:04 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1717531 None None None 2017-09-21 04:54 EDT
Launchpad 1717566 None None None 2017-09-21 04:54 EDT
OpenStack gerrit 504425 None None None 2017-09-21 05:03 EDT
OpenStack gerrit 504931 None None None 2017-09-21 05:04 EDT
OpenStack gerrit 504932 None None None 2017-09-21 05:05 EDT
OpenStack gerrit 506326 None None None 2017-09-21 15:08 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Michele Baldessari 2017-09-21 04:53:40 EDT
There are currently two problems when we configure stonith via tripleo.

A) https://bugs.launchpad.net/tripleo/+bug/1717531
parameter_defaults:
  EnableFencing: true
  FencingConfig:
    devices:
    - agent: fence_ipmilan
      host_mac: 00:92:bb:63:40:3d
      params:
        login: admin
        ipaddr: 192.168.24.1
        ipport: 6230
        passwd: password
        lanplus: 1
....

The deploy did not have stonith enabled:
Cluster Properties:
 cluster-infrastructure: corosync
 cluster-name: tripleo_cluster
 dc-version: 1.1.16-12.13.el7.centos-94ff4df
 have-watchdog: false
 redis_REPL_INFO: overcloud-controller-0
 stonith-enabled: false

B) https://bugs.launchpad.net/tripleo/+bug/1717566
Stonith creation is racy and not all stonith resources get created.


So the following might happen:
Sep 15 09:43:51 localhost os-collect-config: "Notice: /Stage[main]/Tripleo::Fencing/Pacemaker::Stonith::Fence_ipmilan[00:92:bb:63:40:9f]/Exec[Create stonith-fence_ipmilan-0092bb63409f]/returns: executed successfully",
Sep 15 09:43:51 localhost os-collect-config: "Notice: /Stage[main]/Tripleo::Fencing/Pacemaker::Stonith::Fence_ipmilan[00:92:bb:63:40:9f]/Exec[Add non-local constraint for stonith-fence_ipmilan-0092bb63409f]/returns: Error: Resource 'stonith-fence_ipmilan-0092bb63409f' does not exist"

The reasons for this are the direct calls to the pcs command.
Comment 2 Michele Baldessari 2017-09-21 14:55:18 EDT
One more smaller patch is needed. gerrit @ openstack is down. will link here the review once it is up
Comment 3 Michele Baldessari 2017-09-21 15:08:30 EDT
Ok added last review. While this one (506326) is not essential for tripleo, it'd still be good to have
Comment 4 Michele Baldessari 2017-09-22 10:40:19 EDT
506326 merged, moving to POST again
Comment 9 errata-xmlrpc 2017-12-13 17:11:04 EST
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://access.redhat.com/errata/RHEA-2017:3462

Note You need to log in before you can comment on or make changes to this bug.