Bug 1031207 - --reconnect option not useful if you are disconnected by another client
Summary: --reconnect option not useful if you are disconnected by another client
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-viewer
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-15 21:54 UTC by Jonathon Jongsma
Modified: 2019-03-21 15:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-21 15:13:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Jonathon Jongsma 2013-11-15 21:54:30 UTC
If you start virt-viewer with the --reconnect option, and then get disconnected because another client attached to the same guest, virt-viewer will switch to the black screen that says "Waiting for guest domain to re-start"

It stays that way forever, even though the guest domain did not actually shut down.  Virt-viewer won't attempt to re-connect until the guest actually does shut down and restart again.

It would be nice if virt-viewer could discriminate between a disconnect that was caused by the guest shutting down and those that are not.  In the latter case, it could offer a 'Click here to try to reconnect now' option.

Comment 1 Jonathon Jongsma 2013-11-15 21:56:06 UTC
come to think of it, it would be nice if this 'click here to reconnect' behavior was standard for all non-shutdown disconnections, even if the --reconnect option was not specified.

Comment 2 Daniel Berrangé 2019-03-21 15:13:44 UTC
Virt-viewer doesn't have the knowledge to implemented the requested behaviour. It has no way of knowing why it got disconnected from the server.


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