PciInvalidAlias Invalid PCI alias definition is not of type 'object'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-nova |
Fix Released
|
High
|
Rajesh Tailor |
Bug Description
We are facing an issue when we want to configure pci_alias using TripleO.
The template examples says :
https:/
#[*pci_alias*]
# (optional) Pci passthrough for controller:
# Defaults to undef
# Example
# "[ {'vendor_
In my env. file for parameters we set according to this :
ControllerExtra
nova:
This end on the node with this line in nova.conf :
pci_alias=[{ "vendor_id": "1137", "product_id": "0043", "name": "nic_pf"}]
Which seem correct according to the example above on the code.
BUT if we run a pci_passthrough instance using this config we get the following error message (find attached the complete log) :
777:2017-05-16 13:32:24.685 7607 ERROR nova.api.
778:2017-05-16 13:32:24.685 7607 ERROR nova.api.
779:2017-05-16 13:32:24.685 7607 ERROR nova.api.
780:2017-05-16 13:32:24.685 7607 ERROR nova.api.
781:2017-05-16 13:32:24.685 7607 ERROR nova.api.
782:2017-05-16 13:32:24.685 7607 ERROR nova.api.
783:2017-05-16 13:32:24.685 7607 ERROR nova.api.
784:2017-05-16 13:32:24.685 7607 ERROR nova.api.
785:2017-05-16 13:32:24.685 7607 ERROR nova.api.
786:2017-05-16 13:32:24.685 7607 ERROR nova.api.
787:2017-05-16 13:32:24.685 7607 ERROR nova.api.
788:2017-05-16 13:32:24.685 7607 ERROR nova.api.
789:2017-05-16 13:32:24.685 7607 ERROR nova.api.
790:2017-05-16 13:32:24.685 7607 ERROR nova.api.
791:2017-05-16 13:32:24.685 7607 ERROR nova.api.
792:2017-05-16 13:32:24.685 7607 ERROR nova.api.
793:2017-05-16 13:32:24.685 7607 ERROR nova.api.
794:2017-05-16 13:32:24.685 7607 ERROR nova.api.
795:2017-05-16 13:32:24.685 7607 ERROR nova.api.
796:2017-05-16 13:32:24.685 7607 ERROR nova.api.
798:2017-05-16 13:32:24.736 7607 INFO nova.api.
If we change the pci_alias syntax in nova.conf as below and following openstack documentation :
pci_alias: { "vendor_id": "1137", "product_id": "0043", "name": "nic_pf"}
We don't have this error anymore and the pci_passthrough instance boot successfully.
Ref : openstack documentation : https:/
the code here https:/
That's why if we remove the [ ] in the parameters env file, we can't deploy ... and we also may need to configure multiple pci_alias with Director.
Changed in puppet-nova: | |
assignee: | nobody → Rajesh Tailor (ratailor) |
status: | New → In Progress |
Changed in puppet-nova: | |
importance: | Undecided → High |
Fix proposed to branch: master /review. openstack. org/472611
Review: https:/