← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1208680] Re: Don't inject files while resizing instance

 

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

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

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

Title:
  Don't inject files while resizing instance

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  As the code owner of method  'finish_migration' in libvirt driver, the
  files injecting operation is not necessary during resize, because they
  have already injected when creating the instance, so add a parameter
  to fix this issue.

  def finish_migration(self, context, migration, instance, disk_info,
                           network_info, image_meta, resize_instance,
                           block_device_info=None, power_on=True):
      ......
      # TODO(oda): injecting files is not necessary
      self._create_image(context, instance,
                             disk_mapping=disk_info['mapping'],
                             network_info=network_info,
                             block_device_info=None)

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