Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 690690

Summary: Remove rhev-hypervisor-pxe subpackage which is no longer used
Product: Red Hat Enterprise Linux 6 Reporter: Perry Myers <pmyers>
Component: rhev-hypervisor6Assignee: Mike Burns <mburns>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0CC: apevec, gouyang, jboggs, leiwang, mburns, mhusnain, moli, mshao, ovirt-maint, ycui, yeylon
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhev-hypervisor-6.1-12 Doc Type: Bug Fix
Doc Text:
Previously, the rhev-hypervisor-pxe subpackage operated as a wrapper for the livecd-iso-to-pxe script, which is not shipped with Red Hat Enterprise Linux. This is now fixed to remove the rhev-hypervisor-pxe subpackage and livecd-iso-to-pxeboot script is included directly on the RHEV-H ISO, under LiveOS folder.
Story Points: ---
Clone Of:
: 690691 691832 (view as bug list) Environment:
Last Closed: 2011-08-19 15:15:07 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: 690691, 691832, 692889    

Description Perry Myers 2011-03-25 03:49:35 UTC
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 2 Mike Burns 2011-03-29 15:15:14 UTC
The inclusion of livecd-iso-to* scripts in the iso will be handled in bug 691832.

Comment 3 Mike Burns 2011-03-29 15:21:00 UTC
diff -u -r1.26 rhev-hypervisor.spec
--- rhev-hypervisor.spec	25 Mar 2011 19:26:23 -0000	1.26
+++ rhev-hypervisor.spec	29 Mar 2011 15:20:17 -0000
@@ -4,7 +4,7 @@
 %define product Red Hat Enterprise Virtualization Hypervisor
 %define product_short RHEV Hypervisor
 %define product_code rhevh
-%define rhevh_build 11
+%define rhevh_build 12
 
 Summary: %{product} ISO image
 Name: rhev-hypervisor
@@ -37,16 +37,6 @@
 The ISO boot image for %{product} booting
 from CDROM device. At the moment, this RPM just packages prebuilt ISO.
 
-%package pxe
-Summary: %{product} PXE image
-Group: Applications/System
-Requires: %{name} = %{version}-%{release}
-Requires: livecd-tools
-
-%description pxe
-PXE boot image installer for %{product}
-network boot from a PXE Server.
-
 %prep
 
 %build
@@ -67,20 +57,15 @@
 %clean
 %{__rm} -rf %{buildroot}
 
-%post pxe
-cd %{app_root}
-rm -rf tftpboot
-livecd-iso-to-pxeboot %{name}.iso > /dev/null
-cobbler sync > /dev/null 2>&1 || :
-
 %files
 %defattr(0644,root,root,0755)
 %{app_root}/%{name}.iso
 
-%files pxe
-%defattr(0644,root,root,0755)
-
 %changelog
+* Wed Mar 30 2011 Mike Burns <mburns> 6.1-12
+- RHEL6.1 Snapshot 2
+- Drop -pxe subpackage rhbz#690690
+
 * Fri Mar 25 2011 Mike Burns <mburns> 6.1-11
 - RHEL6.1 beta

Comment 4 Alan Pevec 2011-03-29 16:29:14 UTC
(In reply to comment #2)
> The inclusion of livecd-iso-to* scripts in the iso will be handled in bug
> 691832.

you mean in the rpm, scripts are already on the iso

Comment 7 Mohua Li 2011-04-14 07:00:48 UTC
from 6.1-12, in brew, there is no pxe subpackage, fixed,



RPMs 	
src	
	rhev-hypervisor-6.1-12.el6.src.rpm (info) (download)
noarch 	(build logs)
	rhev-hypervisor-6.1-12.el6.noarch.rpm (info) (download)



RPMs 	
src	
	rhev-hypervisor-6.1-11.el6.src.rpm (info) (download)
noarch 	(build logs)
	rhev-hypervisor-6.1-11.el6.noarch.rpm (info) (download)
	rhev-hypervisor-pxe-6.1-11.el6.noarch.rpm (info) (download)

Comment 8 Misha H. Ali 2011-05-06 01:21:16 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:
Previously, the rhev-hypervisor-pxe subpackage operated as a wrapper for the livecd-iso-to-pxe script, which is no longer shipped with Red Hat Enterprise Linux. This is now fixed to remove the unnecessary rhev-hypervisor-pxe subpackage.

Comment 9 Alan Pevec 2011-05-06 11:05:28 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Previously, the rhev-hypervisor-pxe subpackage operated as a wrapper for the livecd-iso-to-pxe script, which is no longer shipped with Red Hat Enterprise Linux. This is now fixed to remove the unnecessary rhev-hypervisor-pxe subpackage.+Previously, the rhev-hypervisor-pxe subpackage operated as a wrapper for the livecd-iso-to-pxe script, which is not shipped with Red Hat Enterprise Linux. This is now fixed to remove the rhev-hypervisor-pxe subpackage and livecd-iso-to-pxeboot script is included directly on the RHEV-H ISO, under LiveOS folder.

Comment 10 Mike Burns 2011-07-25 14:17:11 UTC
*** Bug 695695 has been marked as a duplicate of this bug. ***