Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1091476

Summary: horizon: no error is reported or logged when we fail to create a volume on Image minDisk
Product: Red Hat OpenStack Reporter: Dafna Ron <dron>
Component: python-django-horizonAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: Amit Ugol <augol>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0CC: aortega, augol, jpichon, mrunge, yeylon
Target Milestone: rcKeywords: Triaged
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: python-django-horizon-2014.1-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-08 15:42:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
horizon log
none
pic none

Description Dafna Ron 2014-04-25 16:56:24 UTC
Created attachment 889836 [details]
horizon log

Description of problem:

 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?

Version-Release number of selected component (if applicable):

python-django-horizon-2013.2.3-1.el6ost.noarch

How reproducible:

100%

Steps to Reproduce:
1. create an image with --min-disk
2. from horizon, create a volume from the image 
3.

Actual results:

the size parameter is taken automatically - however there is a MinDisk parameter in the image and creating the volume is blocked with no error in the log or horizon itself. 

Expected results:

an error should be logged 

Additional info:

Comment 1 Matthias Runge 2014-05-21 09:01:52 UTC
this is fixed in Icehouse

Comment 2 Amit Ugol 2014-06-17 09:08:32 UTC
Created attachment 909489 [details]
pic

Comment 4 errata-xmlrpc 2014-07-08 15:42:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0855.html