Bug 1142889 - DHCP timeout during installation
Summary: DHCP timeout during installation
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 21
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-17 14:53 UTC by Robert Knight
Modified: 2014-12-11 21:54 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-10-20 13:35:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
lshw from a Fedora 21 install with fixed ip (17.24 KB, text/plain)
2014-09-17 14:53 UTC, Robert Knight
no flags Details
/tmp/syslog after initial DHCP timeout (85.34 KB, text/plain)
2014-10-02 12:30 UTC, Robert Knight
no flags Details
/tmp/syslog after dhclient.conf file added (93.86 KB, text/plain)
2014-10-02 12:31 UTC, Robert Knight
no flags Details

Description Robert Knight 2014-09-17 14:53:44 UTC
Created attachment 938504 [details]
lshw from a Fedora 21 install with fixed ip

Description of problem:
During an installation with RC1, the Ethernet is never enabled because there is a DHCP timeout.  This is a physical machine (Dell Optiplex 755).  DHCP works consistently with Fedora 20.

Version-Release number of selected component (if applicable):

21 RC1
How reproducible:
always

Steps to Reproduce:
1.Boot from USB key
2.
3.

Actual results:
Ethernet is assigned only 127.0.0.1

Expected results:
Ethernet is assigned ip address from DHCP server

Additional info:
Attaching an lshw output for machine

Comment 1 Stephen Gallagher 2014-09-17 14:57:56 UTC
This issue does not appear when using a KVM virtual machine, so I suspect that the problem may actually be in the hardware driver.

Comment 2 Robert Knight 2014-09-26 15:19:09 UTC
The problem still exists in F21 Alpha.  I wonder if this is related to

https://bugzilla.redhat.com/show_bug.cgi?id=560361

When I create a /etc/dhcp/dhclient.conf containing

send dhcp-client-identifier = hardware;

the DHCP request succeeds.

Comment 3 Robert Knight 2014-09-26 16:21:01 UTC
My colleague suggests that my problem has been caused by patch29 (duidv4) which has enabled the sending of the DUID.

Comment 4 Robert Knight 2014-10-01 21:28:00 UTC
The problem still exists in F21 Beta TC1.  The solution in #2 still works.

Comment 5 Jirka Klimes 2014-10-02 07:16:59 UTC
As I understand it, the problem seems to be with handling DHCP client identifier.
dhclient bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=560361#c44
https://bugzilla.redhat.com/show_bug.cgi?id=1109860

From NetworkManager side the client identifier can be controlled by ipv4.dhcp-client-id property, which is DHCP_CLIENT_ID variable in ifcfg files.

Can you get messages logs so that we can see what is sent to DHCP server and what's the reply?

Comment 6 Robert Knight 2014-10-02 12:30:24 UTC
Created attachment 943349 [details]
/tmp/syslog after initial DHCP timeout

Comment 7 Robert Knight 2014-10-02 12:31:13 UTC
Created attachment 943351 [details]
/tmp/syslog after dhclient.conf file added

Comment 8 Robert Knight 2014-10-02 12:32:45 UTC
Yes, you're right.  Your BZ 1109860 seems to be concerned with IP over IB and, while I do use that as well, this is just a straight-up Ethernet that is not working.  That /etc/dhcp/dhclient.conf file was provided by the dhclient rpm in Fedora 20.  That's why I've continued adding it.  NetworkManager seems to merge it into the ifcfg file that it creates.

I've provided what I believe are the logs you need.  It's easy to reproduce if there are are others need.

Comment 9 Robert Knight 2014-10-09 12:33:25 UTC
The problem still exists in F21 Beta TC2.  The solution in #2 still works.

Comment 10 Robert Knight 2014-10-13 16:15:55 UTC
The problem still exists in F21 Server (and Workstation) Beta TC3.  The solution in #2 still works.

Comment 11 Robert Knight 2014-10-20 13:35:06 UTC
This appears to be a side effect of our local DHCP server's restrictions rather than a general problem.  I have tried F21 Server Beta TC4 in several other (DHCP) contexts without problems.

Closing the ticket.

Comment 12 Rob 2014-12-10 22:26:35 UTC
please can this be reopened. I've just ran into it in fedora 21 final workstation on multiple machines.

the proposed fixed in #2 worked.

Comment 13 Richard Guest 2014-12-11 20:36:51 UTC
Yup. Same problem here. Strange!

Comment 14 Robert Knight 2014-12-11 21:31:19 UTC
I'm fine with reopening it.  I don't know the protocols for doing so.

Rob and Richard Guest: do you know how your dhcp server is responding to the sending of the duid instead of the (old) hardware id?  Mine (a 1998 vintage) just completely ignores the request, hence the timeout.

Comment 15 Rob 2014-12-11 21:54:33 UTC
It's a windows dhcp server, and i see no reply on wireshark/tcpdump at the client at all, so i guess it's also completely ignoring the request.


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