Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1323973

Summary: virtio-win package is not installed on rhevh-20160330.0.el7ev
Product: Red Hat Enterprise Virtualization Manager Reporter: mxie <mxie>
Component: ovirt-node-plugin-vdsmAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED NOTABUG QA Contact: cshao <cshao>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.6.5CC: cshao, fdeutsch, gklein, huiwa, huzhao, juzhou, keanli, leiwang, lsurette, michal.skrivanek, mxie, mzhan, nsimsolo, pstehlik, rjones, tzheng, weiwang, xiaodwan, yaniwang, ycui, yeylon, ykaul
Target Milestone: ovirt-3.6.5Keywords: TestBlocker
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-05 11:30:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
2nd import dialog screenshot none

Description mxie@redhat.com 2016-04-05 08:48:51 UTC
Description of problem:
virtio-win package is not installed on rhevh-20160330.0.el7ev

Version-Release number of selected component (if applicable):
RHEV Hypervisor - 7.2 - 20160330.0.el7ev

How reproducible:
100%

Steps to Reproduce:
1.SSH to rhevh
2.# rpm -q virtio-win
package virtio-win is not installed


Actual results:
virtio-win package is not installed on rhevh-20160330.0.el7ev so that windows guests can't be converted by rhevh

Expected results:
virtio-win package should be installed on rhevh-20160330.0.el7ev


Addtional info:

Comment 1 mxie@redhat.com 2016-04-05 09:14:17 UTC
sorry for not accurate description of actual result, correct as "virtio-win package is not installed on rhevh-20160330.0.el7ev so that windows guests will not have virtio drivers after conversion on rhevh"

Comment 2 Fabian Deutsch 2016-04-05 09:15:03 UTC
If this package is required by virt-v2v - why is it not a dependency of virt-v2v?

Comment 3 Fabian Deutsch 2016-04-05 09:18:06 UTC
We need to understand if virtio-win should be a dependency of another package or not.

Comment 4 mxie@redhat.com 2016-04-05 09:27:01 UTC
(In reply to Fabian Deutsch from comment #2)
> If this package is required by virt-v2v - why is it not a dependency of
> virt-v2v?

virtio-win package is not a dependency of virt-v2v, but it is necessary for virt-v2v, virtio-win package provides virtio drivers for windows guests during virt-v2v conversion

Comment 6 Richard W.M. Jones 2016-04-05 10:09:19 UTC
The bottom line reason is because virtio-win is on the supplemental
disk, and virt-v2v is in base RHEL.  Packages in base RHEL cannot
depend on supplemental packages.

The longer reason is that virtio-win is an optional extra.  virt-v2v
can convert Windows guests without it, although they'll use emulated
devices like IDE which is slow.  That's useful in some situations:

 - places where virtio-win is too big -- it's 70MB installed

 - architectures that don't distribute virtio-win (POWER IIRC)

 - CentOS

Anyway, if you want this, make vdsm or some other package in rhevh
depend on virtio-win.

Comment 7 tingting zheng 2016-04-05 10:38:37 UTC
Test on rhevm without virtio-win package,windows guest will BSOD after boot on rhev-h due to no virtio drivers,so this is really a test-blocker bug for conversion of all windows guests.

Comment 8 Fabian Deutsch 2016-04-05 10:48:33 UTC
Michal, wat is the expectation here? Is it expected or recommended that we do ship virtio-win in RHEV?

I'm not fast-forwading to include virtio-win because of it's size.

Comment 9 Richard W.M. Jones 2016-04-05 10:57:39 UTC
I should probably say that we don't test or support the non-virtio-win
path of virt-v2v, and as Tingting points out in comment 7 there is
currently a problem converting certain VMware Windows guests without
virtio-win.  Also it's not desirable to provide customers with a
slow IDE only experience.

Comment 10 Nisim Simsolo 2016-04-05 11:28:32 UTC
Using webadmin import dialog, virtio-win.iso file can be attached from ISO domain to the VM manually before the import.
I verified it using RHEL hosts and it's working properly.

Comment 11 Michal Skrivanek 2016-04-05 11:30:19 UTC
right, so we don't really need it deployed on every single RHEV-H.

Comment 12 Richard W.M. Jones 2016-04-05 11:40:16 UTC
Tingting was concerned about the user experience of having to
attach ISOs and such.  Can we improve that?

Comment 13 Michal Skrivanek 2016-04-05 11:58:54 UTC
(In reply to Richard W.M. Jones from comment #12)
> Tingting was concerned about the user experience of having to
> attach ISOs and such.  Can we improve that?

this is part of the integration. You can (and it's visually encouraged) to select the virtio-win in the import dialog. And typically you do have virtio-win in the iso domain anyway, as it is needed for any "regular" RHEV Windows VMs. So normally you don't really need to do anything.

Comment 14 tingting zheng 2016-04-06 02:24:15 UTC
(In reply to Michal Skrivanek from comment #13)
> (In reply to Richard W.M. Jones from comment #12)
> > Tingting was concerned about the user experience of having to
> > attach ISOs and such.  Can we improve that?
> 
> this is part of the integration. You can (and it's visually encouraged) to
> select the virtio-win in the import dialog. And typically you do have
> virtio-win in the iso domain anyway, as it is needed for any "regular" RHEV
> Windows VMs. So normally you don't really need to do anything.

Is there any doc or guide to clarify these steps for importing windows guests from rhevm GUI?

If not,I think it's better to add it somewhere,as comment 7 says if no virtio-win drivers,windows guest will BSOD.

Comment 15 Nisim Simsolo 2016-04-06 06:41:46 UTC
Created attachment 1144115 [details]
2nd import dialog screenshot

Comment 16 Nisim Simsolo 2016-04-06 06:46:06 UTC
In the second import dialog, when selecting destination operating system (from general tab) as Windows, the next line appears in the dialog with red fonts: 
"You have selected windows OS and have not selected VirtIO drivers. This may cause the system not to boot up."
Screenshot example attached: https://bugzilla.redhat.com/attachment.cgi?id=1144115

Comment 17 tingting zheng 2016-04-06 07:34:34 UTC
(In reply to Nisim Simsolo from comment #16)
> In the second import dialog, when selecting destination operating system
> (from general tab) as Windows, the next line appears in the dialog with red
> fonts: 
> "You have selected windows OS and have not selected VirtIO drivers. This may
> cause the system not to boot up."
> Screenshot example attached:
> https://bugzilla.redhat.com/attachment.cgi?id=1144115

Thanks,that makes the issue clear for users.

Comment 18 Michal Skrivanek 2016-04-06 07:46:09 UTC
(In reply to tingting zheng from comment #17)

also, in general there is a note about rivers for Windows OSes in Administration guide, e.g. section 10.6.2, table 10.3, Interface (as of 3.6.4.1-0.1.el6),
and the deployment is described in 16.7.5 and 16.7.6

Comment 19 Michal Skrivanek 2016-04-06 07:46:44 UTC
s/rivers/drivers/ :-)

Comment 20 Richard W.M. Jones 2016-04-06 10:33:17 UTC
I talked to Nisim on IRC about this and he explained how this works.
When the ISO is "attached to the VM" from that dialog, what actually
is happening is the VIRTIO_WIN environment variable is set to point
to the ISO and virt-v2v runs.  virt-v2v uses the contents of the ISO
to install drivers.

Comment 21 Fabian Deutsch 2016-04-07 07:08:58 UTC
*** Bug 1324723 has been marked as a duplicate of this bug. ***