← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1608176] [NEW] SRIOV-port creation : its possible to create more direct ports than available vif.

 

Public bug reported:

When creating sriov ports we can create more ports than vif's are avalible 
for example we have 4 vifs and created more than 4 direct ports . 
[root@compute1 ~(keystone_admin)]# neutron port-list
+--------------------------------------+------+-------------------+-----------------------------
| id                                   | name | mac_address       | fixed_ips                                                                           |
| 22e0ae33-1f9e-47f5-9b20-2a3277b15959 |      | fa:16:3e:82:52:ea | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.13"} |
| 2f6c4371-fffe-4834-a6aa-725ae72f4d02 |      | fa:16:3e:9c:e9:bb | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.4"}  |
| 98b62507-e21b-49e6-880e-34fa14f6b986 |      | fa:16:3e:8e:73:40 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.5"}  |
| a9a28d02-4342-4575-9f9a-8ae70ab8bd2a |      | fa:16:3e:7d:3f:04 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.14"} |
| b466da32-fff4-46d8-a134-d861105e966f |      | fa:16:3e:3c:81:a5 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.6"}  |
| d3601592-0133-4c65-ab85-cc142325ce29 |      | fa:16:3e:c1:81:01 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.3"}  |
| d67e2fa6-6805-4baa-882e-9cf54714ba20 |      | fa:16:3e:32:26:f5 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.2"}  |
| e5b5290d-1824-4bd9-aecb-81032b38ac60 |      | fa:16:3e:58:8f:c9 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.7"}  |
+--------------------------------------+------+-------------------+-----------------------------
[root@compute1 ~(keystone_admin)]# ip link show 
4: enp5s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP mode DEFAULT qlen 1000
    link/ether a0:36:9f:7f:28:ba brd ff:ff:ff:ff:ff:ff
    vf 0 MAC fa:16:3e:3c:81:a5, vlan 208, spoof checking on, link-state auto
    vf 1 MAC fa:16:3e:9c:e9:bb, vlan 208, spoof checking on, link-state auto
    vf 2 MAC fa:16:3e:8e:73:40, vlan 208, spoof checking on, link-state auto
    vf 3 MAC fa:16:3e:c1:81:01, vlan 208, spoof checking on, link-state auto

[root@controller1 ~]# rpm -qa |grep neutron 
python-neutron-7.0.4-3.el7ost.noarch
openstack-neutron-lbaas-7.0.0-2.el7ost.noarch
openstack-neutron-openvswitch-7.0.4-3.el7ost.noarch
python-neutron-fwaas-7.0.0-1.el7ost.noarch
openstack-neutron-fwaas-7.0.0-1.el7ost.noarch
python-neutron-lbaas-7.0.0-2.el7ost.noarch
openstack-neutron-ml2-7.0.4-3.el7ost.noarch
python-neutronclient-3.1.0-1.el7ost.noarch
openstack-neutron-common-7.0.4-3.el7ost.noarch
openstack-neutron-7.0.4-3.el7ost.noarch
 
osp 8

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  SRIOV-port creation : its possible to create more direct ports than
  available vif.

Status in neutron:
  New

Bug description:
  When creating sriov ports we can create more ports than vif's are avalible 
  for example we have 4 vifs and created more than 4 direct ports . 
  [root@compute1 ~(keystone_admin)]# neutron port-list
  +--------------------------------------+------+-------------------+-----------------------------
  | id                                   | name | mac_address       | fixed_ips                                                                           |
  | 22e0ae33-1f9e-47f5-9b20-2a3277b15959 |      | fa:16:3e:82:52:ea | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.13"} |
  | 2f6c4371-fffe-4834-a6aa-725ae72f4d02 |      | fa:16:3e:9c:e9:bb | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.4"}  |
  | 98b62507-e21b-49e6-880e-34fa14f6b986 |      | fa:16:3e:8e:73:40 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.5"}  |
  | a9a28d02-4342-4575-9f9a-8ae70ab8bd2a |      | fa:16:3e:7d:3f:04 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.14"} |
  | b466da32-fff4-46d8-a134-d861105e966f |      | fa:16:3e:3c:81:a5 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.6"}  |
  | d3601592-0133-4c65-ab85-cc142325ce29 |      | fa:16:3e:c1:81:01 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.3"}  |
  | d67e2fa6-6805-4baa-882e-9cf54714ba20 |      | fa:16:3e:32:26:f5 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.2"}  |
  | e5b5290d-1824-4bd9-aecb-81032b38ac60 |      | fa:16:3e:58:8f:c9 | {"subnet_id": "212d47a3-93b7-400d-8322-84717c780e21", "ip_address": "192.168.1.7"}  |
  +--------------------------------------+------+-------------------+-----------------------------
  [root@compute1 ~(keystone_admin)]# ip link show 
  4: enp5s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP mode DEFAULT qlen 1000
      link/ether a0:36:9f:7f:28:ba brd ff:ff:ff:ff:ff:ff
      vf 0 MAC fa:16:3e:3c:81:a5, vlan 208, spoof checking on, link-state auto
      vf 1 MAC fa:16:3e:9c:e9:bb, vlan 208, spoof checking on, link-state auto
      vf 2 MAC fa:16:3e:8e:73:40, vlan 208, spoof checking on, link-state auto
      vf 3 MAC fa:16:3e:c1:81:01, vlan 208, spoof checking on, link-state auto

  [root@controller1 ~]# rpm -qa |grep neutron 
  python-neutron-7.0.4-3.el7ost.noarch
  openstack-neutron-lbaas-7.0.0-2.el7ost.noarch
  openstack-neutron-openvswitch-7.0.4-3.el7ost.noarch
  python-neutron-fwaas-7.0.0-1.el7ost.noarch
  openstack-neutron-fwaas-7.0.0-1.el7ost.noarch
  python-neutron-lbaas-7.0.0-2.el7ost.noarch
  openstack-neutron-ml2-7.0.4-3.el7ost.noarch
  python-neutronclient-3.1.0-1.el7ost.noarch
  openstack-neutron-common-7.0.4-3.el7ost.noarch
  openstack-neutron-7.0.4-3.el7ost.noarch
   
  osp 8

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


Follow ups