The pci alias is not configured by StarlingX. I will submit a patch to fix this. For now you can workaround this by helm override like following:
cat > nova-overrides.yaml <<EOF
conf:
nova:
DEFAULT:
debug: True
pci:
alias:
type: multistring
values:
- '{"vendor_id": "8086", "product_id": "1572","device_type":"type-PCI","name": "h210-1"}'
- '{"vendor_id": "8086", "product_id": "1572","device_type":"type-PCI","name": "h210-2"}'
EOF
system helm-override-update stx-openstack nova openstack --values nova-overrides.yaml
system application-apply stx-openstack
system application-list
nova_schedular_pod_id=$(kubectl get pods –n openstack | grep nova-schedular)
kubectl exec –it $nova_schedular_pod_id –n openstack
in container): cat /etc/nova/nova.conf | less
You can retrieve the vendor_id, product_id from the directory: /sys/bus/pci/devices/$PCI_ADDRESS
Hi all,
The pci alias is not configured by StarlingX. I will submit a patch to fix this. For now you can workaround this by helm override like following: "device_ type":" type-PCI" ,"name" : "h210-1"}' "device_ type":" type-PCI" ,"name" : "h210-2"}' update stx-openstack nova openstack --values nova-overrides.yaml pod_id= $(kubectl get pods –n openstack | grep nova-schedular) _pod_id –n openstack
cat > nova-overrides.yaml <<EOF
conf:
nova:
DEFAULT:
debug: True
pci:
alias:
type: multistring
values:
- '{"vendor_id": "8086", "product_id": "1572",
- '{"vendor_id": "8086", "product_id": "1572",
EOF
system helm-override-
system application-apply stx-openstack
system application-list
nova_schedular_
kubectl exec –it $nova_schedular
in container): cat /etc/nova/nova.conf | less
You can retrieve the vendor_id, product_id from the directory: /sys/bus/ pci/devices/ $PCI_ADDRESS