diff --git a/deployment/puppet/mellanox_openstack/files/openibd.conf b/deployment/puppet/mellanox_openstack/files/openibd.conf deleted file mode 100644 index 67769354f9..0000000000 --- a/deployment/puppet/mellanox_openstack/files/openibd.conf +++ /dev/null @@ -1,21 +0,0 @@ -# openibd - configure RDMA network devices -# - -description "configure RDMA network devices" - -start on (startup - and started udev) -stop on runlevel [!2345] - -pre-start script - exec /etc/init.d/openibd start auto - exec ifup -a -end script - -post-start script - exec /etc/init.d/openvswitch-switch restart -end script - - -post-stop exec /etc/init.d/openibd stop - diff --git a/deployment/puppet/mellanox_openstack/manifests/compute.pp b/deployment/puppet/mellanox_openstack/manifests/compute.pp index da64a5a5e8..731ebcd2fb 100644 --- a/deployment/puppet/mellanox_openstack/manifests/compute.pp +++ b/deployment/puppet/mellanox_openstack/manifests/compute.pp @@ -13,10 +13,8 @@ class mellanox_openstack::compute ( physifc => $physifc, } - class { 'mellanox_openstack::mlnxvif' :} Service['libvirt'] -> - Class['mellanox_openstack::mlnxvif'] -> Class['mellanox_openstack::eswitchd'] -> Class['mellanox_openstack::agent'] diff --git a/deployment/puppet/mellanox_openstack/manifests/mlnxvif.pp b/deployment/puppet/mellanox_openstack/manifests/mlnxvif.pp deleted file mode 100644 index 1536437040..0000000000 --- a/deployment/puppet/mellanox_openstack/manifests/mlnxvif.pp +++ /dev/null @@ -1,14 +0,0 @@ -class mellanox_openstack::mlnxvif { - include mellanox_openstack::params - - $package = $::mellanox_openstack::params::mlnxvif_package - $compute_service_name = $::mellanox_openstack::params::compute_service_name - - package { $package : - ensure => installed, - } - - Package[$package] -> - Service[$compute_service_name] - -} diff --git a/deployment/puppet/mellanox_openstack/manifests/openibd.pp b/deployment/puppet/mellanox_openstack/manifests/openibd.pp deleted file mode 100644 index c2ac34e045..0000000000 --- a/deployment/puppet/mellanox_openstack/manifests/openibd.pp +++ /dev/null @@ -1,11 +0,0 @@ -class mellanox_openstack::openibd { - - # Workaround for OFED upstart: ensure OFED starts before openvswitch - if ($::osfamily == 'Debian') { - file { '/etc/init/openibd.conf' : - ensure => present, - mode => '0644', - source => 'puppet:///modules/mellanox_openstack/openibd.conf', - } - } -} diff --git a/deployment/puppet/mellanox_openstack/manifests/params.pp b/deployment/puppet/mellanox_openstack/manifests/params.pp index 695c316c2b..9a5219e24b 100644 --- a/deployment/puppet/mellanox_openstack/manifests/params.pp +++ b/deployment/puppet/mellanox_openstack/manifests/params.pp @@ -7,13 +7,11 @@ class mellanox_openstack::params { case $::osfamily { 'RedHat': { $neutron_mlnx_packages = ['openstack-neutron-mellanox'] - $mlnxvif_package = 'mlnxvif' $agent_service = 'neutron-mlnx-agent' $compute_service_name = 'openstack-nova-compute' } 'Debian': { $neutron_mlnx_packages = ['neutron-plugin-mlnx','neutron-plugin-mlnx-agent'] - $mlnxvif_package = 'python-mlnxvif' $agent_service = 'neutron-plugin-mlnx-agent' $compute_service_name = 'nova-compute' } diff --git a/deployment/puppet/osnailyfacter/manifests/cluster_ha.pp b/deployment/puppet/osnailyfacter/manifests/cluster_ha.pp index bac5f5a3af..543319c0f3 100644 --- a/deployment/puppet/osnailyfacter/manifests/cluster_ha.pp +++ b/deployment/puppet/osnailyfacter/manifests/cluster_ha.pp @@ -448,10 +448,6 @@ class osnailyfacter::cluster_ha { } # End If keep_vips_together } - if ($::mellanox_mode != 'disabled') { - class { 'mellanox_openstack::openibd' : } - } - case $::fuel_settings['role'] { @@ -780,9 +776,6 @@ class osnailyfacter::cluster_ha { physnet => $net04_physnet, physifc => $::fuel_settings['neutron_mellanox']['physical_port'], } - $libvirt_vif_driver = 'mlnxvif.vif.MlxEthVIFDriver' - } else { - $libvirt_vif_driver = 'nova.virt.libvirt.vif.LibvirtGenericVIFDriver' } class { 'openstack::compute': @@ -832,7 +825,6 @@ class osnailyfacter::cluster_ha { nova_report_interval => $::nova_report_interval, nova_service_down_time => $::nova_service_down_time, state_path => $nova_hash[state_path], - libvirt_vif_driver => $libvirt_vif_driver, } if ($::use_ceph){ diff --git a/deployment/puppet/osnailyfacter/manifests/cluster_simple.pp b/deployment/puppet/osnailyfacter/manifests/cluster_simple.pp index 29620f946a..d0af883d4f 100644 --- a/deployment/puppet/osnailyfacter/manifests/cluster_simple.pp +++ b/deployment/puppet/osnailyfacter/manifests/cluster_simple.pp @@ -201,10 +201,6 @@ class osnailyfacter::cluster_simple { } } - if ($::mellanox_mode != 'disabled') { - class { 'mellanox_openstack::openibd' : } - } - case $::fuel_settings['role'] { @@ -483,9 +479,6 @@ class osnailyfacter::cluster_simple { physnet => $net04_physnet, physifc => $::fuel_settings['neutron_mellanox']['physical_port'], } - $libvirt_vif_driver = 'mlnxvif.vif.MlxEthVIFDriver' - } else { - $libvirt_vif_driver = 'nova.virt.libvirt.vif.LibvirtGenericVIFDriver' } class { 'openstack::compute': @@ -533,7 +526,6 @@ class osnailyfacter::cluster_simple { nova_report_interval => $::nova_report_interval, nova_service_down_time => $::nova_service_down_time, cinder_rate_limits => $::cinder_rate_limits, - libvirt_vif_driver => $libvirt_vif_driver, } nova_config { 'DEFAULT/start_guests_on_host_boot': value => $::fuel_settings['start_guests_on_host_boot'] } nova_config { 'DEFAULT/use_cow_images': value => $::fuel_settings['use_cow_images'] }