Red Hat Bugzilla – Bug 848832
Multiple DNS entries when booting the RHEV-H image
Last modified: 2016-04-26 12:50:18 EDT
Description of problem:
While booting the RHEV-H image from the ISO, I want to specify more than one DNS server. According to the Hypervisor Deployment Guide (https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation-Networking_and_RHEV_Manager_parameters.html), I should use a colon as a separator for the two IP addresses. However, this does fail. No DNS entries are added, and the following is found at /var/log/ovirt.log after installation:
2012-08-16 08:51:45,648 - DEBUG - network - Setting DNS server 1: 10.92.64.27:10.92.64.28
2012-08-16 08:51:45,652 - WARNING - network - Failed to set DNS servers
2012-08-16 08:51:45,652 - DEBUG - network - Updating resolv.conf backups
Using a different notation (comma as the separator) works as expected, so I wonder whether this should be a documentation bug. I have traced the root cause of this to the /usr/lib/python-2.7/site-packages/ovirtnode/network.py file, where is splits the DNS entries using comma as a separator:
DNS = DNS.split(",")
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot from the RHEV-H ISO image, with the following parameters:
dns=X.Y.Z.A:A.B.C.D install <any other required parameter>
2. At the end of the installation, check /var/log/ovirt.log
3. Try using the following parameters:
4. It should work then.
DNS entries not added.
DNS entries added.
*** This bug has been marked as a duplicate of bug 834286 ***