From 351eace388edfead975e79358f2dbc6210df799d Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Fri, 13 Oct 2017 12:18:54 +0200 Subject: [PATCH] Switch to nova::compute::pci for PCI passthrough https://review.openstack.org/#/c/510151/ has removed pci_passthrough option from nova::compute. Change-Id: I9309ce199e6a81cf5066b401a728221ab853b611 --- packstack/puppet/modules/packstack/manifests/nova/compute.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packstack/puppet/modules/packstack/manifests/nova/compute.pp b/packstack/puppet/modules/packstack/manifests/nova/compute.pp index 6dd8187a7..fa956c269 100644 --- a/packstack/puppet/modules/packstack/manifests/nova/compute.pp +++ b/packstack/puppet/modules/packstack/manifests/nova/compute.pp @@ -84,7 +84,6 @@ class packstack::nova::compute () vncproxy_host => hiera('CONFIG_KEYSTONE_HOST_URL'), vncproxy_protocol => hiera('CONFIG_VNCPROXY_PROTOCOL'), vncserver_proxyclient_address => $vncproxy_server, - pci_passthrough => hiera('CONFIG_NOVA_PCI_PASSTHROUGH_WHITELIST'), instance_usage_audit => $instance_usage_audit, instance_usage_audit_period => $instance_usage_audit_period, allow_resize_to_same_host => hiera('CONFIG_NOVA_ALLOW_RESIZE_TO_SAME'), @@ -97,6 +96,10 @@ class packstack::nova::compute () os_region_name => hiera('CONFIG_KEYSTONE_REGION'), } + class { '::nova::compute::pci': + passthrough => hiera('CONFIG_NOVA_PCI_PASSTHROUGH_WHITELIST') + } + include ::nova::cell_v2::discover_hosts Class['nova::compute'] ~> Class['nova::cell_v2::discover_hosts']