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
We just can catch the exception, when the issue occurs. There is no api to ask for glance_user_quotas.
Attaching SFDC case, customer had similar issue, just to track when BZ is resolved
Same problem still happens on: RHOS5 over RHEL7 python-django-horizon-2014.1-7.el7ost.noarch
*** Bug 1136198 has been marked as a duplicate of this bug. ***
L is released, maybe a related feature might land during M.