Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1678521

Summary: [RFE] Support for configuring STONITH/fencing with controllers running in ovirt/RHV
Product: Red Hat OpenStack Reporter: Mircea Vutcovici <mircea.vutcovici>
Component: puppet-tripleoAssignee: Luca Miccini <lmiccini>
Status: CLOSED ERRATA QA Contact: Ofer Blaut <oblaut>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.0 (Train)CC: abeekhof, aherr, alonare, ccopello, chjones, dabarzil, dciabrin, jjoyce, jschluet, lmiccini, michele, mircea.vutcovici, pkomarov, scohen, slinaber, tfreger, tvignaud
Target Milestone: Upstream M2Keywords: FutureFeature, Triaged
Target Release: 16.0 (Train on RHEL 8.1)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: puppet-tripleo-11.3.1-0.20191031115923.7c9561b.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-06 14:39:53 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1795667    

Description Mircea Vutcovici 2019-02-19 02:09:15 UTC
Description of problem:

In the documentation about OpenStack STONITH/fencing configuration [1], the command "openstack overcloud generate fencing" is used to generate heat template file for director configuration for fencing. The problem is that this command is supporting only fence_ipmilan. Other fencing agents are not supported and there is no documentation on how to configure them.

[1]
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html-single/advanced_overcloud_customization/#sect-Fencing_the_Controller_Nodes

Comment 2 Mircea Vutcovici 2019-02-22 15:04:01 UTC
I think you are right, it should be a RFE. I can not edit the BZ to change the first comment, do you have permissions to edit the description? Do you need any additional info?

Comment 8 Luca Miccini 2019-11-27 16:37:07 UTC
      - agent: fence_rhevm
        host_mac: aa:bb:cc:dd:ee:00
        params:
          ipaddr: 10.0.0.1
          login: admin@internal
          passwd: password
          pcmk_host_list: overcloud-controller-0
          port: test-c0
          ssl: 1
          ssl_insecure: 1
      - agent: fence_rhevm
        host_mac: aa:bb:cc:dd:ee:01
        params:
          ipaddr: 10.0.0.1
          login: admin@internal
          passwd: password
          pcmk_host_list: overcloud-controller-1
          port: test-c1
          ssl: 1
          ssl_insecure: 1
      - agent: fence_rhevm
        host_mac: aa:bb:cc:dd:ee:02
        params:
          ipaddr: 10.0.0.1
          login: admin@internal
          passwd: password
          pcmk_host_list: overcloud-controller-2
          port: test-c2
          ssl: 1
          ssl_insecure: 1


[root@overcloud-controller-1 ~]# pcs stonith level
Target: overcloud-controller-0
  Level 1 - stonith-fence_rhevm-aabbccddee00
Target: overcloud-controller-1
  Level 1 - stonith-fence_rhevm-aabbccddee01
Target: overcloud-controller-2
  Level 1 - stonith-fence_rhevm-aabbccddee02

Comment 14 errata-xmlrpc 2020-02-06 14:39:53 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://access.redhat.com/errata/RHEA-2020:0283