Hide Forgot
Description of problem: Could not boot an instance on OSPD10 + SRIOV environment. So far I found the following miss configurations I'll update with more findings: - /etc/nova/nova.conf Should contain "scheduler_default_filters" with "PciPassthroughFilter" Value - neutron-server.service should use /etc/neutron/plugins/ml2/ml2_conf_sriov.ini as config-file Link for SRIOV configuration in redhat access: https://access.redhat.com/documentation/en/red-hat-openstack-platform/version-8/networking-guide/ Moreover, The heat yaml post config scripts should exists within the /usr/share/openstack-tripleo-heat-templates/extraconfig directory. Version-Release number of selected component (if applicable): OSPD10, build - 2016-10-06.1. How reproducible: Always Steps to Reproduce: 1.Install OSPD10 2.Use SR-IOV post install yaml[http://skvs.etherpad.corp.redhat.com/integration-sriov ] 3. Boot an instance Actual results: The instance boots in ERROR state Expected results: The instance should be ACTIVE Additional info: tail -f /var/log/nova/nova-scheduler.log Filtering removed all hosts for the request with instance ID '98ee9c81-73db-40a0-bbff-4f3af138218d'. Filter results: [('RetryFilter', [(u'compute-0.localdomain', u'compute-0.localdomain')]), ('AvailabilityZoneFilter', [(u'compute-0.localdomain', u'compute-0.localdomain')]), ('RamFilter', [(u'compute-0.localdomain', u'compute-0.localdomain')]), ('ComputeFilter', [(u'compute-0.localdomain', u'compute-0.localdomain')]), ('ComputeCapabilitiesFilter', [(u'compute-0.localdomain', u'compute-0.localdomain')]), ('ImagePropertiesFilter', [(u'compute-0.localdomain', u'compute-0.localdomain')]), ('CoreFilter', [(u'compute-0.localdomain', u'compute-0.localdomain')]), ('PciPassthroughFilter', None)]
>- /etc/nova/nova.conf > Should contain "scheduler_default_filters" with "PciPassthroughFilter" Value Referring to the etherpad, the name of the THT parameter has been changed during review process and the ether pad was not up to date. I have modified now with the correct parameter name which is NovaSchedulerDefaultFilters. > - neutron-server.service should use /etc/neutron/plugins/ml2/ml2_conf_sriov.ini as config-file OSP-d should not modify the service files directly is the recommendation. Neutron has exposed conf.d directories for all services of neutron. Files with extension ".conf" will be automatically picked up by the corresponding service. For SR-IOV, the ml2_conf_sriov.ini file has to be present at /etc/neutron/conf.d/neutron-server/ folder. A symbolic link would have been created with extension as .conf. Please verify in your environment. > Moreover, The heat yaml post config scripts should exists within the /usr/share/openstack-tripleo-heat-templates/extraconfig directory. The post installation steps are just a work around till OVS2.6 is available. These should be available as part of the documentation (which is yet to be produced).
(In reply to Saravanan KR from comment #3) > > Moreover, The heat yaml post config scripts should exists within the /usr/share/openstack-tripleo-heat-templates/extraconfig directory. > > The post installation steps are just a work around till OVS2.6 is available. > These should be available as part of the documentation (which is yet to be > produced). This is not a valid comment in regards to SR-IOV. Please ignore it.
(In reply to Saravanan KR from comment #3) > >- /etc/nova/nova.conf > > Should contain "scheduler_default_filters" with "PciPassthroughFilter" Value > > Referring to the etherpad, the name of the THT parameter has been changed > during review process and the ether pad was not up to date. I have modified > now with the correct parameter name which is NovaSchedulerDefaultFilters. > > > - neutron-server.service should use /etc/neutron/plugins/ml2/ml2_conf_sriov.ini as config-file > > OSP-d should not modify the service files directly is the recommendation. > Neutron has exposed conf.d directories for all services of neutron. Files > with extension ".conf" will be automatically picked up by the corresponding > service. For SR-IOV, the ml2_conf_sriov.ini file has to be present at > /etc/neutron/conf.d/neutron-server/ folder. A symbolic link would have been > created with extension as .conf. Please verify in your environment. > > > Moreover, The heat yaml post config scripts should exists within the /usr/share/openstack-tripleo-heat-templates/extraconfig directory. > > The post installation steps are just a work around till OVS2.6 is available. > These should be available as part of the documentation (which is yet to be > produced). I used the correct parameter as Saravanan suggested, currently I can boot an instance successfully. Saravanan also changed the etherpad with the correct parameter. closing this bug.