No clear error message is shown in horizon when uploading image failes

Bug #1275043 reported by Gustavo Knüppe
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Expired
Low
Unassigned

Bug Description

I have an image to be uploaded in glance with 15GB of size.
The upload is done by informing the URL.. So, horizon initiate a task in glance to upload the image.
The problem occurs when there is no enough free space in the directory where the image will be placed.
In this case, horizon simply change the task to "deleted".. No information is shown saying why it was deleted.
Horizon should better show error messages when tasks fails.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/73644

Changed in horizon:
assignee: nobody → Leandro Ignacio Costantino (leandro-i-costantino)
status: New → In Progress
Revision history for this message
Matthias Runge (mrunge) wrote :

Sadly, the proposed fix just shows the exception to the user, which may lead to information disclosure.

IMHO we should fix it in a different way.

Changed in horizon:
milestone: none → icehouse-3
Revision history for this message
Matthias Runge (mrunge) wrote :

The discussion from the mailing list can be found here: http://lists.openstack.org/pipermail/openstack/2014-January/004651.html

Revision history for this message
Leandro Ignacio Costantino (leandro-i-costantino) wrote :

Agree. Actually i missed that ML topic.
I think that we should wait to fix this, because the message is also being translate on glance so won't be that easy.
Better to wait until glance expose some kind of error code or something like that.

Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-3 → icehouse-rc1
Revision history for this message
Tzach Shefi (tshefi) wrote :

In my case Havana setup, also tested image upload with insufficient disk space.

Uploaded image from Horizon UI source is ISO file, in bug description upload source is URL.
Failed to upload image but got generic Horizon "Something went wrong" error.

Upload from Glance CLI failed with an informative error message:
Image storage media is full: There is not enough disk space on the image storage media.

David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → Low
milestone: icehouse-rc1 → next
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

I can't reproduce this issue on master

Changed in horizon:
status: In Progress → Incomplete
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: next → none
assignee: Leandro Ignacio Costantino (leandro-i-costantino) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Dashboard (Horizon) because there has been no activity for 60 days.]

Changed in horizon:
status: Incomplete → Expired
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.