← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1591004] [NEW] Unable to download image with no checksum when cache is enabled

 

Public bug reported:

When cache middleware is enabled in the pipeline (default with devstack)
and you create an image using HTTP URL, the image cannot be downloaded
the second time.

Steps
1. glance image-create --name cirros_test --disk-format raw --container-format bare
2. glance location-add --url "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img"; <IMAGE_ID>
3. glance image-download f6c43e4f-0927-4484-baf4-681c96b950fc > /tmp/1
  [Success]
4. glance image-download f6c43e4f-0927-4484-baf4-681c96b950fc > /tmp/2
   Unable to download image 'f6c43e4f-0927-4484-baf4-681c96b950fc'. (HTTPInternalServerError (HTTP 500))

** Affects: glance
     Importance: Undecided
     Assignee: Sabari Murugesan (smurugesan)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Sabari Murugesan (smurugesan)

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

Title:
  Unable to download image with no checksum when cache is enabled

Status in Glance:
  New

Bug description:
  When cache middleware is enabled in the pipeline (default with
  devstack) and you create an image using HTTP URL, the image cannot be
  downloaded the second time.

  Steps
  1. glance image-create --name cirros_test --disk-format raw --container-format bare
  2. glance location-add --url "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img"; <IMAGE_ID>
  3. glance image-download f6c43e4f-0927-4484-baf4-681c96b950fc > /tmp/1
    [Success]
  4. glance image-download f6c43e4f-0927-4484-baf4-681c96b950fc > /tmp/2
     Unable to download image 'f6c43e4f-0927-4484-baf4-681c96b950fc'. (HTTPInternalServerError (HTTP 500))

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


Follow ups