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

Bug #1312833 reported by Dafna Ron
6
This bug affects 1 person
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-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?

Revision history for this message
Julie Pichon (jpichon) wrote :

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

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.