← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1462479] [NEW] unable to download blob by link after v3 POST into blob_list property

 

Public bug reported:

Steps to reproduce:

1. create an artifact with a bloblist property (for example, screenshots)
Let's assume that the created artifact has id=da4ef381-bfb3-4ff2-9da2-576d5b31f8a5.

2. perform a PUT/POST into the property

http://localhost:9292/v3/artifacts/myartifact/v2.0/da4ef381-bfb3-4ff2-9da2-576d5b31f8a5/screenshots

(make sure content-type=application/octet-stream)

3. Try to retrieve blob by the url in download_link

download_link =
/artifacts/myartifact/v2.0/da4ef381-bfb3-4ff2-9da2-576d5b31f8a5/screenshots/0/download

GET
http://localhost:9292/v3/artifacts/myartifact/v2.0/da4ef381-bfb3-4ff2-9da2-576d5b31f8a5/screenshots/0/download
result in:

<html>
 <head>
  <title>400 Bad Request</title>
 </head>
 <body>
  <h1>400 Bad Request</h1>
  Index is required<br /><br />


 </body>
</html>

** Affects: glance
     Importance: Undecided
         Status: New


** Tags: artifacts

** Tags added: artifacts

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

Title:
  unable to download blob by link after v3 POST into blob_list property

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

Bug description:
  Steps to reproduce:

  1. create an artifact with a bloblist property (for example, screenshots)
  Let's assume that the created artifact has id=da4ef381-bfb3-4ff2-9da2-576d5b31f8a5.

  2. perform a PUT/POST into the property

  http://localhost:9292/v3/artifacts/myartifact/v2.0/da4ef381-bfb3-4ff2-9da2-576d5b31f8a5/screenshots

  (make sure content-type=application/octet-stream)

  3. Try to retrieve blob by the url in download_link

  download_link =
  /artifacts/myartifact/v2.0/da4ef381-bfb3-4ff2-9da2-576d5b31f8a5/screenshots/0/download

  GET
  http://localhost:9292/v3/artifacts/myartifact/v2.0/da4ef381-bfb3-4ff2-9da2-576d5b31f8a5/screenshots/0/download
  result in:

  <html>
   <head>
    <title>400 Bad Request</title>
   </head>
   <body>
    <h1>400 Bad Request</h1>
    Index is required<br /><br />


   </body>
  </html>

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


Follow ups

References