[Bug 1389938] [NEW] kvm instance can't be launched with '-serial pty'

Ming Lei 1389938 at bugs.launchpad.net
Thu Nov 6 03:12:03 UTC 2014


Public bug reported:

1, version
ubuntu at ms01a:~/ming$ uname -a
Linux ms01a 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:10:54 UTC 2014 aarch64 aarch64 aarch64 GNU/Linux


2, kvm instance can't be launched, and see below failure log in /var/log/nova/nova-compute.log:

2014-11-05 21:58:58.480 781 INFO nova.compute.manager [-] [instance: 1e3bc825-b44f-47ee-b438-2fc06b133f5d] During sync_power_state the instance has a pending task. Skip.
2014-11-05 21:58:58.697 781 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: internal error: early end of file from monitor: possible problem:
qemu-system-aarch64: -serial pty: Failed to create chardev
qemu: could not connect serial device to character backend 'pty'


3, once I have done below change, the problem is fixed:

nova/virt/libvirt/driver.py:
            #consolepty = vconfig.LibvirtConfigGuestSerial()
            #consolepty.type = "pty"
            #guest.add_device(consolepty)

** Affects: nova (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1389938

Title:
  kvm instance can't be launched with '-serial pty'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1389938/+subscriptions



More information about the Ubuntu-server-bugs mailing list