no error is reported or logged when we fail to create a volume on Image minDisk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
New
|
Undecided
|
Unassigned |
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-
ERROR: Invalid input received: Image minDisk size 40 is larger than the volume size 4. (HTTP 400) (Request-ID: req-5b50c2db-
Can we add an error or print something to horizon log?
This was fixed in Juno and is a duplicate of bug 1241253, I added the potential icehouse-backport tag to the other bug.