Bug 1347170

Summary: some logs display if keep selecting iso files in "change cd" menu quickly
Product: Red Hat Enterprise Linux 7 Reporter: Xiaodai Wang <xiaodwan>
Component: virt-viewerAssignee: Eduardo Lima (Etrunko) <elima>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 7.3CC: dblechte, elima, juzhou, mxie, mzhan, pgrunt, rbalakri, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-viewer-5.0-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 15:04:11 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:
Bug Depends On: 1413982    
Bug Blocks:    

Description Xiaodai Wang 2016-06-16 08:23:21 UTC
Description of problem:
some logs display if keep selecting iso files in "change cd" menu quickly.

Version-Release number of selected component (if applicable):
libgovirt-0.3.3-3.el7.x86_64
virt-viewer-2.0-8.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Make sure there is an ISO domain in RHEVM server and there are several iso files in the domain.
2. Get the ca file from ovirt server.
$ wget http://rhevm3.6-hp-dl360eg8-03/ca.crt
3. Connect a vm by remote-viewer with ovirt uri or connect to it by console.vv file.
$ remote-viewer --ovirt-ca-file=ca.crt ovirt://rhevm3.6-hp-dl360eg8-03/$your_vm
or 
$ remote-viewer console.vv
4. Type correct username and password and click OK if you run with ovirt uri.
5. After connecting to the guest, make sure "Change CD" menu displays.
6. Keep selecting different iso files quickly.

Actual results:
Some logs display in terminal.

(remote-viewer:6627): remote-viewer-CRITICAL **: ovirt_foreign_menu_activate_item_cb: assertion 'foreign_menu->priv->next_iso_name == NULL' failed

(remote-viewer:6627): Gtk-WARNING **: GtkWindow 0x1f55830 is mapped but visible child GtkMenu 0x1fb4de0 is not mapped

Expected results:
It's better to block other image operations when mounting/unmounting is not finished.

Additional info:

Comment 2 Pavel Grunt 2016-07-25 09:02:50 UTC
The menu is going to be removed upstream [0]. Considering that warnings are not causing issues, moving the bug to 7.4.

[0] https://www.redhat.com/archives/virt-tools-list/2016-July/msg00088.html

Comment 4 Xiaodai Wang 2017-03-24 08:13:43 UTC
I verified it with virt-viewer-5.0-2.el7.x86_64 by quickly selecting different iso files in 'change cd' dialog.

No logs as below:
(remote-viewer:6627): remote-viewer-CRITICAL **: ovirt_foreign_menu_activate_item_cb: assertion 'foreign_menu->priv->next_iso_name == NULL' failed

(remote-viewer:6627): Gtk-WARNING **: GtkWindow 0x1f55830 is mapped but visible child GtkMenu 0x1fb4de0 is not mapped

But still can see critical log as below. But I think this is generated by fast operation, and the log is acceptable and as expected.

(remote-viewer:19187): virt-viewer-CRITICAL **: ovirt_foreign_menu_set_current_iso_name_async: assertion 'foreign_menu->priv->next_iso_name == NULL' failed

So I'm going to move the bug from ON_QA to VERIFIED.

Comment 5 errata-xmlrpc 2017-08-01 15:04:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1849