
On Sun, Jun 15, 2014 at 09:01:29AM +0300, Patrick Chemla wrote: [. . .]
When trying to create a new VM using virt-manager I am getting :
Impossible de terminer l'installation : « internal error: process exited while connecting to monitor: Failed to create chardev »
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/create.py", line 1787, in do_install guest.start_install(meter=meter) File "/usr/share/virt-manager/virtinst/guest.py", line 403, in start_install noboot) File "/usr/share/virt-manager/virtinst/guest.py", line 467, in _create_guest dom = self.conn.createLinux(start_xml or final_xml, 0) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2897, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: internal error: process exited while connecting to monitor: Failed to create chardev
When tyring to create new VM with virt-install, I am getting:
virt-install --name eff1 --disk /home/kvmimages/eff1.img --cdrom /home/kvmimages/Fedora-20-x86_64-DVD.iso --memory 4096B ERROR Error: --memory 4096B: invalid literal for int() with base 10: '4096B'
This is an invalid invocation.
[root@eff1 kvmimages]# virt-install --name eff1 --disk /home/kvmimages/eff1.img --cdrom /home/kvmimages/Fedora-20-x86_64-DVD.iso --memory 4096 WARNING CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location.
Début d'installation... ERROR internal error: process exited while connecting to monitor: Failed to create chardev
I just tested on my Fedora-20 machine, trying to boot a Fedora-19 VM it works for me: $ qemu-img create -f qcow2 -o preallocation=metadata \ /export/vmimages/f19vm 4G $ virt-install --name f19vm --disk /export/vmimages/f19vm \ --cdrom /export/Fedora-Live-Desktop-x86_64-19-1.iso \ --memory 2048 Starting install... Creating domain... . . . But, I should mention that I'm using virt packages from Rawhide: $ rpm -q virt-install libvirt-daemon-kvm qemu-system-x86 virt-install-1.0.1-3.fc21.noarch libvirt-daemon-kvm-1.2.6-1.fc20.x86_64 qemu-system-x86-2.0.0-1.fc21.x86_64
When trying to run with virt-manager a VM created on another F20 server:
Erreur lors du démarrage du domaine: internal error: process exited while connecting to monitor: Failed to create chardev
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 127, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/domain.py", line 1355, in startup self._backend.create() File "/usr/lib64/python2.7/site-packages/libvirt.py", line 708, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error: process exited while connecting to monitor: Failed to create chardev
What is this chardev error?
Ensure you have correct permissions to allow QEMU to access disk images in your $HOME directory: $ chmod o+rx $HOME I guess that should resolve it. -- /kashyap