← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1241253] Re: Creation of Volume from Image should also validate the volume size is not smaller that min_disk Size of Image

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1241253

Title:
  Creation of Volume from Image should also validate the volume size is
  not smaller that min_disk Size of Image

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Steps to reproduce:

  1. Create an image and specify min size to 10GB
  2. Create a volume from image,  using the image from step#1 and set the size to 1gb
  3. Create the volume

  Actual Output: Error message - Unable to create a volume

  In the log: Cinder returns an error " Invalid input received: Image
  minDisk size 10 is larger than the volume size 1. " we should be
  displaying this message rather than a generic error message.

  
  We should be adding validation for the minDisk and take this into consideration when setting the default volume size

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