Bug 690691

Summary: Remove rhev-hypervisor-pxe subpackage which is no longer used
Product: Red Hat Enterprise Linux 5 Reporter: Perry Myers <pmyers>
Component: rhev-hypervisorAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6CC: apevec, gouyang, leiwang, mburns, moli, mshao, ovirt-maint, ycui, yeylon
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhev-hypervisor-5.7-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 690690 Environment:
Last Closed: 2011-07-27 14:42:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 690690, 691832    
Bug Blocks:    

Description Perry Myers 2011-03-25 03:50:52 UTC
+++ This bug was initially created as a clone of Bug #690690 +++

Description of problem:
rhev-hypervisor-pxe subpackage used to be a wrapper around using livecd-iso-to-pxe script so that in %post install of this package the ISO would automatically be converted to vmlinuz and initrd files suitable for PXE boot.

However this relies on livecd-iso-to-pxe script being installed on system, which is only present if livecd-tools package is installed which is not presently shipped in RHEL.

So we need to remove this subpackage.  The to-pxe and to-disk (for USB installs) scripts are already bundled inside the RHEVH ISO image itself, so users can grab the scripts there.  But this is a little inconvenient since it involves users needing to loopback mount the ISO, grab the scripts and then run the commands.

So we should consider providing the livecd-iso-* scripts directly in the rhev-hypervisor RPM.  So that these do not conflict with livecd-tools filenames, we should rename these scripts to rhevh-iso-*

Comment 1 Mike Burns 2011-04-12 12:55:51 UTC
3 things to be done here: 

1.  drop -pxe package
2.  include livecd scripts (renamed to rhevh-iso-to-*)
3.  add obsoletes entry in rhev-h specfile

Comment 4 Guohua Ouyang 2011-04-22 07:37:32 UTC
Verified on 5.7-1,

1: no rhev-hypervisor-pxe subpackage on brew:
src	
	rhev-hypervisor-5.7-1.el5.src.rpm (info) (download)
noarch 	(build logs)
	rhev-hypervisor-5.7-1.el5.noarch.rpm (info) (download)

2. rhevh-iso-to-* are include:
# rpm -ql rhev-hypervisor-5.7-1.el5.noarch
/usr/bin/edit-rhevh
/usr/bin/rhevh-iso-to-disk
/usr/bin/rhevh-iso-to-pxeboot
/usr/share/rhev-hypervisor/rhev-hypervisor.iso

3. file permission are set correctly.
# ll /usr/bin/rhevh*
-rwxr-xr-x. 1 root root 20350 Apr 14 20:47 /usr/bin/rhevh-iso-to-disk
-rwxr-xr-x. 1 root root  3774 Apr 14 20:47 /usr/bin/rhevh-iso-to-pxeboot
# ll /usr/bin/edit-rhevh 
-rwxr-xr-x. 1 root root 12053 Apr 14 20:47 /usr/bin/edit-rhevh

Comment 5 errata-xmlrpc 2011-07-27 14:42:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1090.html