Bug 1430688 - incorrectly updated graphics devices on old templates
Summary: incorrectly updated graphics devices on old templates
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.3
: ---
Assignee: Martin Betak
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-09 10:18 UTC by Tomas Jelinek
Modified: 2017-07-06 13:57 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-06 13:57:36 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.1?
tjelinek: planning_ack?
rule-engine: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 74756 0 master MERGED core: Add handling to fix VM's without video devices 2017-04-04 09:24:14 UTC
oVirt gerrit 75050 0 master MERGED core: Properly handle spicevmc redirs on USB support change 2017-04-13 08:21:47 UTC
oVirt gerrit 75127 0 ovirt-engine-4.1 MERGED core: Add handling to fix VM's without video devices 2017-04-04 10:42:24 UTC
oVirt gerrit 75315 0 master MERGED core: Remove leftover SPICE channel on RunVM 2017-04-19 14:21:18 UTC
oVirt gerrit 75511 0 ovirt-engine-4.1 MERGED core: Properly handle spicevmc redirs on USB support change 2017-04-20 13:28:28 UTC
oVirt gerrit 75662 0 ovirt-engine-4.1 MERGED core: Remove leftover SPICE channel on RunVM 2017-04-20 13:29:13 UTC

Description Tomas Jelinek 2017-03-09 10:18:29 UTC
Have a template which has this devices:

vnc           | graphics
cdrom         | disk
ich6          | sound
unix          | channel
memballoon    | balloon
virtio-serial | controller
bridge        | interface
disk          | disk
unix          | channel
spicevmc      | channel
usb           | controller
ide           | controller


There are two issues:

1: If the graphics is VNC but the display is not as one of the devices (old situation) the update VM does not add the display device properly.

2: The change from spice to vnc does not remove the spicevmc channel

Comment 1 Yaniv Kaul 2017-03-09 13:19:11 UTC
Severity?
Target milestone?

Comment 2 Martin Betak 2017-03-20 13:22:28 UTC
2. appears to have already been fixed by BZ#1430009

attempting to reproduce 1...

Comment 3 Sharon Gratch 2017-03-30 12:34:53 UTC
(In reply to Tomas Jelinek from comment #0)

> There are two issues:
> 
> 1: If the graphics is VNC but the display is not as one of the devices (old
> situation) the update VM does not add the display device properly.
>
It seems that BZ#1434161 already fixed that issue.

Comment 4 Sharon Gratch 2017-03-30 13:29:50 UTC
There is still a bug not solved by BZ#1434161 and I guess that's what Tomas meant: 
Edit a template that doesn't have a video device added to vm_devices and you only change the graphics type as follows:
(qxl, spice) to (qxl, vnc) 
or
(qxl, vnc) to (qxl, spice)

Comment 5 Martin Betak 2017-04-04 08:33:59 UTC
Yes, Sharon, you are right the 2) is not yet fixed. But the POST-ed patch (75050) should cover also those remaining cases.

Comment 6 Martin Betak 2017-04-04 11:00:56 UTC
Still pending fix for the spicevmc channels

Comment 7 Nisim Simsolo 2017-06-04 11:31:44 UTC
Verification builds:
ovirt-engine-4.1.3-0.1.el7
vdsm-4.19.16-1.el7ev.x86_64
qemu-kvm-rhev-2.6.0-28.el7_3.10.x86_64
libvirt-client-2.0.0-10.el7_3.9.x86_64


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