On Tue, Apr 19, 2011 at 02:55:02PM +0800, wuyu8242 wrote:
> On 2011-04-19,at 14:22:23, Amos Kong wrote:
> >发送日期:2011-04-19 14:22:23
> >收件人:wuyu8242
> >抄送:Lucas Meneghel Rodrigues; autotest
> >主题:Re: Re: [Autotest] [PATCH 1/3] KVM-test: Add script to setupprivatebridge
> >> 
> >On Tue, Apr 19, 2011 at 01:29:42PM +0800, wuyu8242 wrote:
> >> Good news come from Amos When I just want to report an issue about this 
> >> nic mode to both of you.  Then I describe the issue for referring. I found 
> >> the mac addr generated 
> >> from code is same as the hwaddr in result of ifconfig in guest, but it 
> >> different from the hwaddr value in the ifcfg-eth0 file. So the framework 
> >> report error info of "Cannot find IP address for MAC address 
> >> 9a:xx:xx:xx:xx:xx".  In last week, I report the pass of tap mode, because 
> >> my image is setup manually. Today, the case failed.
> >> now, I will update code to use the new method of private bridge.
> >
> >This patch would not fix your problem.
> >You should delete the mac entry in ifcfg-eth0 of guest.

> the patch can not setup bridge automatically? 

It could.

> when I deleted the mac entry(hwaddr variant)  in ifcfg-eth0 of guest, but 
> restart the network service failed. After reboot guest, although the hwaddr 
> variant cannot be assigned mac, this issue still be there. so this mathod 
> doesn't work well. 
> Besides, it should not be modified by hand, this modifying should be made by 
> autotest framework. 

Actually, we clean this entry by unattended_install(kickstart).

> What is the cause of this inconsistency? When the ifcfg-eth0 file is 
> generated?

It's produced when you installing guest.

> Each time you start vm, this file should be rewritten, right?

no
 
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to