← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1440120] [NEW] List images passing protected as a sort_key and a marker returns a 500 response

 

Public bug reported:

Overview:
When attempting a list images request passing 'protected' as a sort_key along with an image id as the marker returns a 500 response.

Steps to reproduce:
1) List images passing 'protected' as a sort_key and an image id as the marker via:
curl -i '<endpoint>/v2/images?sort_key=protected&marker=<image id>' -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: <token>"
2) Notice that a 500 response is returned

Expected:
A list of images sorted by the 'protected' property value starting with the image passed in as the marker

Actual:
A 500 response is returned

** 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/1440120

Title:
  List images passing protected as a sort_key and a marker returns a 500
  response

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

Bug description:
  Overview:
  When attempting a list images request passing 'protected' as a sort_key along with an image id as the marker returns a 500 response.

  Steps to reproduce:
  1) List images passing 'protected' as a sort_key and an image id as the marker via:
  curl -i '<endpoint>/v2/images?sort_key=protected&marker=<image id>' -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: <token>"
  2) Notice that a 500 response is returned

  Expected:
  A list of images sorted by the 'protected' property value starting with the image passed in as the marker

  Actual:
  A 500 response is returned

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


Follow ups

References