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-horizon | Assignee: | RHOS Maint <rhos-maint> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Amit Ugol <augol> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 4.0 | CC: | aortega, augol, jpichon, mrunge, yeylon | ||||||
| Target Milestone: | rc | Keywords: | 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: |
|
||||||||
this is fixed in Icehouse Created attachment 909489 [details]
pic
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 |
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: