[Bug 954353] Re: Connection to graphics console doesn't work if graphics configuration uses listen attribute in libvirt XML config

2017-10-27 Thread Bug Watch Updater
Launchpad has imported 2 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=802773.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2012-03-13T13:35:30+00:00 Tuomas wrote:

Created attachment 569683
Attempt to fix reported problem related to graphics console with listen address 
defined

Description of problem:
If I define a VM with graphics with listen address other than 127.0.0.1, 
virt-manager can't connect to this console.

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

DistroRelease: Ubuntu 12.04
Package: virt-manager 0.9.1-1ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
Architecture: amd64
SourcePackage: virt-manager

How reproducible:
Always


Steps to Reproduce:

1. Define a VM with the following kind of graphics config in libvirt XML

   
  
   

2. Start the VM

3. Switch to the graphical console of the VM

Actual results:
virt-manager console stays black when trying to connect to the console. The 
Spice URI is incorrect, KVM is listening 10.10.0.16:5904 for Spice clients, not 
127.0.0.1:5904.

Relevant output of virt-manager --debug when connecting without the
attached patch applied:

2012-03-13 15:25:42,624 (console:1081): Starting connect process for 
proto=spice trans=None connhost=localhost connuser=None connport=None 
gaddr=127.0.0.1 gport=5904 gsocket=None
2012-03-13 15:25:42,624 (console:496): spice uri: spice://localhost?port=5904


Expected results:
virt-manager displays the console by connecting to 10.10.0.16:5904.

Relevant output of virt-manager --debug when connecting without the attached 
patch applied:
2012-03-13 15:26:36,552 (console:1081): Starting connect process for 
proto=spice trans=None connhost=10.10.0.16 connuser=None connport=5904 
gaddr=10.10.0.16 gport=5904 gsocket=None
2012-03-13 15:26:36,552 (console:496): spice uri: spice://10.10.0.16?port=5904


Additional info:
Attached is a small patch that fixes this issue for me. But please review 
carefully, I really don't know if this is the proper way to fix this issue.

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/954353/comments/0


On 2012-03-13T15:36:35+00:00 Cole wrote:

Thanks for the patch! Pushed now:

http://git.fedorahosted.org/git?p=virt-
manager.git;a=commit;h=422c0216d806f7c71e7197279c032b7f58a42db3

But after inspecting the code I realize there are a few corner cases
here where we aren't doing the right thing, so this code is about to be
refactored :)

Reply at: https://bugs.launchpad.net/ubuntu/+source/virt-
manager/+bug/954353/comments/1


** Changed in: virt-manager
   Status: Unknown => Won't Fix

** Changed in: virt-manager
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/954353

Title:
  Connection to graphics console doesn't work if graphics configuration
  uses listen attribute in libvirt XML config

To manage notifications about this bug go to:
https://bugs.launchpad.net/virt-manager/+bug/954353/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 954353] Re: Connection to graphics console doesn't work if graphics configuration uses listen attribute in libvirt XML config

2012-04-03 Thread Launchpad Bug Tracker
This bug was fixed in the package virt-manager - 0.9.1-1ubuntu3

---
virt-manager (0.9.1-1ubuntu3) precise; urgency=low

  * debian/patches/fork_before_gtk_import.patch: work around global menu
and appindicator not working correctly by forking before the gtk
import. (LP: #965318)
  * debian/patches/fix_error_reporting.patch: fix error reporting without
changing any strings as we are in UI freeze.
  * debian/patches/fix_accidental_recursion.patch: fix accidental recursion
when reporting grab keys.
  * debian/patches/fix_listen_address.patch: fix connecting when graphics
configuration uses graphics attribute. (LP: #954353)
 -- Marc Deslauriers marc.deslauri...@ubuntu.com   Tue, 03 Apr 2012 08:00:49 
-0400

** Changed in: virt-manager (Ubuntu)
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/954353

Title:
  Connection to graphics console doesn't work if graphics configuration
  uses listen attribute in libvirt XML config

To manage notifications about this bug go to:
https://bugs.launchpad.net/virt-manager/+bug/954353/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 954353] Re: Connection to graphics console doesn't work if graphics configuration uses listen attribute in libvirt XML config

2012-04-03 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/virt-manager

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/954353

Title:
  Connection to graphics console doesn't work if graphics configuration
  uses listen attribute in libvirt XML config

To manage notifications about this bug go to:
https://bugs.launchpad.net/virt-manager/+bug/954353/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 954353] Re: Connection to graphics console doesn't work if graphics configuration uses listen attribute in libvirt XML config

2012-03-13 Thread Tuomas Jormola
** Bug watch added: Red Hat Bugzilla #802773
   https://bugzilla.redhat.com/show_bug.cgi?id=802773

** Also affects: virt-manager via
   https://bugzilla.redhat.com/show_bug.cgi?id=802773
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/954353

Title:
  Connection to graphics console doesn't work if graphics configuration
  uses listen attribute in libvirt XML config

To manage notifications about this bug go to:
https://bugs.launchpad.net/virt-manager/+bug/954353/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 954353] Re: Connection to graphics console doesn't work if graphics configuration uses listen attribute in libvirt XML config

2012-03-13 Thread Tuomas Jormola
I further investigated this problem and reported my findings and patches to 
upstream.
https://bugzilla.redhat.com/show_bug.cgi?id=803087

** Bug watch added: Red Hat Bugzilla #803087
   https://bugzilla.redhat.com/show_bug.cgi?id=803087

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/954353

Title:
  Connection to graphics console doesn't work if graphics configuration
  uses listen attribute in libvirt XML config

To manage notifications about this bug go to:
https://bugs.launchpad.net/virt-manager/+bug/954353/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 954353] Re: Connection to graphics console doesn't work if graphics configuration uses listen attribute in libvirt XML config

2012-03-13 Thread Tuomas Jormola
Ups, ignore #2, wrong bug report

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/954353

Title:
  Connection to graphics console doesn't work if graphics configuration
  uses listen attribute in libvirt XML config

To manage notifications about this bug go to:
https://bugs.launchpad.net/virt-manager/+bug/954353/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs