3. To finding pci device, vender id
[sysadmin@controller-0 script(keystone_admin)]$ lspci -nn | grep Eth
18:00.0 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01)
18:00.1 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01)
3d:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection X722 for 10GBASE-T [8086:37d2] (rev 09)
3d:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Connection X722 for 10GBASE-T [8086:37d2] (rev 09)
3d:02.0 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.1 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.2 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.3 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.4 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.5 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.6 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.7 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
af:00.0 Ethernet controller [0200]: Mellanox Technologies MT27700 Family [ConnectX-4] [15b3:1013]
af:00.1 Ethernet controller [0200]: Mellanox Technologies MT27700 Family [ConnectX-4] [15b3:1013]
4. Specific interface status check (UP) and It contains virtual function
[sysadmin@controller-0 ~(keystone_admin)]$ ip link show eno1
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether a4:bf:01:54:82:cd brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 1 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 2 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 3 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 4 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 5 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 6 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 7 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
6. Created instance successfully, Also I have below queries
◊ Whether I have entered("product_id": "37cd", name) details correct into nova-overrides.yaml?
◊ Without adding "pci_passthrough:alias to the flavor, used default flavor to create instance. Is it correct ?
Instance ERROR State on below work around:
◊ When I add pci_passthrough:alias"="intel-X722-vf:1" to flavor(m1.tiny) the instance is getting ERROR state,Is it correct behavior?
Thanks for your valuable comments and find the below observation.
1. PCI-passthrough interface configuration 'physnet2' datanetwork- assign ${COMPUTE} pcipass ${PHYSNET2}
DATA0IF=eno1
PHYSNET2=
system datanetwork-add $PHYSNET2 vlan
system host-if-modify -m 1500 -n pcipass -c pci-passthrough ${COMPUTE} ${DATA0IFUUID}
system interface-
2. Updated nova.conf "device_ type":" type-PCI" ,"name" : "intel-X722-pf"}' "device_ type":" type-PCI" ,"name" : "intel-X722-vf"}' update stx-openstack nova openstack --values nova-overrides.yaml
cat > nova-overrides.yaml <<EOF
conf:
nova:
DEFAULT:
debug: True
pci:
alias:
type: multistring
values:
- '{"vendor_id": "8086", "product_id": "37cd",
- '{"vendor_id": "8086", "product_id": "37cd",
EOF
system helm-override-
system application-apply stx-openstack
system application-list
3. To finding pci device, vender id controller- 0 script( keystone_ admin)] $ lspci -nn | grep Eth
[sysadmin@
18:00.0 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01)
18:00.1 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01)
3d:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection X722 for 10GBASE-T [8086:37d2] (rev 09)
3d:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Connection X722 for 10GBASE-T [8086:37d2] (rev 09)
3d:02.0 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.1 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.2 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.3 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.4 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.5 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.6 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
3d:02.7 Ethernet controller [0200]: Intel Corporation Ethernet Virtual Function 700 Series [8086:37cd] (rev 09)
af:00.0 Ethernet controller [0200]: Mellanox Technologies MT27700 Family [ConnectX-4] [15b3:1013]
af:00.1 Ethernet controller [0200]: Mellanox Technologies MT27700 Family [ConnectX-4] [15b3:1013]
4. Specific interface status check (UP) and It contains virtual function controller- 0 ~(keystone_admin)]$ ip link show eno1 MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
[sysadmin@
2: eno1: <BROADCAST,
link/ether a4:bf:01:54:82:cd brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 1 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 2 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 3 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 4 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 5 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 6 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
vf 7 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off
5. Created Instance without adding flavor --property "pci_passthroug h:alias" network- type vlan --provider- physical- network $PHYSNET2 0.4.0-x86_ 64-disk. img --disk-format qcow2 --public ${NET}-image
openstack network create ${NET}-net --mtu 1500 --provider-
openstack subnet create --network ${NET}-net --subnet-range 192.168.15.0/24 --ip-version 4 --dhcp ${NET}-subnet
openstack image create --file cirros-
openstack server create --flavor m1.tiny --image ${NET}-image --nic net-id=${NET}-net ${NET}-vm0
6. Created instance successfully, Also I have below queries "product_ id": "37cd", name) details correct into nova-overrides. yaml? h:alias to the flavor, used default flavor to create instance. Is it correct ? :alias" ="intel- X722-vf: 1" to flavor(m1.tiny) the instance is getting ERROR state,Is it correct behavior?
◊ Whether I have entered(
◊ Without adding "pci_passthroug
Instance ERROR State on below work around:
◊ When I add pci_passthrough