Bug 816748 - virt-manager throws an internal error when trying to create new virtual machine
Summary: virt-manager throws an internal error when trying to create new virtual machine
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 17
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-26 21:02 UTC by Jared Smith
Modified: 2012-06-06 20:05 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-06 20:05:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jared Smith 2012-04-26 21:02:13 UTC
Description of problem:

virt-manager throws an internal error when trying to create a new virtual machine.

I get the following message: 

Unable to complete install: 'internal error Process exited while reading console log output: char device redirected to /dev/pts/3
Could not allocate dynamic translator buffer
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1911, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1239, in start_install
    noboot)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1307, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2397, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/3
Could not allocate dynamic translator buffer

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

virt-manager-0.9.1-2.fc17.noarch
qemu-kvm-1.0-17.fc17.x86_64
libvirt-0.9.11-1.fc17.x86_64


How reproducible:

Very

Steps to Reproduce:
1.  Start virt-manager
2.  Create a new VM
3.  See the error message
  
Actual results:

Pasted above.

Expected results:

A newly created VM

Additional info:

Comment 1 Jared Smith 2012-04-26 21:44:06 UTC
Turns out this was user error on my part -- I didn't have the virtualization extensions turned on in my BIOS.  (Now I feel like an idiot.)

It seems I'm not the only person who has encountered this issue, though.  Would it be possible to have virt-manager probe for the processor extensions, and give a better warning message if it doesn't find them enabled?

Comment 2 Cole Robinson 2012-06-06 20:05:57 UTC
Hmm, we should already be detecting this situation fairly well, and warn about it up front in the New VM wizard.

Jared, if you feel inclined to test, please turn off virt extensions, reboot, and provide the following info:

dmesg
sudo virsh --connect qemu:///system capabilities
cat /proc/cpuinfo

And also the full

/var/log/libvirt/qemu/$vmname.log

After the failed guest creation.

Closing as WORKSFORME until then.


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