Bug 1958216 - ocp libvirt: dnsmasq options in install config should allow duplicate option names
Summary: ocp libvirt: dnsmasq options in install config should allow duplicate option ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Multi-Arch
Version: 4.8
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: 4.8.0
Assignee: Prashanth Sundararaman
QA Contact: Barry Donahue
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-07 13:16 UTC by Prashanth Sundararaman
Modified: 2021-07-27 23:07 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:07:23 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 4852 0 None open Bug 1958216: libvirt: Allow duplicate dnsmasq options 2021-05-07 13:17:33 UTC
Red Hat Issue Tracker MULTIARCH-1108 0 None Backlog ocp libvirt: dnsmasq options in install config should allow duplicate option names 2021-05-07 13:18:12 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:07:35 UTC

Description Prashanth Sundararaman 2021-05-07 13:16:36 UTC
A corner case was discovered in the openshift installer where if a specific option is specified multiple times(for example the "address" option could be specified multiple times for different domains), only one of the options is set. This is a bug and an oversight when adding the original code for the dnsmasq options.

This is a valid supported use case to have multiple of the same dnsmasq options specified like:

libvirt:
    network:
      dnsmasqOptions:
      - name: "address"
        value: "/.apps.tt.testing/192.168.126.51"
      - name: "address"
        value: "/.apps.obsidian/192.168.126.52"

Comment 4 errata-xmlrpc 2021-07-27 23:07:23 UTC
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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438


Note You need to log in before you can comment on or make changes to this bug.