← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1312833] Re: no error is reported or logged when we fail to create a volume on Image minDisk

 

*** This bug is a duplicate of bug 1241253 ***
    https://bugs.launchpad.net/bugs/1241253

This was fixed in Juno and is a duplicate of bug 1241253, I added the
potential icehouse-backport tag to the other bug.

** This bug has been marked a duplicate of bug 1241253
   Creation of Volume from Image should also validate the volume size is not smaller that min_disk Size of Image

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

Title:
  no error is reported or logged when we fail to create a volume on
  Image minDisk

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
   I tried to create a volume from an image and gave the volume size
  which is less than the glance parameter: --min-disk

  All I got was an error that I cannot create the volume. 
  there was nothing logged in horizon and since there is no image id it was really problematic trying to find anything in cinder logs. 

  I only managed to debug this by running the cinder create command in
  cli and getting this error:

  [root@orange-vdsf ~(keystone_admin)]# cinder create 4 --image-id 6175a441-8cb2-4d35-9b7d-241d51eaa270
  ERROR: Invalid input received: Image minDisk size 40 is larger than the volume size 4. (HTTP 400) (Request-ID: req-5b50c2db-19f1-40eb-8237-5f955a90caab)

  Can we add an error or print something to horizon log?

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


References