Bug 1006340 - [Admin Portal] OS type is wrong when importing VM with RHEV origin from an export domain
Summary: [Admin Portal] OS type is wrong when importing VM with RHEV origin from an ex...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 3.3.0
Assignee: Roy Golan
QA Contact: Ilanit Stein
URL:
Whiteboard: virt
Depends On:
Blocks: 3.3snap1
TreeView+ depends on / blocked
 
Reported: 2013-09-10 13:08 UTC by Jiri Belka
Modified: 2014-01-21 22:34 UTC (History)
12 users (show)

Fixed In Version: is20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log, vdsm.log, c8dc7c6a-f410-4d56-9e31-802d67907155.ovf (242.70 KB, application/x-tar)
2013-09-10 13:08 UTC, Jiri Belka
no flags Details
Import Virtual Machine dialog (100.87 KB, image/png)
2013-09-10 13:09 UTC, Jiri Belka
no flags Details
VM OVF files from 3.2 & 3.3, engine.log (3.3), vdsm.log (3.2) (530.79 KB, application/x-gzip)
2013-10-29 15:37 UTC, Pavel Novotny
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 19774 0 None None None Never
oVirt gerrit 19794 0 None None None Never
oVirt gerrit 20271 0 None None None Never

Description Jiri Belka 2013-09-10 13:08:15 UTC
Created attachment 795998 [details]
engine.log, vdsm.log, c8dc7c6a-f410-4d56-9e31-802d67907155.ovf

Description of problem:
OS type is wrong when importing VM with RHEV origin (I had such VMs from 3.2 setup) from an export domain, I did import Windows 2008 32bit and it is shown as 'Other OS'.

Version-Release number of selected component (if applicable):
is13

How reproducible:
100%

Steps to Reproduce:
1. export a VM
2. import the VM and check its OS type
3.

Actual results:
not same

Expected results:
should be kept

Additional info:
if exported VM has ovirt origin, it looks OK

Comment 1 Jiri Belka 2013-09-10 13:09:08 UTC
Created attachment 795999 [details]
Import Virtual Machine dialog

Comment 2 Michal Skrivanek 2013-10-01 08:43:36 UTC
roy, can you please take a look. Probably related to osinfo changes...

Comment 6 Pavel Novotny 2013-10-29 15:33:05 UTC
FailedQA in rhevm-3.3.0-0.28.beta1.el6ev.noarch (is20).

OS type of VMs exported in RHEVM 3.2 and imported in 3.3 is still reset to 'Other OS'. 

Verification steps:
1. In RHEVM 3.2 (rhevm-3.2.4-0.44.el6ev.noarch - sf21), create a VM with OS type `Windows 7 X64`.
2. Export the VM
3. Import the VM in RHEVM 3.3 and check the OS type - it's `Other OS`.

In the VM's OVF file the OS type is set to `Windows7x64` (see attached `rhevm32_vm-w7x64.ovf`).
It looks like problem only with handling the older 3.2 OVF format. With export & import of VM in 3.3, the OS type stays the same.

Comment 7 Pavel Novotny 2013-10-29 15:37:12 UTC
Created attachment 817122 [details]
VM OVF files from 3.2 & 3.3, engine.log (3.3), vdsm.log (3.2)

engine.log:
2013-Oct-29, 13:08 - import of VM exported in RHEVM 3.2
2013-Oct-29, 13:36 - import of VM exported in the same RHEVM 3.3

Comment 8 Shai Revivo 2013-11-03 09:09:26 UTC
in build 21

Comment 9 Ilanit Stein 2013-11-05 12:44:00 UTC
Verified on is21.

Followed comment #6 instuctions, only with 'Windows XP'.
Os type remained the same in the imported VM, 'Windows XP', and not 'Other OS'.

Comment 10 Ilanit Stein 2013-11-05 13:22:38 UTC
Also checked .ovf files:

In export domain - 
<Info>Guest Operating System</Info>
<Description>WindowsXP</Description>

In master domain (to which vm was imported) -
<Info>Guest Operating System</Info>
<Description>windows_xp</Description>

Comment 11 Itamar Heim 2014-01-21 22:31:46 UTC
Closing - RHEV 3.3 Released

Comment 12 Itamar Heim 2014-01-21 22:31:47 UTC
Closing - RHEV 3.3 Released

Comment 13 Itamar Heim 2014-01-21 22:34:23 UTC
Closing - RHEV 3.3 Released


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