Qemu master branch - RHEL 6.1 guest fails to boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Guest: RHEL 6.1 64 bit DVD
Kernel: Latest Fedora, also reproduces with Avi's kvm.git kernel based on 3.1: 2.6.40.
qemu version:
11/04 00:25:30 DEBUG|virt_
11/04 00:25:30 DEBUG|virt_
11/04 00:25:30 DEBUG|virt_
11/04 00:25:30 DEBUG|virt_
11/04 00:25:30 DEBUG|base_
11/04 00:34:41 INFO |virt_utils:2531| Commit hash for qemu is 932eacc158c0649
On guest boot screenshots (one of them attached), you can see the message
"Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization"
Network card info
11/04 00:44:55 DEBUG| virt_test:0041| bridge = virbr0
11/04 00:44:55 DEBUG| virt_test:0041| nic_mode = tap
11/04 00:44:55 DEBUG| virt_test:0041| nic_model = virtio
Commented excerpt of the test log:
11/04 00:44:57 INFO | kvm_vm:0790| Running qemu command:
/usr/local/
11/04 00:44:59 DEBUG|kvm_
11/04 00:44:59 DEBUG| kvm_vm:0851| VM appears to be alive with PID 9827
11/04 00:44:59 DEBUG|virt_
11/04 00:44:59 DEBUG| virt_vm:0654| Attempting to log into 'vm1' (timeout 720s)
... here it starts booting ...
11/04 00:44:59 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:01 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:03 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:05 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:07 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:09 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:11 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:13 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:15 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:17 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:19 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:21 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
11/04 00:45:23 DEBUG| virt_vm:0660| Cannot find IP address for MAC address 9a:16:a5:3c:05:25
... here it gets an IP from the DHCP server ...
11/04 00:45:24 DEBUG|virt_
... ok, let's try to login ...
11/04 00:45:25 DEBUG|virt_
... ouch, not possible to login ...
11/04 00:45:25 DEBUG| virt_vm:0660| Client said 'connection refused' (output: 'ssh: connect to host 192.168.122.195 port 22: Connection refused\n')
... message above repeats until ...
11/04 00:56:59 ERROR| virt_test:0095| Test failed: LoginError: Client said 'connection refused' (output: 'ssh: connect to host 192.168.122.195 port 22: Connection refused\n')
11/04 00:56:59 DEBUG|virt_
11/04 00:56:59 DEBUG|virt_
11/04 00:56:59 DEBUG| kvm_vm:0885| Destroying VM with PID 9827
11/04 00:56:59 DEBUG| kvm_vm:0889| Trying to shutdown VM with shell command
11/04 00:56:59 DEBUG|virt_
11/04 00:56:59 DEBUG| kvm_vm:0893| Client said 'connection refused' (output: 'ssh: connect to host 192.168.122.195 port 22: Connection refused\n')
11/04 00:56:59 DEBUG| kvm_vm:0908| Trying to kill VM with monitor command
11/04 00:56:59 INFO | aexpect:0783| [qemu output] (Process terminated with status 0)
11/04 00:57:00 DEBUG| kvm_vm:0916| VM is down
11/04 00:57:00 DEBUG| virt_vm:0318| Checking image file /tmp/kvm_
11/04 00:57:00 DEBUG|base_
11/04 00:57:00 DEBUG|base_
11/04 00:57:00 DEBUG|base_
11/04 00:57:00 DEBUG|base_
11/04 00:57:00 DEBUG|base_
11/04 00:57:00 DEBUG|base_
11/04 00:57:00 DEBUG|base_
11/04 00:57:00 DEBUG|base_
summary: |
- Qemu master branch - RHEL 6.1 guest failing to start network + Qemu master branch - RHEL 6.1 guest fails to boot |
We are currently investigating the failure. One of our suspects is that on kvm autotest, each new qemu process instance might have a new NIC mac address, and that might be triggering some condition in qemu in conjunction to the guest init scripts.
It is important to note that this problem does not affect qemu-kvm.git, or RHEL based branches for that matter.