Check if VTX is enabled on hypervisor nodes
VTX is required when using KVM as hypervisor on compute nodes. When the fact will be merged upstream, the lib/facter/vtx.rb file will be dropped to use the one from facter-core. Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
@@ -54,6 +54,10 @@ class cloud::compute::hypervisor(
|
||||
include 'cloud::telemetry'
|
||||
include 'cloud::network'
|
||||
|
||||
if $libvirt_type == 'kvm' and ! $::vtx {
|
||||
fail('libvirt_type is set to KVM and VTX seems to be disabled on this node.')
|
||||
}
|
||||
|
||||
# Backward compatibility
|
||||
# if has_ceph was enabled, we consider deployments run Ceph for Nova & Cinder
|
||||
if $has_ceph {
|
||||
|
||||
Reference in New Issue
Block a user