Unable to run Virtual Machine

Bug #217311 reported by Omega
44
This bug affects 5 people
Affects Status Importance Assigned to Milestone
virt-manager (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Hardy by Jeremy Visser

Bug Description

Binary package hint: virt-manager

An error is displayed in the "Virtual Machine Console" dialog:

"TCP/IP error: VNC connection to hypervisor host got refused or disconnected!"

You can see the bootup flicker before it shows the error briefly and then returns to the normal "off state" of the dialog. I had to take a screenshot to even see this message.

I do know that I unsuccesfully set up an ISO image as a CD drive, and was given an error. Although the drive still shows up?

KVM is seeming less and less ready for major release the more I play with it. I hope the next little while brings about some significant usability updates because this is a feature I am hoping to use on release! :D

Revision history for this message
Christopher Nelson (nadiasvertex) wrote :

I currently experience this same problem. I am running the full release of Ubuntu 8.04, x864-64 with all the latest updates installed as of today.

Revision history for this message
Robert Rittenhouse (rrittenhouse) wrote :

I am running 32bit Ubuntu 8.10 and I installed using the meta packages: ubuntu-virt-mgmt & ubuntu-virt-server.

When I attach an ISO to an Ubuntu VM (thats all I've tested) it flashes the TCP/IP Error message and the VM stops running. When I first installed Ibex and the ubuntu-virt-server & manager I successfully installed Ubuntu Ibex in a VM using an ISO.

Hope this helps.

Revision history for this message
Norman Hooper (kaapstorm) wrote :

I have experienced the same problem, but it occurs much later than bootup. (Perhaps it should be logged as a different bug.)

My host is Ubuntu 9.04 amd64. My guest is 32-bit Windows XP. Same meta packages as Robert Rittenhouse.

I have tried closing and opening the machine from the Virtual Machine Manager, and pausing and unpausing it. Neither had any effect. But I could tell by pinging it, and by opening a folder shared by it over Samba, that other network connectivity was fine.

This workaround from Doug Bunger worked for me. [http://dougbunger.blogspot.com/2008/11/kvm-tcpip-error-vnc.html] In my case, I did this ("windowsxp" is the domain name, listed in the Virtual Machine Manager):

  $ sudo apt-get install xvnc4viewer
  $ virsh vncdisplay windowsxp
  Connecting to uri: qemu:///system
  :0
  $ vncviewer 127.0.0.1:0

I hope that helps.

Revision history for this message
costinel (costinel) wrote :

I can confirm this on ubuntu 9.04

Linux desktop 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux
ii kvm 1:84+dfsg-0ubuntu12.3 Full virtualization on i386 and amd64 hardwa
ii kvm-pxe 5.4.3+dfsg-0.2ubuntu1 PXE ROM's for KVM
ii libvirt-bin 0.6.1-0ubuntu5.1 the programs for the libvirt library
ii libvirt0 0.6.1-0ubuntu5.1 library for interfacing with different virtu
ii python-libvirt 0.6.1-0ubuntu5.1 libvirt Python bindings
ii python-virtinst 0.400.1-2ubuntu2 Programs to create and clone virtual machine
ii python-virtkey 0.50ubuntu2 Library to emulate keyboard keypresses.
ii virt-manager 0.6.1-1ubuntu4 desktop application for managing virtual mac

logging off and on solves the problem

Revision history for this message
Budiwijaya (budiwijaya) wrote :

Yup this bug happens to virt-manager in karmic.

ii virt-manager 0.7.0-3ubuntu1

The KVM server I use is hardy with backports repo.

kvm 1:84+dfsg-0ubuntu12.4~hardy1
libvirt-bin 0.6.1-0ubuntu5.1~hardy1
libvirt0 0.6.1-0ubuntu5.1~hardy1
python-libvirt 0.6.1-0ubuntu5.1~hardy1

Still no found solution till now.

Revision history for this message
Julian Alarcon (julian-alarcon) wrote :

Hey costinel, you said:
«logging off and on solves the problem»

From what are you logging off and on to solve this problem (Workaround) ??

Revision history for this message
Julian Alarcon (julian-alarcon) wrote :

I was chatting with some KVM/virt-manager developers, the problem is in CentOS (my virtual host).

Revision history for this message
costinel (costinel) wrote :

Julián - from the host GUI.

Revision history for this message
Yvan Arnaud (yvanarnaud) wrote :

Hi, I had this problem too, installed the packages (python-virtinst, virt-manager) from Rico Tzschichholz's unstable packages (https://launchpad.net/~ricotz/+archive/unstable/+packages) on my karmic workstation : it worked for me.

Revision history for this message
Julian Alarcon (julian-alarcon) wrote :

New info.
When was chatting with the KVM developers, they told me about some bug on CentOS.. This was the reason for the error..

But, since some weeks ago I had been using this repo:
https://launchpad.net/~dnjl/+archive/virtualization

And, in one of the last updates of virt-manager the bug has gone.. So.... The problem is on virt-manager..

Revision history for this message
Budiwijaya (budiwijaya) wrote :

Hi, after I tried to install PPA packages of virt-manager from https://launchpad.net/~dnjl/+archive/virtualization on my karmic laptop, It work for me too. Thanks Julián Alarcón for the tip.

Revision history for this message
brainstorm (brainstorm) wrote :

dnjl repository seems down ATM... looks like it's just a matter of bumping the release (from 0.7 to 0.8).

brainstorm (brainstorm)
Changed in virt-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Baumann (dnjl) wrote :

@brainstorm:
please dont use my old Private Repositories (on skb.dyndns.biz) - they are no more available since I've moved all this to Launchpad

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

This should be fixed in the virt-manager version that is in Lucid. Closing this bug.

Changed in virt-manager (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.