On 04/14/2014 03:08 PM, Feng Yang wrote:
On 04/14/2014 11:06 AM, Feng Yang wrote:
On 04/12/2014 03:43 AM, Lucas Meneghel Rodrigues wrote:
Hello everyone:

I was upgrading my regression testing server, and bumping the version of guests to RHEL 6.4. I started getting massive failures in tests, because the main network interface could never get up. The following is from a serial session when virt-test tried to repair the problem:

2014-04-11 15:55:29: [root@localhost ~]#
2014-04-11 15:55:30: ifconfig -a
2014-04-11 15:55:30: lo        Link encap:Local Loopback
2014-04-11 15:55:30:           inet addr:127.0.0.1 Mask:255.0.0.0
2014-04-11 15:55:30:           inet6 addr: ::1/128 Scope:Host
2014-04-11 15:55:30:           UP LOOPBACK RUNNING  MTU:16436 Metric:1
2014-04-11 15:55:30: RX packets:4 errors:0 dropped:0 overruns:0 frame:0 2014-04-11 15:55:30: TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
2014-04-11 15:55:30:           collisions:0 txqueuelen:0
2014-04-11 15:55:30: RX bytes:240 (240.0 b) TX bytes:240 (240.0 b)

After looking at the problem, it seems to trace back to the following lines in the *general kickstart of all RHEL6 guests*:

15:21:51 DEBUG| sed -i "/^HWADDR/d" /etc/sysconfig/network-scripts/ifcfg-eth0

That leaves the eth0 related file invalid so the interface can't go up.

I'm downloading the 6.4 image to see if I can reproduce, but in the mean time, did you ever see anything similar? We need to start having different kickstarts for different versions of RHEL. The current one is already super bloated, the base kickstart should lead to a lean guest install.

As I don't have a lot of time to work on virt-test maintenance these days, I'll have to revert back to 6.3.
I did not meet this error before.
Will try to reproduce and fix this issue.  Testing it now.

Thanks

Have just run unattended_install and boot with rhel.6.4 and *general kickstart of all RHEL6 guests* for several times. Guest just work well.

'sed -i "/^HWADDR/d" /etc/sysconfig/network-scripts/ifcfg-eth0' is also available in RHEL-6.3.ks. So I guest maybe some exception happened during post install, which make this command fail.


Will try to fix it whenever meet this issue.

Thanks

Feng Yang


Hi Lucas,

I also run a job for 6.4 guest install, it passed. Can you provide more info like the host version and driver format etc? So we can try to reproduce it. And if you can show us the ifcfg-eth0 in your guest, it will be very helpful.

That command is used to remove the mac address record in the ifcfg-eth0 script. We met the problem that the script record the mac address from guest in install, and in following cases mac address changed in our command line. But guest can not handle the mac changed and failed to get ip. So the following cases are all failed to get ip address. So if it mass up the ifcfg-eth0 maybe we need to update the command.


Best regards

Yiqiao Pu




Thanks,

Lucas

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel


_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to