← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1878042] [NEW] SRIOV agent does not parse correctly "ip link show <dev>"

 

Public bug reported:

In Red Hat 8.2, iproute2-ss190924, the output for "ip link show <dev>"
is http://paste.openstack.org/show/793392/

The regex [1] used does not parse the VF information line and can't
extract the MAC address and the state.

[1]https://github.com/openstack/neutron/blob/2ac52607c266e593700be0784ebadc77789070ff/neutron/plugins/ml2/drivers/mech_sriov/agent/pci_lib.py#L38-L44
[2]https://github.com/openstack/neutron/blob/2ac52607c266e593700be0784ebadc77789070ff/neutron/plugins/ml2/drivers/mech_sriov/agent/pci_lib.py#L178

** Affects: neutron
     Importance: Undecided
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1878042

Title:
  SRIOV agent does not parse correctly "ip link show <dev>"

Status in neutron:
  New

Bug description:
  In Red Hat 8.2, iproute2-ss190924, the output for "ip link show <dev>"
  is http://paste.openstack.org/show/793392/

  The regex [1] used does not parse the VF information line and can't
  extract the MAC address and the state.

  [1]https://github.com/openstack/neutron/blob/2ac52607c266e593700be0784ebadc77789070ff/neutron/plugins/ml2/drivers/mech_sriov/agent/pci_lib.py#L38-L44
  [2]https://github.com/openstack/neutron/blob/2ac52607c266e593700be0784ebadc77789070ff/neutron/plugins/ml2/drivers/mech_sriov/agent/pci_lib.py#L178

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1878042/+subscriptions


Follow ups