Bug 988021

Summary: CD images not displayed / GWT RPC Serizalization issue
Product: [Retired] oVirt Reporter: Lior Vernia <lvernia>
Component: ovirt-engine-webadminAssignee: Vojtech Szocs <vszocs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: urgent    
Version: 3.3CC: acathrow, bazulay, dougsland, ecohen, iheim, jbelka, j.bittner, lvernia, mgoldboi, michal.skrivanek, vszocs
Target Milestone: ---   
Target Release: 3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ux
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 07:33:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lior Vernia 2013-07-24 14:31:56 UTC
Description of problem:

CD images that exist in ISO domain don't appear in the attach CD to VM list box.


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

oVirt 3.3


How reproducible:

Always (for me).


Steps to Reproduce:
1. Create ISO domain.
2. Add CD image there.
3. Create a VM.

Actual results:

The attach CD list box is empty.


Expected results:

There should be an option to pick the CD image that exists in the domain.


Additional info:

The engine log doesn't display any error. On the contrary, a log message is displayed that shows that the CD image is actually retrieved by vdsbroker and irsbroker, and just isn't displayed in the UI.

Comment 1 Michal Skrivanek 2013-07-25 10:33:15 UTC
it seems to work, did you create/open the VM while the iso already existed on iso domain? The attach CD you mean in spice client or in user portal?

Comment 2 Lior Vernia 2013-07-25 11:36:07 UTC
Hey Michal,

I created the VM before the ISO existed on the domain, but obviously tried to attach the ISO to the CD drive of the VM after I put it in the domain (manually, not via image-uploader). By "attaching" I mean in either the Edit VM dialog or the Run Once dialog, both in the webadmin portal. The refresh button didn't help either. I have heard suggestions that this might have been due to the GWT upgrade.

Lior.

Comment 3 Michal Skrivanek 2013-07-25 15:17:47 UTC
per Vojtech this is a general GWT RPC serialization issue, assigning to him

Comment 4 Juan Hernández 2013-07-25 22:07:03 UTC
*** Bug 988407 has been marked as a duplicate of this bug. ***

Comment 5 Michal Skrivanek 2013-07-26 10:31:46 UTC
*** Bug 988751 has been marked as a duplicate of this bug. ***

Comment 6 Itamar Heim 2013-07-28 16:35:59 UTC
vojtech - fixed by now?

Comment 7 Michal Skrivanek 2013-07-30 10:18:50 UTC
workaround solution merged to master:
http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=30a941a4b3ed8e46053880a5fd6de325907a9b52

Einav, do want to track it for another fix or is this good enough?

Comment 8 Vojtech Szocs 2013-07-30 14:26:09 UTC
(In reply to Lior Vernia from comment #0)
> The engine log doesn't display any error. On the contrary, a log message is
> displayed that shows that the CD image is actually retrieved by vdsbroker
> and irsbroker, and just isn't displayed in the UI.

The error was in server.log - GWT RPC servlet (WebModePayloadSink:636) failed while attempting to serialize RepoImage business entity to be passed back to WebAdmin.

(In reply to Itamar Heim from comment #6)
> vojtech - fixed by now?

Yes, this issue is already fixed.

Juan's initial solution [http://gerrit.ovirt.org/#/c/17330/] was later reverted [http://gerrit.ovirt.org/#/c/17349/] because we found the root cause and fixed RepoImage entity itself [http://gerrit.ovirt.org/#/c/17352/].

Comment 9 Itamar Heim 2013-08-21 16:40:45 UTC
as RC is built, moving to ON_QA (hopefully did not catch incorrect bugs when doing this)

Comment 10 Itamar Heim 2013-09-23 07:33:13 UTC
closing as this should be in 3.3 (doing so in bulk, so may be incorrect)