← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1389938] Re: kvm instance can't be launched with '-serial pty' on Arm platform

 

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

** Changed in: nova (Ubuntu)
       Status: Incomplete => Expired

-- 
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' on Arm platform

Status in OpenStack Compute (Nova):
  Incomplete
Status in nova package in Ubuntu:
  Expired

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