-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
None
-
False
-
-
False
-
?
-
?
-
?
-
?
-
No
-
-
-
Proposed
Once we have the port and VM created:
sh-5.1$ openstack port show sriov_vf1 -fyaml admin_state_up: true allowed_address_pairs: [] binding_host_id: tigon29 binding_profile: capabilities: - rx - tx - sg - tso - gso - gro - rxvlan - txvlan - rxhash - rdma - txudptnl card_serial_number: MT2224X11820 pci_slot: '0000:17:00.6' pci_vendor_info: 15b3:101e pf_mac_address: e8:eb:d3:33:39:12 physical_network: sriov1 vf_num: 4 binding_vif_details: bound_drivers: '0': sriovnicswitch connectivity: l2 port_filter: false vlan: '0' binding_vif_type: hw_veb binding_vnic_type: direct created_at: '2024-02-07T17:40:00Z' data_plane_status: null description: '' device_id: 7c5d56be-e56c-43f1-9c72-2ac87d866079 device_owner: compute:nova device_profile: null dns_assignment: - fqdn: instance1.openstackgate.local. hostname: instance1 ip_address: 52.18.0.166 dns_domain: '' dns_name: instance1 extra_dhcp_opts: [] fixed_ips: - ip_address: 52.18.0.166 subnet_id: 50ac8d52-c728-42d0-900f-6b5d78a52114 id: 86713917-e918-410a-be8e-985ae2539ec0 ip_allocation: immediate mac_address: fa:16:3e:d7:92:ab name: sriov_vf1 network_id: e8d4a2c9-f741-4996-ad97-60e0f5956d5d numa_affinity_policy: null port_security_enabled: true project_id: 9879f5c72d574dea8defcc19872203ad propagate_uplink_status: null qos_network_policy_id: null qos_policy_id: null resource_request: null revision_number: 11 security_group_ids: - b3c0e6f0-1acd-44aa-abfa-8fd946836c41 status: ACTIVE tags: [] trunk_details: null updated_at: '2024-02-07T17:50:54Z' sh-5.1$ openstack server show instance1 -f yaml OS-DCF:diskConfig: MANUAL OS-EXT-AZ:availability_zone: nova OS-EXT-SRV-ATTR:host: tigon29 OS-EXT-SRV-ATTR:hostname: instance1 OS-EXT-SRV-ATTR:hypervisor_hostname: tigon29.ctlplane.example.com OS-EXT-SRV-ATTR:instance_name: instance-00000023 OS-EXT-SRV-ATTR:kernel_id: '' OS-EXT-SRV-ATTR:launch_index: 0 OS-EXT-SRV-ATTR:ramdisk_id: '' OS-EXT-SRV-ATTR:reservation_id: r-xgg6f4zt OS-EXT-SRV-ATTR:root_device_name: /dev/vda OS-EXT-SRV-ATTR:user_data: null OS-EXT-STS:power_state: 1 OS-EXT-STS:task_state: null OS-EXT-STS:vm_state: active OS-SCH-HNT:scheduler_hints: null OS-SRV-USG:launched_at: '2024-02-07T17:50:54.000000' OS-SRV-USG:terminated_at: null accessIPv4: '' accessIPv6: '' access_ipv4: '' access_ipv6: '' addresses: sriov: - 52.18.0.166 adminPass: null admin_password: null attached_volumes: [] availability_zone: nova block_device_mapping: null block_device_mapping_v2: null compute_host: tigon29 config_drive: 'True' created: '2024-02-07T17:50:31Z' created_at: '2024-02-07T17:50:31Z' description: instance1 disk_config: MANUAL fault: null flavor: 6c (6c) flavorRef: null flavor_id: null has_config_drive: 'True' hostId: 39f392099b1e4d0bc28ae0a284fbea15175b8645380d4b493923d799 host_id: 39f392099b1e4d0bc28ae0a284fbea15175b8645380d4b493923d799 host_status: UNKNOWN hostname: instance1 hypervisor_hostname: tigon29.ctlplane.example.com id: 7c5d56be-e56c-43f1-9c72-2ac87d866079 image: rhelnfv (2e3382c3-50d8-4c1d-88ad-6355a50e4efd) imageRef: null image_id: null instance_name: instance-00000023 interface_ip: '' is_locked: false kernel_id: '' key_name: test launch_index: 0 launched_at: '2024-02-07T17:50:54.000000' ('cannot represent an object', Munch({'cloud': 'default', 'region_name': 'regionOne', 'zone': 'nova', 'project': Munch({'id': '9879f5c72d574dea8defcc19872203ad', 'name': 'admin', 'domain_id': None, 'domain_name': 'Default'})}))
We can see that the VM and VF (vf 4) are properly created in the compute:
[root@tigon29 ~]# ip -d l sh ens2f0np0 12: ens2f0np0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether e8:eb:d3:33:39:12 brd ff:ff:ff:ff:ff:ff promiscuity 1 allmulti 0 minmtu 68 maxmtu 9978 addrgenmode eui64 numtxqueues 768 numrxqueues 63 gso_max_size 65536 gso_max_segs 65535 tso_max_size 524280 tso_max_segs 65535 gro_max_size 65536 portname p0 switchid 1239330003d3ebe8 parentbus pci parentdev 0000:17:00.0 vf 0 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff, spoof checking off, link-state auto, trust off, query_rss off vf 1 link/ether 06:59:39:b5:b2:b8 brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state enable, trust off, query_rss off vf 2 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff, spoof checking off, link-state auto, trust off, query_rss off vf 3 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff, spoof checking off, link-state auto, trust off, query_rss off vf 4 link/ether fa:16:3e:d7:92:ab brd ff:ff:ff:ff:ff:ff, spoof checking on, link-state enable, trust off, query_rss off altname enp23s0f0np0
However, the IP is not configured for the corresponding interface (eth0) in the VM:
[root@instance1 ~]# ip a sh eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:d7:92:ab brd ff:ff:ff:ff:ff:ff altname enp4s0
- blocks
-
OSPRH-3910 [Integration] create DT& CR job DFG-nfv-18.0-3cont-2comp-ipv4-geneve-ovn-dpdk-sriov-ctlplane-dataplane-bonding-hybrid-mq-balance-tcp-lacp-igmp-amd
- Closed
-
OSPRH-3913 [Integration]create DT & CR job for DFG-nfv-18.0-3cont-2comp-ipv4-geneve-ovn-dvr-dpdk-sriov-ctlplane-dataplane-bonding-hybrid-mq-balance-tcp-lacp-igmp
- Closed
-
OSPRH-3914 [Integration] create DT job for DFG-nfv-18.0-3cont-2comp-ipv4-geneve-ovn-hci-dpdk-sriov-ctlplane-dataplane-bonding-nic-partitioning-hybrid
- Closed
-
OSPRH-9428 [Integration] Stabilize automation job DFG-nfv-18.0-3cont-2comp-ipv4-geneve-ovn-dpdk-sriov-ctlplane-dataplane-bonding-hybrid-amd
- Closed
-
OSPRH-9429 [Integration] Stabilize automation for DFG-nfv-18.0-3cont-2comp-ipv4-geneve-ovn-hci-dpdk-sriov-ctlplane-dataplane-bonding-nic-partitioning-hybrid
- Closed
-
OSPRH-2821 VA2 deployment running with OVN-DPDK and SR-IOV
- Closed
-
OSPRH-3912 create DT & CR job DFG-nfv-18.0-3cont-2comp-ipv4-geneve-ovn-dpdk-sriov-ctlplane-dataplane-bonding-rt-hybrid
- Closed