Bug 1383411 - Instance creation failed on OSPD10+SR-IOV environment
Summary: Instance creation failed on OSPD10+SR-IOV environment
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 10.0 (Newton)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 10.0 (Newton)
Assignee: Angus Thomas
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-10 14:32 UTC by Eyal Dannon
Modified: 2016-10-13 09:02 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-13 09:02:20 UTC
Target Upstream Version:
skramaja: needinfo-


Attachments (Terms of Use)

Description Eyal Dannon 2016-10-10 14:32:01 UTC
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)]

Comment 3 Saravanan KR 2016-10-12 12:07:22 UTC
>- /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).

Comment 6 Saravanan KR 2016-10-13 06:16:01 UTC
(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.

Comment 7 Eyal Dannon 2016-10-13 09:01:43 UTC
(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.


Note You need to log in before you can comment on or make changes to this bug.