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 834286 - [VDSM] [RHEV-H6.3] PXE autoinstall does not hand over DNS properly if manually set
Summary: [VDSM] [RHEV-H6.3] PXE autoinstall does not hand over DNS properly if manuall...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: Documentation
Version: 6.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Tahlia Richardson
QA Contact: ecs-bugs
URL:
Whiteboard: network
: 848832 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-21 12:30 UTC by Martin Pavlik
Modified: 2019-04-28 10:04 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 916029 (view as bug list)
Environment:
Last Closed: 2013-02-27 03:46:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (57.59 KB, application/x-gzip)
2012-06-21 12:30 UTC, Martin Pavlik
no flags Details
video of rhevh autoinstall with manual ip and dns configured (18.59 MB, video/ogg)
2012-08-07 07:58 UTC, Martin Pavlik
no flags Details
ovirt.log (22.63 KB, application/x-compressed-tar)
2012-08-07 14:43 UTC, Martin Pavlik
no flags Details

Description Martin Pavlik 2012-06-21 12:30:16 UTC
Created attachment 593438 [details]
logs

Description of problem:
If DNS is specified manually (dns=10.34.63.229:10.34.63.228) as parameter for PXE auto install /etc/reslov.conf is empty after installation is finished


Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Hypervisor release 6.3 (20120615.1.el6)
vdsm-4.9-113.1.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. do autoinstall from PXE with following parameters
dns=10.34.63.229:10.34.63.228:10.34.32.1 

Actual results:
/etc/resolv.conf is empty

Expected results:
/etc/resolv.conf is filled with DNS specified in PXE 

Additional info:

vdsm.log,vdsm-reg,vdsm-config, resolv.conf and ifcfg files after install attached

full line from PXE:

LABEL rhevh-6.3-20120615.1.el6-DELL-VLAN172
        KERNEL images/RHEVH/rhevh-6.3-20120615.1.el6/vmlinuz0
        APPEND rootflags=loop initrd=images/RHEVH/rhevh-6.3-20120615.1.el6/initrd0.img root=live:/rhevh-6.3-20120615.1.el6.iso rootfstype=auto ro liveimg nomodeset check rootflags=ro crashkernel=512M-2G:64M,2G-:128M elevator=deadline processor.max_cstate=1 rd_NO_LVM rd_NO_LUKS rd_NO_MD rd_NO_DM console=tty0 console=ttyS1,115200n81 firstboot storage_init=/dev/sda storage_vol=::::: ssh_pwauth=1 management_server=mp-rhevm30.rhev.lab.eng.brq.redhat.com:443 adminpw=LMi16hIGAvm0A rhevm_admin_password=gPA37ATxRODnA ip=10.34.67.68 netmask=255.255.255.224 gateway=10.34.67.94 dns=10.34.63.229:10.34.63.228:10.34.32.1 vlan=172 hostname=mp-rhev.rhev.lab.eng.brq.redhat.com

Comment 2 Mike Burns 2012-06-22 00:20:00 UTC
This is likely a generic ovirt-node/rhev-hypervisor problem.  Moving to ovirt-node for investigation.

Comment 3 cshao 2012-06-26 03:13:41 UTC
Test version:
rhevh-6.3-20120621.0.el6_3

Test step:
Auto install RHEV-H with below parameters:
BOOTIF=eth0 storage_init=/dev/sda dns=10.66.11.102:10.66.11.91 firstboot

Test result:
1. Autoinstall does not hand over DNS properly.
2. /etc/reslov.conf isn't empty, it will be covered by dhclient.

# cat /etc/resolv.conf 
; generated by /sbin/dhclient-script
search nay.redhat.com redhat.com
nameserver 10.66.127.10
nameserver 10.64.255.10
nameserver 10.11.255.155

Comment 4 RHEL Program Management 2012-07-10 08:34:14 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 RHEL Program Management 2012-07-11 01:51:25 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 6 cshao 2012-07-30 03:19:55 UTC
Reproduce this issue after add parameter "ip=no" to kernel command line.

Test version:
rhev-hypervisor6-6.3-20120710.0.el6_3

Test step:
Auto install RHEV-H with below parameters:
BOOTIF=eth0 ip=no storage_init=/dev/sda dns=10.66.11.102:10.66.11.91 firstboot

Test result:
1. Autoinstall doesn't hand over DNS properly.
2. /etc/reslov.conf is empty.

Comment 7 Joey Boggs 2012-08-06 18:03:35 UTC
Martin,

Based on your pxe line, networking won't autoconfigure unless you specify a BOOTIF=XXX line or add IPAPPEND=2 I believe to auto specify it.

Can you get the logging output of the autoinstall either via serial output or a screenshot? Try adding the BOOTIF arg as well to see if that clears the problem.

    print "Configuring Network"
    if OVIRT_VARS["OVIRT_BOOTIF"] != "":
        network_auto()

Comment 8 Martin Pavlik 2012-08-07 07:56:51 UTC
(In reply to comment #7)
> Martin,
> 
> Based on your pxe line, networking won't autoconfigure unless you specify a
> BOOTIF=XXX line or add IPAPPEND=2 I believe to auto specify it.
> 
> Can you get the logging output of the autoinstall either via serial output
> or a screenshot? Try adding the BOOTIF arg as well to see if that clears the
> problem.
> 
>     print "Configuring Network"
>     if OVIRT_VARS["OVIRT_BOOTIF"] != "":
>         network_auto()

oops, BOOTIF must have slipped from my copy & paste but it was there, now I tried again with following PXE line, video recording of console is attached


LABEL rhevh-6.3-20120710.0.el6_3-DELL-temporary for manual DNS input testing
        KERNEL images/RHEVH/rhevh-6.3-20120710.0.el6_3/vmlinuz0
        APPEND rootflags=loop initrd=images/RHEVH/rhevh-6.3-20120710.0.el6_3/initrd0.img root=live:/rhevh-6.3-20120710.0.el6_3.iso rootfstype=auto ro liveimg nomodeset check rootflags=ro crashkernel=512M-2G:64M,2G-:128M elevator=deadline processor.max_cstate=1 rd_NO_LVM rd_NO_LUKS rd_NO_MD rd_NO_DM console=tty0 console=ttyS1,115200n81 firstboot storage_init=/dev/sda storage_vol=::::: ssh_pwauth=1 adminpw=LMi16hIGAvm0A ntp=10.34.32.125 rhevm_admin_password=gPA37ATxRODnA management_server=mp-rhevm31.rhev.lab.eng.brq.redhat.com:443 ip=10.34.63.136 netmask=255.255.252.0 gateway=10.34.63.254 dns=10.34.63.229:10.34.63.228
IPAPPEND 2

Comment 9 Martin Pavlik 2012-08-07 07:58:48 UTC
Created attachment 602668 [details]
video of rhevh autoinstall with manual ip and dns configured

Comment 11 Martin Pavlik 2012-08-07 14:43:56 UTC
Created attachment 602774 [details]
ovirt.log

Comment 12 Martin Pavlik 2012-08-07 14:44:58 UTC
Addition for comment 11, host was installed again however used PXE line should be the same.

Comment 15 Mike Burns 2012-08-16 14:24:31 UTC
*** Bug 848832 has been marked as a duplicate of this bug. ***

Comment 22 Tahlia Richardson 2013-02-27 03:46:03 UTC
Closed - fix made for RHEL 6.4 release.

(Comment 21 is being handled in Bug 916029).


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