Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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
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 4RHEL 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 5RHEL 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.
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.
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()
(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
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