← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1686266] Re: upload images with an invalid URL lead to a "Queued" status image forever

 

As discussed in today's meeting, Horizon should simply pass the URL to
Glance API and show the status which is "Queued". I don't see the
message "TypeError: response is undefined" on the modal with the
stable/ocata or master branch. In ocata, the modal closes and shows
"Error: Unable to create the image." in a popup. With the master branch,
there’s an error message "400 Bad Request The Store URI was malformed.
(HTTP 400)" shown on the modal and the user can change the url and
resubmit.

** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1686266

Title:
  upload images with an invalid URL lead to a "Queued" status image
  forever

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  Hi,

  We installed openstack ocata and found one problem when upload images
  with an invalid URL.

  [root@localhost ~]# openstack --version
  openstack 3.8.1

  [root@localhost ~]# rpm -qa | grep horizon
  puppet-horizon-10.3.0-1.el7.noarch
  python-django-horizon-11.0.0-1.el7.noarch

  When upload images with an invalid URL, it will lead to a "Queued" status image forever
  Steps to reproduce problem:
  1. "Images" -> "Create Image" -> "Source Type" -> "URL"
  2. "Location" -> any invalid URL, like http://test
  3. "Format" -> any
  4. click "Create Image"

  Then the dialog shows "TypeError: response is undefined" immediately.
  It can't continue to click "Create Image", only can close the dialog.

  But the "Images" page shows the image in "Queued" status forever.
  Only can delete it manually.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1686266/+subscriptions


References