Bug 1426481

Summary: [Docs][RFE][director] Integerate Auto Fencing with director for automated deployment, updates
Product: Red Hat OpenStack Reporter: Dan Macpherson <dmacpher>
Component: documentationAssignee: Martin Lopes <mlopes>
Status: CLOSED CURRENTRELEASE QA Contact: Asaf Hirshberg <ahirshbe>
Severity: medium Docs Contact:
Priority: medium    
Version: 11.0 (Ocata)CC: ahirshbe, dcadzow, dmacpher, lbopf, mburns, oblaut, srevivo, vaggarwa
Target Milestone: ---   
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-23 03:50:23 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: 1242422, 1558241    
Bug Blocks:    

Description Dan Macpherson 2017-02-24 02:28:48 UTC
Documentation Assessment: Two changes will be required for this item:

1. Remove manual fencing steps from director guide
2. Add auto fencing configuration to the advanced overcloud guide"

Comment 1 Lucy Bopf 2017-04-06 01:38:10 UTC
Assigning to Martin for review.

Martin, can you work with Dan to determine an appropriate placement and structure for this content?

Comment 2 Martin Lopes 2017-04-06 03:48:44 UTC
Researching requirements

Comment 17 Asaf Hirshberg 2017-04-26 11:04:52 UTC
in my opinion, it will be good to add to 14.3.2.1 an example on how the fencing.yml should look like.

Comment 21 Dan Macpherson 2017-05-18 16:25:19 UTC
*** Bug 1452246 has been marked as a duplicate of this bug. ***

Comment 23 Asaf Hirshberg 2017-05-22 11:32:01 UTC
this is how I built my instackenv file and the output from the fencing.yml:
[stack@puma33 ~]$ cat instackenv.json 
{
    "nodes":[
        { 
            "name": "puma04", 
            "pm_type":"pxe_ipmitool",
            "mac":[
                "44:1e:a1:73:39:91"
            ],
            "cpu":"1",
            "memory":"4096",
            "disk":"40",
            "arch":"x86_64",
            "pm_user":"admin",
            "pm_password":"admin",
            "pm_addr":"10.35.160.18"
        },


[stack@puma33 ~]$ cat fencing.yml 
parameter_defaults:
  EnableFencing: true
  FencingConfig:
    devices:
    - agent: fence_ipmilan
      host_mac: 44:1e:a1:73:39:91
      params:
        action: reboot
        ipaddr: 10.35.160.18
        lanplus: true
        login: admin
        passwd: admin
        pcmk_host_list: puma04
        privlvl: administrator

Comment 28 Martin Lopes 2017-05-23 03:41:52 UTC
Added edits from peer review.