Red Hat Bugzilla – Bug 1007667
fv_* test failed on RHEL5.9 Xen kernel since xenbr0 was not found
Last modified: 2015-07-13 10:20:05 EDT
Created attachment 797119 [details]
Description of problem:
Full Virtulization fv_* test failed with RHEL5.9 Xen Kernel since xenbr0 was not found. By default OS installation, there are only 2 network bridges named 'virbr0' and 'xenbr1'. No network bridge device named 'xenbr0'.
Here is the error information during fv_* test.
Submitted tests: hwcert-backend run --mode auto --test core --server 10.101.2.98
Warning: "virsh start hwcert-x86_64" has output on stderr
error: Failed to start domain hwcert-x86_64
error: POST operation failed: xend_post: error from xen daemon: (xend.err 'Device 0 (vif) could not be connected. Could not find bridge device xenbr0')
fv_core test is running, it takes some time(less than 60 minutes), please be patient ...
Version-Release number of selected component (if applicable):
OS: RHEL5.9 GA <Xen>
Always reproduced with default configuration.
Steps to Reproduce:
1. Install RHEL5.9 Xen OS with installation number.
2. Configure HWCERT kit.
3. Run fv_* test.
fv_* test failed with errors regarding 'xenbr0 not found'.
fv_* test passed.
I upload the result file as attachment.
There is a workaround to fix the issue and fv_* test could be passed. Actually 'virbr0' is good for use, so modify the code to use 'virbr0' as below.
# vi /usr/share/hwcert/lib/hwcert/fvtest.py
guestConfig.write("vif = [ \"mac=00:16:3e:76:b5:99,bridge=virbr0\" ]\n")
*** Bug 1076336 has been marked as a duplicate of this bug. ***
Closing as hwcert-client is obsolete.
Please use redhat-certification-hardware instead.