Public bug reported:

 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?

** Affects: horizon
     Importance: Undecided
         Status: New

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

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