Bug 632712 - PXE Boot Fails with virtio NIC
Summary: PXE Boot Fails with virtio NIC
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.0
Hardware: All
OS: Linux
high
medium
Target Milestone: beta
: 6.1
Assignee: Glauber Costa
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Keywords: Reopened
: 632716 (view as bug list)
Depends On:
Blocks: 580954
TreeView+ depends on / blocked
 
Reported: 2010-09-10 19:32 UTC by Gordan Bobic
Modified: 2013-01-09 23:06 UTC (History)
6 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2011-03-02 14:23:45 UTC


Attachments (Terms of Use)

Description Gordan Bobic 2010-09-10 19:32:18 UTC
Description of problem:
If the VM NIC is virtio based, PXE boot fails. e1000 works OK, though.

Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.90.el6.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1. Create an empty VM, set RHEL6 as the VM type
2. Try to PXE boot via a bridged interface
  
Actual results:
For virtion:
gPXE> dhcp net0
DHCP (net0 52:54:00:56:4e:1f)................ Connection timed out (0x4c106035)
Could not configure net0: Connection timed out (0x4c106035)

However, setting it to e1000:
gPXE> dhcp net0
DHCP (net0 52:54:00:56:4e:1f)................ ok
gPXE>


Expected results:
Should work for both virtio and emulated NICs.

Comment 2 Amit Shah 2010-10-15 10:20:57 UTC
Is this bug related to bug 632716?

Comment 3 Gordan Bobic 2010-10-15 10:34:08 UTC
I don't think they are related per se. This is about DHCP failing. https://bugzilla.redhat.com/show_bug.cgi?id=632716 is about the tftp boot failing. This is lower level than that.

Comment 4 Amit Shah 2010-10-15 10:45:04 UTC
(In reply to comment #3)
> I don't think they are related per se. This is about DHCP failing.
> https://bugzilla.redhat.com/show_bug.cgi?id=632716 is about the tftp boot
> failing. This is lower level than that.

Ah, I see now.  This is due to the bridge delay.  Glauber, Dan, any ideas how to resolve this?

Comment 5 Daniel Berrange 2010-10-15 10:55:40 UTC
There's not enough information here really.

Please provide the full libvirt XML for the guest, and the corresponding /var/log/libvirt/qemu/$GUEST.log file

Also provide info on the host networking setup from

  ifconfig -a
  brctl show
  brctl showstp $BRIDGENAME
  sysctl -a | grep ip_forward
  iptables -L -n -v
  iptables -t nat -L -n -v

Finally what libvirt RPM version is present.

Comment 6 Andrew McNabb 2010-11-19 01:35:00 UTC
Is this a duplicate of bug #586324?

Comment 7 Gordan Bobic 2010-11-20 11:34:03 UTC
Yes, it looks like it is!
Setting DELAY=0 in the ifcfg-br0 config file solves the problem.

Comment 8 Bill Burns 2010-11-20 13:12:18 UTC
Closed as a dup per previous comments.

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

Comment 9 Bill Burns 2010-11-20 13:19:17 UTC
Oops other bug is a Fedora bug. Will leave this RHEL bug assigned.

Comment 11 Glauber Costa 2011-03-02 14:26:01 UTC
*** Bug 632716 has been marked as a duplicate of this bug. ***


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