sr-iov: neutron-sriov-agent required for >= mitaka

Bug #1628675 reported by JuanJo Ciarlante
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Neutron Open vSwitch Charm
Fix Released
Medium
James Page
OpenStack Nova Compute Charm
Fix Released
Medium
Unassigned
neutron-openvswitch (Juju Charms Collection)
Invalid
Medium
James Page
nova-compute (Juju Charms Collection)
Invalid
Medium
Unassigned

Bug Description

Context: xenial/mitaka deploy using 16.07 charms release, sr-iov enabled as per release notes[0].

As per [1] compute node should "Enable neutron sriov-agent" -
without it, nova-compute fails with the infamous:

  NovaException: Unexpected vif_type=binding_failed

Got above fixed after manually installing the pkg and modifying
sriov_agent.ini as:

root@buizel:~# apt-get install neutron-sriov-agent
root@buizel:~# tail -3 /etc/neutron/plugins/ml2/sriov_agent.ini
[sriov_nic]
physical_device_mappings = physnet1:p4p2
exclude_devices =

[0] https://wiki.ubuntu.com/OpenStack/OpenStackCharms/ReleaseNotes1607#SR-IOV.2C_CPU_pinning_and_host_memory_reservation_.28Preview.29
[1] http://docs.openstack.org/mitaka/networking-guide/config-sriov.html

Revision history for this message
James Page (james-page) wrote :

The SR-IOV support was implemented across the charms against liberty (which did not require use of the neutron-sriov-agent). As of Mitaka, this agent is required for correct functioning of SR-IOV ports in neutron.

That said, this should not be a feature of the nova-compute charm; I think its probably a new charm (neutron-sriov) *but* it has to co-exist with neutron-openvswitch, so can't assume sole ownership of /etc/neutron/neutron.conf. As a result, this won't be super trivial to implement, as I suspect we'll need it to operate standalone on a compute node as well as with n-ovs.

summary: - sr-iov support: nova-compute charm doesn't install and run neutron-
- sriov-agent
+ neutron-sriov-agent required for >= mitaka
Changed in neutron-openvswitch (Juju Charms Collection):
importance: Undecided → Medium
Changed in nova-compute (Juju Charms Collection):
importance: Undecided → Medium
Changed in neutron-openvswitch (Juju Charms Collection):
status: New → Triaged
Changed in nova-compute (Juju Charms Collection):
status: New → Triaged
summary: - neutron-sriov-agent required for >= mitaka
+ sr-iov: neutron-sriov-agent required for >= mitaka
Revision history for this message
James Page (james-page) wrote :

As a workaround, its possible to install the neutron-sriov-agent post charm deployment, and configure the physical device mappings in /etc/neutron/plugins/ml2/sriov_agent.ini inline with the nova-compute configuration.

Revision history for this message
James Page (james-page) wrote :

I also have an in flight change to fix this issue in n-ovs:

  https://review.openstack.org/#/c/396709/

however I'm currently blocked on testing due to bug 1641593

Changed in neutron-openvswitch (Juju Charms Collection):
assignee: nobody → James Page (james-page)
status: Triaged → In Progress
James Page (james-page)
Changed in charm-nova-compute:
importance: Undecided → Medium
status: New → Triaged
Changed in nova-compute (Juju Charms Collection):
status: Triaged → Invalid
James Page (james-page)
Changed in charm-neutron-openvswitch:
assignee: nobody → James Page (james-page)
importance: Undecided → Medium
status: New → In Progress
Changed in neutron-openvswitch (Juju Charms Collection):
status: In Progress → Invalid
James Page (james-page)
Changed in charm-neutron-openvswitch:
milestone: none → 17.02
status: In Progress → Fix Released
Changed in charm-nova-compute:
status: Triaged → Fix Released
milestone: none → 17.02
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.