Bug 1815112
| Summary: | Cannot assign static DNS with DHCP. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Gris Ge <fge> |
| Component: | nmstate | Assignee: | Gris Ge <fge> |
| Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.2 | CC: | amusil, edwardh, ferferna, jiji, jishi, lmiksik, mburman, mshi, network-qe, till |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.3 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | nmstate-0.2.6-6.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-28 16:00:37 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1812914 | ||
RHV is requesting fix of this bug and cannot wait 8.2.1 on this. Upstream has merge the patch. Michael, Mingyu: Please verify this fix (using the build from the dist-git PR) and report back. (In reply to Till Maas from comment #9) > Michael, Mingyu: Please verify this fix (using the build from the dist-git > PR) and report back. Is there a way to consume a rpm? Please set `'auto-dns': False` Works fine with vdsm fix in BZ 1812914 Version: nmstate-0.2.6-6.el8.noarch NetworkManager-1.22.8-4.el8.x86_64 DISTRO=RHEL-8.2.0-20200326.n.0 Linux kvm-03-guest04.hv2.lab.eng.bos.redhat.com 4.18.0-192.el8.x86_64 #1 SMP Tue Mar 24 14:06:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Verified, see log at https://bugzilla.redhat.com/show_bug.cgi?id=1816043#c12 for details 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-2020:1696 |
Description of problem: When disabling the auto dns with DHCP enable, I cannot assign static DNS nameserver. Version-Release number of selected component (if applicable): nmstate-0.2.6-4.8 How reproducible: 100% Steps to Reproduce: --- dns-resolver: config: search: - example.com - example.org server: - 8.8.8.8 - 2001:4860:4860::8888 interfaces: - name: eth1 type: ethernet state: up mtu: 1500 ipv4: enabled: true dhcp: true auto-dns: false ipv6: enabled: true dhcp: true autoconf: true auto-dns: false Actual results: libnmstate.error.NmstateValueError: Failed to find suitable interface for saving DNS name servers: 8.8.8.8 Expected results: static DNS is support with DHCP Additional info: