Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-7085

PF mac address in vm and in neutron doesn't match

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • openstack-nova-27.3.1-18.0.20240607165514.dd66f40.el9ost
    • ?
    • ?
    • Yes
    • Hide
      .Physical function (PF) MAC address now matches between VM instances and SR-IOV physical functions (PFs)

      This update fixes a bug that caused a PF MAC address mismatch between VM instances and SR-IOV PFs (Networking service ports with `vnic-type` set to `direct-physical`).

      In the RHOSO 18.0 Beta release, a bug in the Compute service (nova) prevented the MAC address of SR-IOV PFs from being updated correctly when attached to a VM instance.

      Now the MAC address of the PF is set on the corresponding neutron port.
      Show
      .Physical function (PF) MAC address now matches between VM instances and SR-IOV physical functions (PFs) This update fixes a bug that caused a PF MAC address mismatch between VM instances and SR-IOV PFs (Networking service ports with `vnic-type` set to `direct-physical`). In the RHOSO 18.0 Beta release, a bug in the Compute service (nova) prevented the MAC address of SR-IOV PFs from being updated correctly when attached to a VM instance. Now the MAC address of the PF is set on the corresponding neutron port.
    • Bug Fix
    • Done
    • Hide

      RHOSO18Beta waived:Compute: SRIOV day2

      Show
      RHOSO18Beta waived: Compute: SRIOV day2
    • Important

      openstack port list  does not match the real mac address in the VM

      [root@trex ~]# ip l
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
          link/ether fa:16:3e:3a:ed:5b brd ff:ff:ff:ff:ff:ff
          altname enp3s0
      3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
          link/ether f8:f2:1e:03:7b:84 brd ff:ff:ff:ff:ff:ff
          altname enp5s0
      4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
          link/ether f8:f2:1e:03:7b:86 brd ff:ff:ff:ff:ff:ff
          altname enp6s0 

       
      and the mac addresses of eth2 (trex_sriov_port_109) and eth1 (trex_sriov_port_108) which are PFs are wrong:
       
      sh-5.1$ openstack port list                                                                                                                                                                                        
      -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------                        

      ID                                   Name                                 MAC Address       Fixed IP Addresses                                                           Status                        
      -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------                        
      01bf23ba-534e-4463-a70e-bd28b1942c91                                       fa:16:3e:de:da:e7 ip_address='10.46.228.206', subnet_id='e178d31a-5dbe-488e-bc24-c7028f9bf94d' N/A                            
      02ce6451-d5dd-49f2-822c-1893fde7a340                                       fa:16:3e:e7:56:b2 ip_address='10.46.228.197', subnet_id='e178d31a-5dbe-488e-bc24-c7028f9bf94d' ACTIVE                        
      131ee937-4dc1-431b-a2da-58789fe549d1                                       fa:16:3e:5d:de:b0 ip_address='10.10.107.100', subnet_id='faa3d371-185a-4778-bcc7-1302df16f00d' DOWN                          
      1b21787a-50c5-46e2-a25b-faee6855dd27 sriov_net_nic1_109_dpdk_dut_port-1   fa:16:3e:f4:80:e6 ip_address='10.10.109.182', subnet_id='6dcd2761-def5-470a-b958-62e6e3f0b3e5' DOWN                          
      216bc425-52db-4459-ba76-1e128c126ee5 dpdk_dut_management_port_management   fa:16:3e:1a:8c:9a ip_address='10.10.107.174', subnet_id='faa3d371-185a-4778-bcc7-1302df16f00d' ACTIVE                        
      2490cace-a9a2-4d3e-acc9-45c41e06f12c                                       fa:16:3e:55:0e:6c                                                                               DOWN                          
      59767a14-77aa-416f-b104-27e4e4051d46                                       fa:16:3e:0d:90:c6                                                                               DOWN                          
      5b8ea39a-c356-4ec8-91c3-667c793b32ca trex_sriov_port_108                   fa:16:3e:d6:f1:cc ip_address='10.10.108.153', subnet_id='2b5e8921-445a-41bd-a786-7bd33fd40b2c' ACTIVE                        
      6c5f5824-a96d-4a0c-9194-ca4e7b5cee19                                       fa:16:3e:9b:d9:42                                                                               DOWN                          
      76c45c39-bcd0-4338-9426-b4f92858d409                                       fa:16:3e:53:0d:74 ip_address='10.46.228.193', subnet_id='e178d31a-5dbe-488e-bc24-c7028f9bf94d' DOWN                          
      869e4bdb-8d24-46aa-be8b-0dde2c1dd3ae dpdk_net_nic1_109_dpdk_dut_port-1     fa:16:3e:d7:2a:fb ip_address='10.10.109.158', subnet_id='514f18f6-7931-44c6-98bb-209e91da4279' ACTIVE                        
      879cbc83-19d3-4cac-ba05-e1117828fbe0                                       fa:16:3e:b1:c7:44 ip_address='10.10.107.254', subnet_id='faa3d371-185a-4778-bcc7-1302df16f00d' ACTIVE                        
      a41f5a4d-dd97-406f-b12b-57c636caa48c                                       fa:16:3e:d0:6e:25 ip_address='10.46.228.199', subnet_id='e178d31a-5dbe-488e-bc24-c7028f9bf94d' N/A                            
      a45721b0-488b-4a30-a940-ae1d33c2c2b7 sriov_net_nic0_108_dpdk_dut_port-0   fa:16:3e:82:51:df ip_address='10.10.108.126', subnet_id='2b5e8921-445a-41bd-a786-7bd33fd40b2c' DOWN                          
      abe6be5d-374c-49f9-9ffb-d5ff8db4544c                                       fa:16:3e:6a:f4:00                                                                               DOWN                          
      bf103561-b340-46ad-b29a-4abbd99db24c dpdk_net_nic0_108_dpdk_dut_port-0     fa:16:3e:8f:be:20 ip_address='10.10.108.107', subnet_id='d3125ff9-28a0-45cf-b527-9f36c290c4d5' ACTIVE                        
      c0293c9b-c7df-4c1e-9328-2f3dd254ed6c trex_management_port_management       fa:16:3e:3a:ed:5b ip_address='10.10.107.187', subnet_id='faa3d371-185a-4778-bcc7-1302df16f00d' ACTIVE                        
      cb8340ce-3e73-46be-bcdd-c233eee1297a trex_sriov_port_109                   fa:16:3e:b2:11:c8 ip_address='10.10.109.113', subnet_id='6dcd2761-def5-470a-b958-62e6e3f0b3e5' ACTIVE                        
      d10e5c20-863d-43fa-9706-9ce2e19382e0 sriov_dut_management_port_management fa:16:3e:10:0c:59 ip_address='10.10.107.154', subnet_id='faa3d371-185a-4778-bcc7-1302df16f00d' ACTIVE                        
      fdface5f-6616-4963-891d-8187bee90eb7                                       fa:16:3e:f4:93:c8 ip_address='10.46.228.198', subnet_id='e178d31a-5dbe-488e-bc24-c7028f9bf94d' N/A                            
      -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

            rh-ee-auniyal Amit Uniyal
            eshulman Ella Shulman
            Ella Shulman Ella Shulman
            rhos-dfg-nfv
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: