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 - Document options for DNS/route/routing rule/ethernet configuration using the 'network' role
Summary: Document options for DNS/route/routing rule/ethernet configuration using the ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rhel-system-roles
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Cahyna
QA Contact: Leos Pol
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-28 15:09 UTC by Benjamin Dudas
Modified: 2021-06-10 14:57 UTC (History)
6 users (show)

Fixed In Version: rhel-system-roles-0.6-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-11 00:04:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1076 0 None None None 2018-04-11 00:04:22 UTC

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


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