[Bug 1659648] Re: Instance hung on first start, but works after being killed and restarted

Launchpad Bug Tracker 1659648 at bugs.launchpad.net
Wed Dec 20 04:17:35 UTC 2017


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

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

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

Title:
  Instance hung on first start, but works after being killed and
  restarted

Status in nova package in Ubuntu:
  Invalid
Status in qemu package in Ubuntu:
  Expired

Bug description:
  Description
  ===========
  A instance did not come up properly the first time it was started and had to be manually killed and then restarted through the API to get it to work.

  Steps To Reproduce
  ==================
  * I started an instance through the API
  * I noticed I couldn't connect to its floating IP.
  * I checked the nova compute node and the qemu-kvm process was running at 100% cpu, and its console log was empty.
  * I tried to shut it down through virsh on the compute node, but it didn't respond to that.
  * I had to kill it with kill <pid>.
  * After that I started the instance again through the API and it came up properly and everything is working.

  Expected Result
  ===============
  The instance starts correctly the first time.

  Actual Result
  =============
  I had to kill and restart the instance.

  This doesn't happen every time, but I have seen it more than one time.
  seems to be some kind of race.

  I'm at a bit of a loss as to how to debug this, but I can probably
  reproduce if there is some other information that would help debug it.

  Environment
  ===========
  This is with mitaka running on xenial using libvirt+kvm hypervisor, openvswitch networking, and no attached volumes. amd64.

  Package versions:
  ii  nova-common                          2:13.1.2-0ubuntu2                   all          OpenStack Compute - common files
  ii  nova-compute                         2:13.1.2-0ubuntu2                   all          OpenStack Compute - compute node base
  ii  nova-compute-kvm                     2:13.1.2-0ubuntu2                   all          OpenStack Compute - compute node (KVM)
  ii  nova-compute-libvirt                 2:13.1.2-0ubuntu2                   all          OpenStack Compute - compute node libvirt support
  ii  python-nova                          2:13.1.2-0ubuntu2                   all          OpenStack Compute Python libraries
  ii  python-novaclient                    2:3.3.1-2ubuntu1                    all          client library for OpenStack Compute API - Python 2.7
  ii  libvirt-bin                          1.3.1-1ubuntu10.6                   amd64        programs for the libvirt library
  ii  libvirt0:amd64                       1.3.1-1ubuntu10.6                   amd64        library for interfacing with different virtualization systems
  ii  python-libvirt                       1.3.1-1ubuntu1                      amd64        libvirt Python bindings

  Linux hayward-44 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47
  UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

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



More information about the Ubuntu-openstack-bugs mailing list