Description of problem:
Installing RHEL 5.5 using network/pxe install (either on baremetal or as Xen domU) and using manual (static) ip settings asks for DNS server IP addresses, but it seems they're not used or set up. Installation using "ftp://server-dns-name/path" fails. "ftp://ip/path" works.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot from CD1 and do "askmethod" install using FTP with manual/static network settings.
2. Or virt-install Xen domU using a bridge without dhcp server, so manual IP settings are required.
3. Submitted DNS server IP addresses are not being used, URL needs to use IP, DNS name won't work.
DNS names for the FTP URL do not work.
DNS names should work.
DNS server IP addresses are not copied to /etc/resolv.conf either. So after installing using ftp://IP/path and booting into the installed system /etc/resolv.conf does not contain DNS server IP addresses that were submitted in the network setup during installation.
Hmm, it also affects HTTP installs, so not ftp-only.
Your reproducer works for me (using http). Are you sure you provided the nameserver address correctly? Can you please attach /var/log/anaconda.log from installed (reproducer) system? Alternatively you can attach /tmp/anaconda.log gathered in install environment using scp from shell in tty2 (Ctrl-Alt-F2).
Ok, I'll have to investigate this a bit more and provide the logs you asked for.
I tested with 5.6 now and I figured it out.
If you give multiple DNS IP addresses, then anaconda fails to use them! If you just give single IP, it works!
I also verified when you give it multiple DNS IP addresses (and anaconda fails to use them) and you go to Ctrl-Alt-F2 there's no /etc/resolv.conf generated.
Do you still need the logs? This issue is 100% reproducible for me.
Ah, thanks for update, I didn't realized that the problem is using multiple dns addresses. I am afraid that we have never supported this in loader UI.
Yeah it's fine when you know that's the case.. but anaconda clearly should display an error message instead of failing silently!
Installation guide should be updated to reflect comment #4.
(In reply to comment #7)
> Installation guide should be updated to reflect comment #4.
Rudi, can you please address comment #4 as per David's guidance? - Mike
Thanks, Pasi. For build 3.1-17 of the guide, I've expanded the 'Hostname of IP Address/Subnet' list item to state that only one IP address should be provided.
Good idea, Andrew. I've fixed that up.
This(In reply to comment #4)
> I tested with 5.6 now and I figured it out.
> If you give multiple DNS IP addresses, then anaconda fails to use them! If you
> just give single IP, it works!
> I also verified when you give it multiple DNS IP addresses (and anaconda fails
> to use them) and you go to Ctrl-Alt-F2 there's no /etc/resolv.conf generated.
We are having the same problem (/etc/resolv.conf has not been populated, after installation completes) even if we specify a single IP address as DNS server.
Can you reproduce and/or confirm it?