← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1289346] [NEW] images from unreachable HTTP source are silently discarded

 

Public bug reported:

When trying to import an image from an HTTP URL that happens to be
unresolvable or unreachable, glance reports it as queued with an exit-
code of 0 (success), but a following glance image-list shows, that the
new image is completely missing.

# glance image-create --name=foobar --disk-format=qcow2 --container-
format=bare --copy-from http://unreachable.example.org/yourimage.qcow2

...
| size             | 0                                    |
| status           | queued                               |
# echo $?
0

an explicit
# glance image-show $ID
shows status killed

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1289346

Title:
  images from unreachable HTTP source are silently discarded

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  When trying to import an image from an HTTP URL that happens to be
  unresolvable or unreachable, glance reports it as queued with an exit-
  code of 0 (success), but a following glance image-list shows, that the
  new image is completely missing.

  # glance image-create --name=foobar --disk-format=qcow2 --container-
  format=bare --copy-from http://unreachable.example.org/yourimage.qcow2

  ...
  | size             | 0                                    |
  | status           | queued                               |
  # echo $?
  0

  an explicit
  # glance image-show $ID
  shows status killed

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


Follow ups

References