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 848832 - Multiple DNS entries when booting the RHEV-H image
Summary: Multiple DNS entries when booting the RHEV-H image
Keywords:
Status: CLOSED DUPLICATE of bug 834286
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rhev-hypervisor6
Version: 6.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-16 14:16 UTC by Javier Peña
Modified: 2016-04-26 16:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 14:24:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Javier Peña 2012-08-16 14:16:47 UTC
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):


How reproducible:

Always


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:

dns=X.Y.Z.A,A.B.C.D install

4. It should work then.
  
Actual results:
DNS entries not added.

Expected results:
DNS entries added.

Additional info:

Comment 2 Mike Burns 2012-08-16 14:24:31 UTC

*** This bug has been marked as a duplicate of bug 834286 ***


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