Bug 1824248
Summary: | Passthrough whitelist not generated properly from templates | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Miguel Angel Nieto <mnietoji> |
Component: | openstack-tripleo-heat-templates | Assignee: | Karthik Sundaravel <ksundara> |
Status: | CLOSED EOL | QA Contact: | David Rosenfeld <drosenfe> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 13.0 (Queens) | CC: | cfontain, dasmith, eglynn, eshulman, gurpsing, jhakimra, jpalanis, kchamart, ksundara, mburns, mgarciac, sbauza, sgordon, stephenfin, supadhya, vromanso |
Target Milestone: | --- | Keywords: | TestOnly, Triaged, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-8.4.1-61.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-01-02 15:13:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Miguel Angel Nieto
2020-04-15 15:54:42 UTC
The THT configuration is NovaPCIPassthrough: - devname: "p7p3" trusted: "true" physical_network: "sriov-1" - devname: "p7p4" trusted: "true" physical_network: "sriov-2" - address: {"domain": ".*", "bus": "05", "slot": "02", "function": "[5-9]"} trusted: "true" physical_network: "sriov-partitioned-1" - address: {"domain": ".*", "bus": "05", "slot": "06", "function": "[5-9]"} trusted: "true" physical_network: "sriov-partitioned-2" The hieradata "nova::compute::pci::passthrough" is incorrectly generated by the derive_pci_passthrough_whitelist.py in openstack-tripleo-heat-templates If user supplied configuration is available, then it shall be given precedence over parameters derived by automation. In this case the automation also removed the pci passthrough configurations for p7p3 and p7p4. In order to supply your parameter, you should set the following parameter in OSP16: <RoleName>Parameters: DerivePciWhitelistEnabled: false Could you check you can also set it on OSP13 ? Using "DerivePciWhitelistEnabled: false", configuration was ok and all testcases passes. So, I think we have to add that parameter to our templates. Chris/Jagan, Since the automatic derivation is supposed to remove the VFs used by NIC partitioning, the default "DerivePciWhitelistEnabled: true", should have still worked ? We may need to rework on the automation to verify it works (it doesn't seems to), and to disable it automatically when NovaPCIPassthrough is provided. Looks as though DFG:NFV is handling this. To prevent this bz popping up on the DFG:Compute bug triage calls, I've removed the associated Jira ticket. If there's anything for DFG:Compute to do here, please add 'DFG:Compute' in the internal whiteboard and it'll pop up on our radar again. |