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 954262 - virt-install should fall back to use hardcoded paths when .treeinfo lacks images-ARCH section
Summary: virt-install should fall back to use hardcoded paths when .treeinfo lacks ima...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: python-virtinst
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Martin Kletzander
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-22 06:24 UTC by Monson Shao
Modified: 2014-12-15 15:07 UTC (History)
10 users (show)

Fixed In Version: python-virtinst-0.600.0-17.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-21 10:37:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1604 0 normal SHIPPED_LIVE python-virtinst bug fix and enhancement update 2013-11-20 21:39:12 UTC

Description Monson Shao 2013-04-22 06:24:52 UTC
Description of problem:

When using virt-install to install a RHEL4 guest, it fails with
'''
Thu, 18 Apr 2013 10:39:03 ERROR    No section: 'images-x86_64'
'''

It's because the .treeinfo for RHEL4, e.g. [1], lacks [images-x86_64]
section, which is expected in RHEL5 or above. However, it should fall
back use the default hardcoded value instead of failing:

initrd = images/pxeboot/initrd.img
kernel = images/pxeboot/vmlinuz

That's what Beaker does it now.

[1] http://download.devel.redhat.com/released/RHEL-4/U9/AS/x86_64/tree/.treeinfo
[2] job link: https://beaker.engineering.redhat.com/jobs/406215
[3] virt-install log: http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2013/04/4062/406215/854976/12026797/kvm_x86_64_1_install.log

Version-Release number of selected component (if applicable):
python-virtinst-0.600.0-15.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. using virt-install to install a RHEL4 guest on kvm host
  
Actual results:
virt-install fail

Expected results:
virt-install success

Additional info:

Comment 2 Martin Kletzander 2013-04-22 14:59:56 UTC
Patch proposed upstream:
https://www.redhat.com/archives/virt-tools-list/2013-April/msg00214.html

Comment 4 Martin Kletzander 2013-04-23 12:21:17 UTC
Moving to POST per commit virtinst-0_600_4-2-g1ca4fc1 in python-virtinst maintenance branch:

commit 1ca4fc1945c6aefe0d97b21b2f0f2bffc14bb3db
Author: Martin Kletzander <mkletzan>
Date:   Mon Apr 22 16:54:57 2013 +0200

    Support incomplete .treeinfo files

Comment 7 hyao@redhat.com 2013-07-04 05:53:06 UTC
Reproduce the bug on rhel7 with the following packages:

#rpm -qa virt-manager libvirt
 virt-manager-0.9.0-18.el6.x86_64
libvirt-0.10.2-18.el6_4.9.x86_64

Comment 8 hyao@redhat.com 2013-07-04 06:08:01 UTC
(In reply to hyao from comment #7)
> Reproduce the bug on rhel7 with the following packages:
> 
> #rpm -qa virt-manager libvirt
>  virt-manager-0.9.0-18.el6.x86_64
> libvirt-0.10.2-18.el6_4.9.x86_64

reproduced on rhel6 not rhel7

Comment 13 hyao@redhat.com 2013-07-22 08:55:28 UTC
the bug is fixed on the following version

#rpm -qa libvirt python-virtinst
python-virtinst-0.600.0-17.el6.noarch
libvirt-0.10.2-21.el6.x86_64

Comment 14 errata-xmlrpc 2013-11-21 10:37:41 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-2013-1604.html


Note You need to log in before you can comment on or make changes to this bug.