Bug 707352 - virt-what returns "" on an i386 guest hosted by an x86_64 machine emulating i686 arch
Summary: virt-what returns "" on an i386 guest hosted by an x86_64 machine emulating i...
Keywords:
Status: CLOSED DUPLICATE of bug 647862
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-what
Version: 5.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: 675214
TreeView+ depends on / blocked
 
Reported: 2011-05-24 19:30 UTC by John Sefler
Modified: 2011-06-02 21:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-25 09:34:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Addvanced Setting -> i686 (23.56 KB, image/png)
2011-05-24 19:30 UTC, John Sefler
no flags Details

Description John Sefler 2011-05-24 19:30:33 UTC
Created attachment 500681 [details]
Addvanced Setting -> i686

Description of problem:
As part of the subscription-manager testing, we depend on virt-what to tell us what virt is running.  In the following corner case, virt-what returns "" when we expect it to return "kvm".

Version-Release number of selected component (if applicable):
[root@jsefler-rhel57-beta12-i386 ~]# rpm -q virt-what
virt-what-1.9-1.3.el5


How reproducible:


Steps to Reproduce:
1. On an x86_64 host, use virt-manager to build a KVM guest from a RHEL57 i386 iso.
   For example: http://download.devel.redhat.com/rel-eng/RHEL5.7-Server-20110518.0/5/i386/iso2/RHEL5.7-Server-20110518.0-i386-DVD.iso
2. While setting up the kvm guest with virt-manager, there is an "Advanced option" to set the Architecture.  Set it to i686 (KEY TO THIS BUG)  See attachment
3. Once provisioned. run virt-what
  
Actual results:
[root@jsefler-rhel57-beta12-i386 ~]#  virt-what
[root@jsefler-rhel57-beta12-i386 ~]# 


Expected results:
[root@jsefler-rhel57-beta12-i386 ~]#  virt-what
kvm
[root@jsefler-rhel57-beta12-i386 ~]# 

Additional info:

Comment 1 Richard W.M. Jones 2011-05-24 21:02:48 UTC
Thanks, possibly a dup of bug 647862.  I'm going to take a look
at these bugs tomorrow.

Comment 2 Richard W.M. Jones 2011-05-25 09:34:36 UTC
Marking this as a dup for now.  I'll also be cloning
that bug for RHEL 5 and possibly for RHEL 6.1 z-stream too.

*** This bug has been marked as a duplicate of bug 647862 ***

Comment 3 Richard W.M. Jones 2011-05-25 14:42:36 UTC
Please test the fixed package provided here:
https://bugzilla.redhat.com/show_bug.cgi?id=707523

Comment 4 John Sefler 2011-06-02 21:06:08 UTC
Recreating problem...
[root@localhost ~]# rpm -q virt-what
virt-what-1.9-1.3.el5
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-262.el5 #1 SMP Mon May 16 17:46:41 EDT 2011 i686 athlon i386 GNU/Linux
[root@localhost ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.7 Beta (Tikanga)
[root@localhost ~]# virt-what 
[root@localhost ~]# 

^^^ Problem recreated (Expected virt-what to return "kvm")


Verifying fix by installing virt-what-1.10-1.el5.i386.rpm as indicated in bug 707523....
[root@localhost ~]# rpm -Uvh http://porkchop.devel.redhat.com/rel-eng/RHEL-5.7-Server-Snapshot-2.0/tree-i386/Server/virt-what-1.10-1.el5.i386.rpm
Retrieving http://porkchop.devel.redhat.com/rel-eng/RHEL-5.7-Server-Snapshot-2.0/tree-i386/Server/virt-what-1.10-1.el5.i386.rpm
Preparing...                ########################################### [100%]
   1:virt-what              ########################################### [100%]
[root@localhost ~]# rpm -q virt-what
virt-what-1.10-1.el5
[root@localhost ~]# virt-what
kvm
[root@localhost ~]# 

^^^ Verified Fix


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