Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1583272 - [SRIOV] NeutronSriovHostConfig missing in SRIOV's env files Edit
[SRIOV] NeutronSriovHostConfig missing in SRIOV's env files Edit
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
medium Severity medium
: z2
: 13.0 (Queens)
Assigned To: Ricardo Noriega
Noam Manos
SRIOV
: Triaged, ZStream
Depends On:
Blocks: 1528947
  Show dependency treegraph
 
Reported: 2018-05-28 11:44 EDT by Ricardo Noriega
Modified: 2018-10-18 06:27 EDT (History)
8 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-8.0.4-3.el7ost
Doc Type: Enhancement
Doc Text:
Feature: SRIOV with OpenDaylight Reason: One of the TripleO services is missing from the templates. Result: "In order to configure SRIOV properly on the compute nodes, in an OpenDaylight environment, we would need to make sure the following services are present in an environment file: OS::TripleO::Services::ComputeNeutronCorePlugin: ../../docker/services/neutron-plugin-ml2.yaml OS::TripleO::Services::NeutronSriovAgent: ../../docker/services/neutron-sriov-agent.yaml OS::TripleO::Services::NeutronSriovHostConfig: ../../puppet/services/neutron-sriov-host-config.yaml There is an environment file named neutron-opendaylight-sriov.yaml in: /usr/share/openstack-tripleo-heat-templates/environments/services-docker/neutron-opendaylight-sriov.yaml where the user should add the NeutronSriovHostConfig service into the resource registry section. So the environment file would look like: # A Heat environment that can be used to deploy OpenDaylight with SRIOV # This file is to be used with neutron-opendaylight.yaml resource_registry: OS::TripleO::Services::ComputeNeutronCorePlugin: ../../docker/services/neutron-plugin-ml2.yaml OS::TripleO::Services::NeutronSriovAgent: ../../docker/services/neutron-sriov-agent.yaml OS::TripleO::Services::NeutronSriovHostConfig: ../../puppet/services/neutron-sriov-host-config.yaml parameter_defaults: NeutronMechanismDrivers: ['sriovnicswitch','opendaylight_v2'] # Add PciPassthroughFilter to the scheduler default filters #NovaSchedulerDefaultFilters: ['RetryFilter','AvailabilityZoneFilter','RamFilter','ComputeFilter','ComputeCapabilitiesFilter','ImagePropertiesFilter','ServerGroupAntiAffinityFilter','ServerGroupAffinityFilter','PciPassthroughFilter'] #NovaSchedulerAvailableFilters: ["nova.scheduler.filters.all_filters","nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter"] #NeutronPhysicalDevMappings: "datacentre:ens20f2" # Number of VFs that needs to be configured for a physical interface #NeutronSriovNumVFs: "ens20f2:5" #NovaPCIPassthrough: # - devname: "ens20f2" # physical_network: "datacentre"
Story Points: ---
Clone Of:
Environment:
N/A
Last Closed: 2018-08-29 12:36:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1773746 None None None 2018-05-28 11:44 EDT
OpenStack gerrit 571121 None stable/queens: MERGED tripleo-heat-templates: NeutronSriovHostConfig missing in SRIOV's env files (I30d790c917f5bdbf0d6e6fca66aea7d08c1c8d10) 2018-07-18 21:53 EDT
Red Hat Product Errata RHBA-2018:2574 None None None 2018-08-29 12:37 EDT

  None (edit)
Description Ricardo Noriega 2018-05-28 11:44:40 EDT
This service is missing in both SRIOV files with and without Opendaylight.

The following environment file:

https://github.com/openstack/tripleo-heat-templates/blob/stable/queens/environments/services-docker/neutron-opendaylight-sriov.yaml

Does not contain the NeutronSriovHostConfig as it does:

https://github.com/openstack/tripleo-heat-templates/blob/stable/queens/environments/services-docker/neutron-sriov.yaml

This service is required to perform operations on the host in order to configure SRIOV capable NICs.
Comment 1 Ricardo Noriega 2018-05-30 04:11:08 EDT
The upstream fix is on its way:

https://review.openstack.org/#/q/topic:bug/1773746+(status:open+OR+status:merged)
Comment 2 Mike Kolesnik 2018-05-30 04:24:17 EDT
Ricky, please provide doc text of what needs to be manually done to make it work in GA. The fix will go in z1.
Comment 3 Ricardo Noriega 2018-05-30 09:42:20 EDT
"In order to configure SRIOV properly on the compute nodes, in an OpenDaylight environment, we would need to make sure the following services are present in an environment file:

  OS::TripleO::Services::ComputeNeutronCorePlugin: ../../docker/services/neutron-plugin-ml2.yaml
  OS::TripleO::Services::NeutronSriovAgent: ../../docker/services/neutron-sriov-agent.yaml
  OS::TripleO::Services::NeutronSriovHostConfig: ../../puppet/services/neutron-sriov-host-config.yaml


There is an environment file named neutron-opendaylight-sriov.yaml in:

/usr/share/openstack-tripleo-heat-templates/environments/services-docker/neutron-opendaylight-sriov.yaml

where the user should add the NeutronSriovHostConfig service into the resource registry section. So the environment file would look like:


# A Heat environment that can be used to deploy OpenDaylight with SRIOV
# This file is to be used with neutron-opendaylight.yaml

resource_registry:
  OS::TripleO::Services::ComputeNeutronCorePlugin: ../../docker/services/neutron-plugin-ml2.yaml
  OS::TripleO::Services::NeutronSriovAgent: ../../docker/services/neutron-sriov-agent.yaml
  OS::TripleO::Services::NeutronSriovHostConfig: ../../puppet/services/neutron-sriov-host-config.yaml

parameter_defaults:
  NeutronMechanismDrivers: ['sriovnicswitch','opendaylight_v2']

  # Add PciPassthroughFilter to the scheduler default filters
  #NovaSchedulerDefaultFilters: ['RetryFilter','AvailabilityZoneFilter','RamFilter','ComputeFilter','ComputeCapabilitiesFilter','ImagePropertiesFilter','ServerGroupAntiAffinityFilter','ServerGroupAffinityFilter','PciPassthroughFilter']
  #NovaSchedulerAvailableFilters: ["nova.scheduler.filters.all_filters","nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter"]

  #NeutronPhysicalDevMappings: "datacentre:ens20f2"

  # Number of VFs that needs to be configured for a physical interface
  #NeutronSriovNumVFs: "ens20f2:5"

  #NovaPCIPassthrough:
  #  - devname: "ens20f2"
  #    physical_network: "datacentre"
Comment 4 Ricardo Noriega 2018-05-31 03:50:37 EDT
Both patches for master and Queens have landed upstream:

https://review.openstack.org/#/q/topic:bug/1773746+(status:open+OR+status:merged)
Comment 15 Joanne O'Flynn 2018-08-15 04:05:37 EDT
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible.

If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-".


To add draft documentation text:

* Select the documentation type from the "Doc Type" drop down field.

* A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.
Comment 17 errata-xmlrpc 2018-08-29 12:36:45 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2574

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