Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1550128

Summary: Document options for DNS/route/routing rule/ethernet configuration using the 'network' role
Product: Red Hat Enterprise Linux 7 Reporter: Benjamin Dudas <bdudas>
Component: rhel-system-rolesAssignee: Pavel Cahyna <pcahyna>
Status: CLOSED ERRATA QA Contact: Leos Pol <lpol>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: bdudas, ovasik, pcahyna, tbowling, thaller, till
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhel-system-roles-0.6-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-11 00:04:19 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 Benjamin Dudas 2018-02-28 15:09:43 UTC
Description of problem:

This is a RFE request for the option of adding DNS server configuration using the 'network' role.  

Steps to Reproduce:
Option is not available at this time

Additional info:
Similar to the nmcli module, have the ability to configure a list of ipv4 and ipv6 dns servers.

Comment 2 Pavel Cahyna 2018-03-07 12:07:55 UTC
I suspect that at least some of the functionality is already there but not documented.

Comment 3 Benjamin Dudas 2018-03-07 15:39:27 UTC
Customer is also requesting options similar to `dns4_search` which is available in the 2.5 nmcli module.

Comment 4 Pavel Cahyna 2018-03-07 16:04:44 UTC
does the following work?

  vars:
    network_connections:
      - name: (...)
        (...)
        ip:
          (...)
          dns:
            - "8.8.8.8"
          dns_search:
            - "example.com"
            - "redhat.com"

Note: you need version 0.4, released in rhel-system-roles-0.6-1 today (bz1539912, https://access.redhat.com/errata/RHBA-2018:0439)

Comment 5 Benjamin Dudas 2018-03-07 19:00:50 UTC
That works

Comment 6 Benjamin Dudas 2018-03-07 20:51:35 UTC
Could we updated the docs to reflect this option?

Comment 7 Pavel Cahyna 2018-03-08 09:18:04 UTC
(In reply to Benjamin Dudas from comment #6)
> Could we updated the docs to reflect this option?

We should - Till, could you please look at it?

Comment 8 Pavel Cahyna 2018-03-08 11:50:38 UTC
There are other undocumented configuration options that I would like to document in the same update: those added in bz1478576, bz1487747. I changed the description accordingly.

Comment 9 Pavel Cahyna 2018-03-09 11:39:09 UTC
DNS documentation added: https://github.com/pcahyna/system-roles-network/tree/add0.4docs, please review.

Comment 13 errata-xmlrpc 2018-04-11 00:04:19 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, 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/RHBA-2018:1076