Self links don't contain tenant id for server entity in images response

Bug #990019 reported by Philip Knouff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Philip Knouff

Bug Description

 According to the API docs : the image details call looks like this

        "image" : { "id" : "52415800-8b69-11e0-9b19-734f5736d2a2", "name" : "My Server Backup", "updated" : "2010-10-10T12:00:00Z", "created" : "2010-08-10T12:00:00Z", "tenant_id" : "12345", "user_id" : "joe", "status" : "SAVING", "progress" : 80, "minDisk" : 5, "minRam" : 256,
        "server" : {

            "id": "52415800-8b69-11e0-9b19-734f335aa7b3", "links": [
            {
            "rel": "self",
            "href": "http://localhost/v2/1234/servers/52415800-8b69-11e0-9b19-734f335aa7b3"
            }, {
            "rel": "bookmark",
            "href": "http://localhost/1234/ servers/52415800-8b69-11e0-9b19-734f335aa7b3"
            }
            ]
            },
Where 1234 is the tenant id

  [progress:100, status:ACTIVE, OS-DCF:diskConfig:AUTO, links:[[rel:self, href:http://localhost/v2/1234/images/3a183017-1179-43cc-975d-c00a1ffce856], [rel:bookmark, href:http://localhost/1234/images/3a183017-1179-43cc-975d-c00a1ffce856], [rel:alternate, type:application/vnd.openstack.image, href:http://localhost/1234/images/3a183017-1179-43cc-975d-c00a1ffce856]], minDisk:10, minRam:256, id:3a183017-1179-43cc-975d-c00a1ffce856, updated:2012-04-09T15:07:00Z, created:2012-04-09T15:04:20Z, name:aaaimage,
            server:[id:8f90bdfe-cd47-443d-9972-47b4850720d2, links:[[rel:self, href:http://localhost/v2/servers/8f90bdfe-cd47-443d-9972-47b4850720d2],
            [rel:bookmark, href:http://localhost/8f90bdfe-cd47-443d-9972-47b4850720d2]]], metadata:[auto_disk_config:True, image_type:snapshot, user_id:84726, instance_uuid:8f90bdfe-cd47-443d-9972-47b4850720d2, os_type:linux]]

Changed in nova:
assignee: nobody → Philip Knouff (philip-knouff)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/6979

Devin Carlen (devcamcar)
Changed in nova:
milestone: none → folsom-1
Devin Carlen (devcamcar)
Changed in nova:
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-1 → 2012.2
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.