← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1818798] [NEW] Should not skip volume_size check for bdm.image_id == image_ref case

 

Public bug reported:

The volume size should be checked in bdm.sourece_type=image, dest_type=volume case no matter what the image
is, but in:
https://github.com/openstack/nova/blob/5a09c81af3b438ecbcf27fa653095ff55abb3ed4/nova/compute/api.py#L1452-L1453
we skipped the check if the bdm.image_id == image_ref, it was meant to skip only the _get_image() check as it
is already checked before, but it skipped the volume_size check too.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  Should not skip volume_size check for bdm.image_id == image_ref case

Status in OpenStack Compute (nova):
  New

Bug description:
  The volume size should be checked in bdm.sourece_type=image, dest_type=volume case no matter what the image
  is, but in:
  https://github.com/openstack/nova/blob/5a09c81af3b438ecbcf27fa653095ff55abb3ed4/nova/compute/api.py#L1452-L1453
  we skipped the check if the bdm.image_id == image_ref, it was meant to skip only the _get_image() check as it
  is already checked before, but it skipped the volume_size check too.

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


Follow ups