kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.09k stars 365 forks source link

Failed to create chardev (can't start VMs) #1167

Open lunarthegrey opened 7 years ago

lunarthegrey commented 7 years ago

Occurs on a fresh install of CentOS 7.3, Wok & Kimchi. After libvirtd is up and running and I create a guest from my template and attempt to start it, I get this error:

KCHVM0019E: Unable to start virtual machine test. Details: internal error: process exited while connecting to monitor: 2017-08-19T09:33:28.693928Z qemu-kvm: -chardev pty,id=charserial0: Failed to create chardev

I've done a lot of searching around but haven't been able to figure out how to solve it. Any ideas?

lunarthegrey commented 7 years ago

Found a fix.. Not too familiar with qemu so not sure why it works.

Have to add this to /etc/fstab

devpts /dev/pts devpts gid=5,mode=620 0 0

Then

mount -o remount /dev/pts

Anyone experience a similar issue?

kaitoan2000 commented 3 years ago

Found a fix.. Not too familiar with qemu so not sure why it works.

Have to add this to /etc/fstab

devpts /dev/pts devpts gid=5,mode=620 0 0

Then

mount -o remount /dev/pts

Anyone experience a similar issue?

Save my day.