Public bug reported:

During a rebuild in nova-compute we get the image once here:

https://github.com/openstack/nova/blob/3b879f49b3969f1d168eabf1ca6076bf6473a4fe/nova/compute/manager.py#L2984

And then again here:

https://github.com/openstack/nova/blob/3b879f49b3969f1d168eabf1ca6076bf6473a4fe/nova/compute/manager.py#L3131

Which is wasteful since we can just pass the already-retrieved
image_meta from the first method to the second.

** Affects: nova
     Importance: Low
     Assignee: Matt Riedemann (mriedem)
         Status: In Progress


** Tags: performance rebuild

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

Title:
  redundant image GET calls during rebuild on compute

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  During a rebuild in nova-compute we get the image once here:

  
https://github.com/openstack/nova/blob/3b879f49b3969f1d168eabf1ca6076bf6473a4fe/nova/compute/manager.py#L2984

  And then again here:

  
https://github.com/openstack/nova/blob/3b879f49b3969f1d168eabf1ca6076bf6473a4fe/nova/compute/manager.py#L3131

  Which is wasteful since we can just pass the already-retrieved
  image_meta from the first method to the second.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to