kvm instance can't be launched with '-serial pty' on Arm platform

Bug #1389938 reported by Ming Lei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Low
Unassigned
nova (Ubuntu)
Expired
Undecided
Unassigned

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)

Tags: libvirt
Revision history for this message
Chuck Short (zulcss) wrote :

Which version of nova?

Changed in nova (Ubuntu):
status: New → Incomplete
Revision history for this message
Ming Lei (tom-leiming) wrote : Re: [Bug 1389938] Re: kvm instance can't be launched with '-serial pty'

On Fri, Nov 28, 2014 at 11:18 PM, Chuck Short <email address hidden> wrote:
> Which version of nova?

ubuntu@ms01a:~$ nova --version
2.17.0

Revision history for this message
Sean Dague (sdague) wrote :

Is this still an issue in OpenStack master? A lot of multi arch serial support has been added there.

summary: - kvm instance can't be launched with '-serial pty'
+ kvm instance can't be launched with '-serial pty' on Arm platform
Changed in nova:
status: New → Incomplete
tags: added: libvirt
Changed in nova:
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for nova (Ubuntu) because there has been no activity for 60 days.]

Changed in nova (Ubuntu):
status: Incomplete → Expired
Sean Dague (sdague)
Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.