Bug 670735

Summary: All running guest will open console when start virt-manager with setting "Open console only for all new domains"
Product: Red Hat Enterprise Linux 6 Reporter: Min Zhan <mzhan>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: bugproxy, dyuan, gren, llim, mzhan, vbian, veillard, xen-maint
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:47:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Don't always launch consoles for when starting app
none
virt-manager.log none

Description Min Zhan 2011-01-19 06:55:15 UTC
Description of problem:
In Edit -> Preference, setting Open console "only for all new domains". But run virt-manager all running guest will open their consoles.

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

# uname -a
Linux dhcp-65-85.nay.redhat.com 2.6.32-99.el6.x86_64 #1 SMP Fri Jan 14 10:46:00
EST 2011 x86_64 x86_64 x86_64 GNU/Linux

kernel-2.6.32-99.el6.x86_64
qemu-kvm-0.12.1.2-2.129.el6.x86_64
libvirt-0.8.7-1.el6.x86_64
virt-manager-0.8.6-1.el6

How reproducible:
Always

Steps to Reproduce:
1.Open virt-manager, Click Edit->Preference, set Open console only for all new domains, then close virt-manager
2.Re-open virt-manager again

  
Actual results:
3.Found virt-manager is open with all existing running guest consoles opened automatically

Expected results:
3. Only virt-manager is open. And when create a new guest, that guest console will be open. 

Additional info:

Comment 1 Cole Robinson 2011-01-21 19:42:16 UTC
Urgh, a dumb regression. I noticed this but forgot to fix it before the release. Upstream now:

http://hg.fedorahosted.org/hg/virt-manager/rev/f2b2601affd1

We need to get this in for 6.1

Comment 3 Cole Robinson 2011-02-24 16:51:00 UTC
Created attachment 480807 [details]
Don't always launch consoles for when starting app

Comment 4 Cole Robinson 2011-02-24 16:52:03 UTC
Fix build in virt-manager-0.8.6-2

Comment 6 Vivian Bian 2011-03-02 05:51:20 UTC
checked with 
virt-manager-0.8.6-2.el6.noarch

Steps:
1.Open virt-manager,start some domains. Click Edit->Preference, set Open console only for all new
domains, then close virt-manager
2.Re-open virt-manager again
3.create a new guest via virt-manager

Only virt-manager is open.The existing old domains' consoles didn't prompt up.  And when create a new guest, that guest console will be opened. 

So set bug status to VERIFIED

Comment 7 Cole Robinson 2011-03-17 14:43:12 UTC
*** Bug 688525 has been marked as a duplicate of this bug. ***

Comment 8 IBM Bug Proxy 2011-03-17 14:57:38 UTC
Created attachment 486031 [details]
virt-manager.log

Comment 9 IBM Bug Proxy 2011-03-22 10:31:06 UTC
------- Comment From santwana.samantray.com 2011-03-22 06:20 EDT-------
Hi,

I verified this issue on RHEL6.1 Beta(k.v-2.6.32-122.el6.x86_64) and the issue is solved.
We can close this bug now.

Thanks,
Santwana

Comment 10 errata-xmlrpc 2011-05-19 13:47:40 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0637.html