Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 649675

Summary: RHEL5 doesn't install xen packages as dependencies by default
Product: [Retired] Red Hat Hardware Certification Program Reporter: Caspar Zhang <czhang>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Guangze Bai <gbai>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2CC: gbai, qcai, rlandry, yshao, yuchen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In v7 1.5, a bug has been fixed that xen packages now will be v7 runtime dependencies if the test suite is running on xen kernel. User will be asked to install all necessary xen packages when executing `v7 plan`
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-05 21:35:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 767775, 773757    
Attachments:
Description Flags
patch to add xen to the required rpms list when running the xen kernel
none
patch to add required rpms to list when running xen kernel none

Description Caspar Zhang 2010-11-04 09:35:58 UTC
Description of problem:

When test fv_* tests on RHEL5.6 xen kernel, I found that the packages xen and xen-ia64-guest-firmware were not installed as dependencies when executing `v7 plan'. Shall we include these packages if the machine supports hvm and xen kernel is running?

Version-Release number of selected component (if applicable):
1.2-R25
RHEL5.6-20101019.0

How reproducible:
ia64: 100%
i386: tested only once and system didn't install xen by default
x86_64: tested only once but system installed xen by default

Steps to Reproduce:
1. switch to xen kernel, execute v7 plan
2.
3.
  
Actual results:
no fv_* tests added, no xen packages installed

Expected results:
all related xen packages were prompted to install and fv_* tests should be added after.

Additional info:

Comment 1 Caspar Zhang 2010-11-04 09:37:52 UTC
Yuwen, would you please retest this issue on RHEL5.5 GA? And on RHEL5.6 i386 and x86_64 to see if they are reproducible 100%, 0% or else?

Comment 6 Rob Landry 2012-03-15 18:00:02 UTC
The getRequiredRPMs, function could be updated on the xen kernel to include the xen and xen-ia64-guest-firmware plan time requires.

Comment 8 Rob Landry 2012-03-29 20:27:47 UTC
Created attachment 573791 [details]
patch to add xen to the required rpms list when running the xen kernel

I haven't tested this code yet.  Also the specific list of package may need to be updated as anaconda uses @xen package group for the install so just installing the xen package may be insufficient.

Comment 9 Greg Nichols 2012-03-30 13:23:36 UTC
Created attachment 573979 [details]
patch to add required rpms to list when running xen kernel

Comment 13 Caspar Zhang 2012-06-04 07:06:12 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
In v7 1.5, a bug has been fixed that xen packages now will be v7 runtime dependencies if the test suite is running on xen kernel. User will be asked to install all necessary xen packages when executing `v7 plan`

Comment 15 errata-xmlrpc 2012-06-05 21:35:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0711.html