When creating instance with pci-passthrough port getting error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
ChenjieXu |
Bug Description
Brief Description
-----------------
When creating instance with pci-passthrough port getting error
Severity
--------
Provide the severity of the defect.
Critical: System/Feature is not usable due to the defect
Steps to Reproduce
------------------
1. Configure pci-passthrough on your interface (eno1)
DATA0IF=eno1
PHYSNET2=
COMPUTE=compute-0
system host-lock ${COMPUTE}
system datanetwork-add physnet2 vlan
SRIOVIFUUID=
system host-if-modify -m 1500 -n sriov -c pci-passthrough -N 5 ${COMPUTE} ${SRIOVIFUUID}
system interface-
system host-unlock ${COMPUTE}
2. Wait for stx-openstack has been re-applied successfully
system application-list
3. Create instance on pci-passthough port
NET=test-sriov
PHYSNET2=
openstack network segment range create physnet2-a --network-type vlan --physical-network $PHYSNET2 --minimum 400 --maximum 499 --shared
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 flavor create --ram 4096 --disk 100 --vcpus 2 m1.medium.
openstack flavor set --property "pci_passthroug
neutron port-create ${NET}-net --name ${NET}-port-0 --binding:vnic_type direct
openstack image create --file cirros-
openstack server create --flavor m1.medium.
4. After creating instance is getting error state
Note: Similar like instance with SRIOV bug (https:/
Expected Behavior
------------------
Instance created
Actual Behavior
----------------
Instance failed: Status ERROR
{u'message': u'No valid host was found. There are not enough hosts available.
Reproducibility
---------------
Reproducible/100%
System Configuration
-------
Multi-node system, Dedicated storage
Timestamp/Logs
--------------
Attached
compute-0:~$ lspci | grep -i eth
18:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)
18:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 01)
3d:00.0 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GBASE-T (rev 09)
3d:00.1 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GBASE-T (rev 09)
Test Activity
-------------
Feature Testing, Regression Testing
Changed in starlingx: | |
assignee: | nobody → ChenjieXu (midone) |
importance: | Undecided → High |
Changed in starlingx: | |
status: | Triaged → Incomplete |
tags: | added: stx.docs |
Changed in starlingx: | |
status: | Invalid → In Progress |
Changed in starlingx: | |
status: | In Progress → Invalid |
Changed in starlingx: | |
status: | Invalid → In Progress |
Changed in starlingx: | |
status: | In Progress → Fix Released |
Log for helm override(nova) whitelist:
values: network" : "physnet2", "address": "0000:3d:00.0"}'
system helm-override-show stx-openstack nova openstack
passthrough_
type: multistring
- '{"physical_
- '{"address": "0000:02:00.0"}'
name: compute-0