Bug 1016445

Summary: virt-manager handles serial console incorrecttly
Product: [Fedora] Fedora Reporter: Miroslav Rezanina <mrezanin>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: berrange, crobinso, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-10 17:00:26 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:

Description Miroslav Rezanina 2013-10-08 07:56:25 UTC
Description of problem:

Following scenarios does not work
1) When running virt-manager, access to serial console of any guest from console is not possible as virt-manager holds session for the console.

2)If trying to view serial console in virt-manager when console is opened somewhere else, got error message (correct behavior). However, after closing
console session, virt-manager still reports active session.

3) When running virt-manager and access serial console using virsh console --force, virt-manager serial console tab is stuck even after closing another session (not reconnected).

Version-Release number of selected component (if applicable):
virt-manager-0.10.0-4.git79196cdf.fc20
libvirt-client 1.1.3-2.fc20

How reproducible:
Always

Steps to Reproduce:
1. Create and run guest with serial console
2. Try to access it from virt-manager or console

Actual results:
virt-manager create serial console session on background on start (guest or virt-manager, whatever happens first) and do not update it.

Expected results:
virt-manager create serial console session on demand, update when serial console
is requested again.

Additional info:

Comment 1 Cole Robinson 2013-11-09 22:55:21 UTC
Thanks for the report, upstream is fixed now to disconnect from the text console when the VM window is closed.

Comment 2 Cole Robinson 2013-11-10 17:00:26 UTC
Fixed in virt-manager-0.10.0-5.git1ffcc0cc.fc21