← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1465443] Re: Hyper-V: Live migration does not copy configdrive to new host

 

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

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

Title:
  Hyper-V: Live migration does not copy configdrive to new host

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) kilo series:
  Fix Released

Bug description:
  Performing a live migration on Hyper-V does not copy the configdrive
  to the destination. This can cause trouble, since the configdrive is
  esential. For example, performing a second live migration on the same
  instance will automatically result in an exception, since it tries to
  copy the configdrive (file does not exist) to another destination.

  This is caused by incorrectly copying the configdrive (wrong
  destination path).

  Log sample, after a LOG.info was introduced, in order to observe the
  error:

  2015-06-15 15:43:31.242 14768 INFO nova.virt.hyperv.pathutils [req-a85a92e9-b562-4398-b2ae-8ccbf2d1f525 70a2dc588be9409c9aea370aa119391f 19c78e5db79444e7ac33c5af18ae29fc - - -] Copy file from C:\OpenStack\Instances\instance-00005970\configdrive.iso to weighty-secreta
  2015-06-15 15:43:31.273 14768 INFO nova.virt.hyperv.serialconsoleops [req-a85a92e9-b562-4398-b2ae-8ccbf2d1f525 70a2dc588be9409c9aea370aa119391f 19c78e5db79444e7ac33c5af18ae29fc - - -] Stopping instance instance-00005970 serial console handler.
  2015-06-15 15:43:31.289 14768 INFO nova.virt.hyperv.pathutils [req-a85a92e9-b562-4398-b2ae-8ccbf2d1f525 70a2dc588be9409c9aea370aa119391f 19c78e5db79444e7ac33c5af18ae29fc - - -] Copy file from C:\OpenStack\Instances\instance-00005970\console.log to \\weighty-secreta\C$\OpenStack\Instances\instance-00005970\console.log

  The log sample shows the incorrect copy of configdrive.iso from the
  source ``C:\OpenStack\Instances\instance-00005970\configdrive.iso`` to
  the destination ``weighty-secreta``, which is incorrect (correct:
  ``\\weighty-
  secreta\C$\OpenStack\Instances\instance-00005970\configdrive.iso``) .
  The console.log file paths are correct and it is copied correctly.

  Even though the configdrive.iso destination is wrong, the copy
  operation is completed succesfully, which is why no exception is
  raised.

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


References