[Shared images] is missing and wrong parameter

Bug #1565631 reported by Nam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Unassigned

Bug Description

Response parameters in List shared images [1] miss "shared_images" parameter.
And type of "image_id" parameter is "xsd:string", this value is wrong. It should be change "csapi:UUID".

[1] http://developer.openstack.org/api-ref-image-v1.html#listSharedImages-v1

Tags: api-ref glance
Nam (namnh)
Changed in openstack-api-site:
assignee: nobody → Nam (namnh)
Revision history for this message
abdul nizamuddin (abdul-nizamuddin) wrote :

@nam : are you working on this bug??..

Atsushi SAKAI (sakaia)
tags: added: glance
Revision history for this message
Nam (namnh) wrote :

@abdul nizamuddin : Yes, I am waitting to confirm from core-reviewer. Did you confure this bug ?

Revision history for this message
Atsushi SAKAI (sakaia) wrote :

@Nam
shared_images is OK.

But image_id is correct?
For seeing these URL, string seems correct.
Of course, typical string is a UUID.
https://github.com/openstack/glance/blob/master/glance/db/sqlalchemy/models.py#L151
http://docs.openstack.org/developer/glance/database_architecture.html

Revision history for this message
Nam (namnh) wrote :

@Atsushi SAKAI (sakaia)

However, follow this sample[1]. I saw type of "image_id" parameter is "csapi:UUID".

[1]http://developer.openstack.org/api-ref-image-v1.html#listSharedImages-v1

Revision history for this message
Atsushi SAKAI (sakaia) wrote :

The document describes
"Image ID stored through the image API. Typically a UUID."
By the way, image_id's Style is wrong "URI" should be plain.

Revision history for this message
Nam (namnh) wrote :

Yes. I got it. I will try to fix this bug.

Atsushi SAKAI (sakaia)
Changed in openstack-api-site:
status: New → Confirmed
Atsushi SAKAI (sakaia)
affects: openstack-api-site → glance
tags: added: api-ref
Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :
Changed in glance:
status: Confirmed → Fix Released
assignee: Nam (namnh) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.