Bug 1706862
Summary: | [OSP15] nova_wait_for_compute_service.py Failing When Supplying Multiple Options In NovaPCIPassthrough | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Vadim Khitrin <vkhitrin> |
Component: | openstack-tripleo-heat-templates | Assignee: | Martin Schuppert <mschuppe> |
Status: | CLOSED ERRATA | QA Contact: | Joe H. Rahme <jhakimra> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 15.0 (Stein) | CC: | aschultz, fbaudin, lyarwood, mbooth, mburns, michele |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 15.0 (Stein) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-10.5.1-0.20190511010414.fbcd4d0.el8ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-09-21 11:21:45 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
Vadim Khitrin
2019-05-06 12:06:01 UTC
I think there are two slightly separate issues here: A) Given the NovaPCIPassthrough set as in the BZ description, is the obtained output correct or does THT/puppet-nova need fixing? passthrough_whitelist={"devname":"eth10","physical_network":"sriov-1","trusted":"true"} passthrough_whitelist={"devname":"eth11","physical_network":"sriov-2","trusted":"true"} B) nova_wait_for_compute_service.py should not barf with duplicate keys errors no matter what. That is because in nova.conf there are indeed certain options which may appear more than once in the same INI section. For example [pci/alias] can be repeated according to the stock config file: """ # * Supports multiple aliases by repeating the option (not by specifying # a list value):: # # alias = { # "name": "QuickAssist-1", # "product_id": "0443", # "vendor_id": "8086", # "device_type": "type-PCI", # "numa_policy": "required" # } # alias = { # "name": "QuickAssist-2", # "product_id": "0444", # "vendor_id": "8086", # "device_type": "type-PCI", # "numa_policy": "required" # } # (multi valued) """ So, while I make no claim around A) (it might or might not be correct, I'll let compute folks comment on that), I think B) needs fixing no matter what. I'll use this BZ to push a fix for at least B) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:2811 |