Bug 695273

Summary: Can't install guest by nfs
Product: Red Hat Enterprise Linux 6 Reporter: koka xiong <kxiong>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED WORKSFORME QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: dyuan, eblake, kxiong, llim, syeghiay
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-12 09:12:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description koka xiong 2011-04-11 09:14:49 UTC
Description of problem:
When install guest by nfs,it reports "There is an error configuring your network interface.

Version-Release number of selected component (if applicable):
libvirt-0.8.7-16.el6
qemu-kvm-0.12.1.2-2.153.el6
kernel-2.6.32-128.el6

How reproducible:
100%

Steps to Reproduce:
1.Install guest by nfs
2.During installation,it can't find IP address for eth0 and going installation.
3.
  
Actual results:


Expected results:
It can find IP address for eth0 and can install guest by nfs.

Additional info:

Comment 2 koka xiong 2011-04-12 02:27:26 UTC
I use bridge network on host to install the guest,part of the guest xml file:
  <interface type='bridge'>
      <source bridge='br0'/>
      <model type='e1000'/>
    </interface>

Comment 3 koka xiong 2011-04-12 02:39:16 UTC
1. Check the iptable.
# service iptables status
Table: nat
Chain PREROUTING (policy ACCEPT)
num  target     prot opt source               destination         

Chain POSTROUTING (policy ACCEPT)
num  target     prot opt source               destination         
1    MASQUERADE  tcp  --  192.168.122.0/24    !192.168.122.0/24    masq ports:
1024-65535 
2    MASQUERADE  udp  --  192.168.122.0/24    !192.168.122.0/24    masq ports:
1024-65535 
3    MASQUERADE  all  --  192.168.122.0/24    !192.168.122.0/24    

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination         

Table: filter
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source    
           destination    
2.On host, delete the 1th and 2th rules in POSTROUTING chain of nat table.
# iptables -t nat -D POSTROUTING 1
# iptables -t nat -D POSTROUTING 1
# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination         

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         
MASQUERADE  all  --  192.168.122.0/24    !192.168.122.0/24    

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination  

3.Then I use nat network to install the guest,it also can't work.

Comment 4 koka xiong 2011-04-12 05:05:44 UTC
It can work well with libvirt-0.8.7-15.el6

Comment 5 koka xiong 2011-04-12 09:11:54 UTC
This bug is caused by our DHCP server,retest this one and now it works well.So close this bug.