yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24934
[Bug 1389938] Re: kvm instance can't be launched with '-serial pty'
Which version of nova?
** Also affects: nova
Importance: Undecided
Status: New
** Changed in: nova (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1389938
Title:
kvm instance can't be launched with '-serial pty'
Status in OpenStack Compute (Nova):
New
Status in nova package in Ubuntu:
Incomplete
Bug description:
1, version
ubuntu@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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1389938/+subscriptions