Nova doesn't fail at API layer when image_size > volume_size with BFV

Bug #1883969 reported by Mohammed Naser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Medium
Mohammed Naser

Bug Description

When trying to boot an instance where the image size is larger than the volume size, there seems to be no 'protection' mechanism of stopping you from doing that, it ends up failing in the compute manager layer making it more complicated for the user to debug.

We should probably fail early in the API (just like we do for non-BFV instances).

Tags: api
Revision history for this message
Mohammed Naser (mnaser) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/736370

Changed in nova:
assignee: nobody → Mohammed Naser (mnaser)
status: New → In Progress
tags: added: api
Changed in nova:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.