Bug #4134

Take care of the virtual subdir item in pithos object-get

Added by Stavros Sachtouris almost 11 years ago. Updated over 10 years ago.

Status:Closed Start date:07/17/2013
Priority:Medium Due date:07/31/2013
Assignee:Stavros Sachtouris % Done:

100%

Category:kamaki Spent time: 1.00 hour
Target version:v0.10 Estimated time:1.00 hour

Description

Example that exposes the bug:

$ kamaki file touch pithos:f1/f2/obj
$ kamaki file list pithos --prefix=f1 --delimiter=/
'content_type'
|  <type 'exceptions.KeyError'>, -d for debug info

Reason: object GET returns a {'subdir': <path>} item in the list of objects, when called with delimiter.

See: http://docs.openstack.org/api/openstack-object-storage/1.0/content/pseudo-hierarchical-folders-directories.html

History

#1 Updated by Stavros Sachtouris over 10 years ago

  • Due date changed from 07/18/2013 to 07/31/2013
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Stavros Sachtouris over 10 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF