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 (cherry picked from commit90005dd883
) (cherry picked from commit2addd1d549
) (cherry picked from commitb5b19bc5c3
) (cherry picked from commit88ba18fb29
)
This commit is contained in:
parent
2f68f26e64
commit
d4bbee8db9
@ -134,12 +134,16 @@ class tripleo::fencing(
|
|||||||
$kdump_devices = local_fence_devices('fence_kdump', $all_devices)
|
$kdump_devices = local_fence_devices('fence_kdump', $all_devices)
|
||||||
create_resources('pacemaker::stonith::fence_kdump', $kdump_devices, $common_params)
|
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)
|
$rhev_devices = local_fence_devices('fence_rhevm', $all_devices)
|
||||||
create_resources('pacemaker::stonith::fence_rhevm', $rhev_devices, $common_params)
|
create_resources('pacemaker::stonith::fence_rhevm', $rhev_devices, $common_params)
|
||||||
|
|
||||||
$data = {
|
$data = {
|
||||||
'xvm' => $xvm_devices, 'ironic' => $ironic_devices, 'redfish' => $redfish_devices,
|
'xvm' => $xvm_devices, 'ironic' => $ironic_devices, 'redfish' => $redfish_devices,
|
||||||
'ipmilan' => $ipmilan_devices, 'kdump' => $kdump_devices, 'rhevm' => $rhev_devices
|
'ipmilan' => $ipmilan_devices, 'kdump' => $kdump_devices, 'kubevirt' => $kubevirt_devices,
|
||||||
|
'rhevm' => $rhev_devices
|
||||||
}
|
}
|
||||||
|
|
||||||
$data.each |$items| {
|
$data.each |$items| {
|
||||||
|
Loading…
Reference in New Issue
Block a user