Extend fencing to hosts using fence_kubevirt agent.
This commit extends the fencing class allowing operators to use fence_kubevirt for nodes running on kubevirt / CNV. Depends-On: I18fd2297063c7157d6b743c7fc9c161bf23dca39 Change-Id: I4f4658b3320c2cce2cf302dbb5f99bb463bd22ca
This commit is contained in:
parent
1e57a44c7a
commit
90005dd883
@ -132,6 +132,9 @@ class tripleo::fencing(
|
||||
$kdump_devices = local_fence_devices('fence_kdump', $all_devices)
|
||||
create_resources('pacemaker::stonith::fence_kdump', $kdump_devices, $common_params)
|
||||
|
||||
$kubevirt_devices = local_fence_devices('fence_kubevirt', $all_devices)
|
||||
create_resources('pacemaker::stonith::fence_kubevirt', $kubevirt_devices, $common_params)
|
||||
|
||||
$rhev_devices = local_fence_devices('fence_rhevm', $all_devices)
|
||||
create_resources('pacemaker::stonith::fence_rhevm', $rhev_devices, $common_params)
|
||||
|
||||
@ -140,8 +143,8 @@ class tripleo::fencing(
|
||||
|
||||
$data = {
|
||||
'xvm' => $xvm_devices, 'ironic' => $ironic_devices, 'redfish' => $redfish_devices,
|
||||
'ipmilan' => $ipmilan_devices, 'kdump' => $kdump_devices, 'rhevm' => $rhev_devices,
|
||||
'cisco_ucs' => $ucs_devices
|
||||
'ipmilan' => $ipmilan_devices, 'kdump' => $kdump_devices, 'kubevirt' => $kubevirt_devices,
|
||||
'rhevm' => $rhev_devices, 'cisco_ucs' => $ucs_devices
|
||||
}
|
||||
|
||||
$data.each |$items| {
|
||||
|
Loading…
Reference in New Issue
Block a user