Unclear error message when user creates image with incorrect location url

Bug #1582128 reported by Timur Nurlygayanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Triaged
Low
Nisha Yadav

Bug Description

Steps To Reproduce:
1. Login to Horizon dashboard
2. Navigate to Project > Compute > Images
3. Click on "Create Image" button
4. Set name for this image = "test", Image Source = "Image Location", Image Location = "http://test2.com/this-image-doesn't-exists.qcow2", Format = "QCOW2"
5. Click on "Create Image"

Expected Result:
Horizon should validate the url and provide warning message about the incorrect url or at least show error message after "create image" dialog will be closed.

Observed Result:
The dialog window is active and we can see the following error on the background (and it is not clear why we can't create the image):
Error: Unable To Create New Image

Changed in horizon:
assignee: nobody → Marcellin Fom Tchassem (mf6510)
Changed in horizon:
assignee: Marcellin Fom Tchassem (mf6510) → nobody
Sirisha (sirisha-1)
Changed in horizon:
assignee: nobody → Sirisha (sirisha-1)
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/319839

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Rob Cresswell (<email address hidden>) on branch: master
Review: https://review.openstack.org/319839
Reason: Abandoned due to inactivity

Changed in horizon:
assignee: Sirisha (sirisha-1) → nobody
status: In Progress → New
tags: added: low-hanging-fruit
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

It is possible that the network configuration would permit glance to access the URL but not horizon. If such a check is added to horizon, then it should be a warning rather than a hard error.

tags: added: error-reporting
tags: added: glance
Changed in horizon:
importance: Undecided → Low
Emma Hogan (emma4eyes)
Changed in horizon:
assignee: nobody → Emma Hogan (emma4eyes)
assignee: Emma Hogan (emma4eyes) → nobody
Changed in horizon:
assignee: nobody → Vishal Manchanda (vishalmanchanda)
Revision history for this message
Vishal Manchanda (vishalmanchanda) wrote :

as no one was active on this bug, so assigned it to myself.

Nisha Yadav (ynisha11)
Changed in horizon:
assignee: Vishal Manchanda (vishalmanchanda) → Nisha Yadav (ynisha11)
Revision history for this message
Vishal Manchanda (vishalmanchanda) wrote :

will cover this bug in the refactor-error-message blueprint(https://blueprints.launchpad.net/horizon/+spec/refactor-error-messages)

Changed in horizon:
status: New → Triaged
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.