Bug 1055522 - [RFE]: horizon: no error reported when image create is killed on quota
Summary: [RFE]: horizon: no error reported when image create is killed on quota
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 5.0 (RHEL 7)
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 9.0 (Mitaka)
Assignee: Matthias Runge
QA Contact: Ido Ovadia
URL:
Whiteboard: storage
: 1136198 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-20 13:24 UTC by Dafna Ron
Modified: 2018-12-05 16:59 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-30 06:48:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (102.76 KB, application/x-gzip)
2014-01-20 13:24 UTC, Dafna Ron
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1270817 0 None None None Never

Description Dafna Ron 2014-01-20 13:24:04 UTC
Created attachment 852737 [details]
logs

Description of problem:

failure to create image on quota has no error in horizon.

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

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

How reproducible:

100%

Steps to Reproduce:
1. set user_storage_quota = 2 in /etc/glance/glance-api.conf
2. restart glance-api sevice
3. try to create an image from UI

Actual results:

we fail to create the image with no error in horizon

Expected results:

if a user fails to create an image an error should be propagated 

Additional info: logs

only thing in horizon log is a debug level message:
 
2014-01-20 12:55:28,799 6827 DEBUG glanceclient.common.http curl -i -X HEAD -H 'X-Auth-Token: aaa753d0555528a143802d5380587d2e' -H 'Content-Type: application/octet-stream' -H 'User-Agent: python-glanceclient' http://10.35.160.135:9292/v1/images/96dbb6f8-2f20-437a-81bc-e823b2f83813
2014-01-20 12:55:28,841 6827 DEBUG glanceclient.common.http
HTTP/1.1 200 OK
content-length: 0
x-image-meta-id: 96dbb6f8-2f20-437a-81bc-e823b2f83813
date: Mon, 20 Jan 2014 12:55:28 GMT
x-image-meta-deleted: False
x-image-meta-container_format: bare
x-image-meta-protected: False
x-image-meta-min_disk: 0
x-image-meta-created_at: 2014-01-20T12:55:27
x-image-meta-size: 6442450945
x-image-meta-status: killed
location: http://10.35.160.135:9292/v1/images/96dbb6f8-2f20-437a-81bc-e823b2f83813
x-image-meta-is_public: False
x-image-meta-min_ram: 0
x-image-meta-owner: d4aaa7c237054d408a65f40bb4ee74d0
x-image-meta-updated_at: 2014-01-20T12:55:27
content-type: text/html; charset=UTF-8
x-openstack-request-id: req-0f073eb8-d85b-4a1d-ad51-fabe1ed40ee6
x-image-meta-disk_format: qcow2
x-image-meta-name: bla

Comment 1 Matthias Runge 2014-01-23 12:44:10 UTC
We just can catch the exception, when the issue occurs. There is no api to ask for glance_user_quotas.

Comment 2 Jeff Dexter 2014-05-07 15:39:19 UTC
Attaching SFDC case, customer had similar issue, just to track when BZ is resolved

Comment 3 Tzach Shefi 2014-07-10 13:31:42 UTC
Same problem still happens on:
RHOS5 over RHEL7 
python-django-horizon-2014.1-7.el7ost.noarch

Comment 4 Matthias Runge 2014-11-19 10:43:48 UTC
*** Bug 1136198 has been marked as a duplicate of this bug. ***

Comment 7 Matthias Runge 2015-11-10 08:54:38 UTC
L is released, maybe a related feature might land during M.


Note You need to log in before you can comment on or make changes to this bug.