← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1175286] Re: cannot block migrate old style instances libvirt complains

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-2

-- 
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/1175286

Title:
  cannot block migrate old style instances libvirt complains

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) grizzly series:
  Fix Committed

Bug description:
  I have recently upgraded from folsom to grizzly. I tried executing a
  block migration. This fails with libvirt complaining:

  qemuProcessPrepareChardevDevice:2635 : Unable to pre-create chardev
  file '/var/lib/nova/instances/instance-000000ae/console.log': No such
  file or directory

  In the logging of nova I can see nova creates a UUID style directory.
  Obviously this does not match where libvirt is looking. Upon failure
  "instance disappeared" (which is a very non descriptive error message)
  this UUID directory remains and is not cleaned up.

  I tracked it down to libvirt_utils.get_instance_path which also takes
  "forceold", but this parameter is not used at all anywhere in the
  code.

  So I see two possibilities: 1) use original path structure or 2) make
  libvirt aware that is should use another path

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