Public bug reported: When running nova --debug list I get a list of servers, as expected. However, in the API response the string %(teanant_id)s is returned as part of the URL:
{ "OS-EXT-STS:task_state":null, "addresses":{ "172.16.0.0/16":[ { "OS-EXT-IPS-MAC:mac_addr":"fa:16:3e:9e:2f:84", "version":4, "addr":"172.16.2.194", "OS-EXT-IPS:type":"fixed" } ] }, "links":[ { "href":"http://x.x.x.x:8774/v2/%(tenant_id)s/v2/8fb83ba43aad454e8214aaf00d7c5781/servers/9d2b996e-c0de-4de6-9fe7-0d2b6d12e008", "rel":"self" }, { "href":"http://x.x.x.x:8774/v2/%(tenant_id)s/8fb83ba43aad454e8214aaf00d7c5781/servers/9d2b996e-c0de-4de6-9fe7-0d2b6d12e008", "rel":"bookmark" } ], "image":{ "id":"a93a8797-ff58-472d-991f-4257e2ce0e38", "links":[ { "href":"http://x.x.x.x:8774/v2/%(tenant_id)s/8fb83ba43aad454e8214aaf00d7c5781/images/a93a8797-ff58-472d-991f-4257e2ce0e38", "rel":"bookmark" } ] }, "OS-EXT-STS:vm_state":"stopped", "OS-EXT-SRV-ATTR:instance_name":"instance-000002b7", "OS-SRV-USG:launched_at":"2015-01-09T21:30:42.000000", "flavor":{ "id":"f40b9006-57e1-41b0-85f1-5d3c1e3c9f01", "links":[ { "href":"http://x.x.x.x:8774/v2/%(tenant_id)s/8fb83ba43aad454e8214aaf00d7c5781/flavors/f40b9006-57e1-41b0-85f1-5d3c1e3c9f01", "rel":"bookmark" } ] }, "id":"9d2b996e-c0de-4de6-9fe7-0d2b6d12e008", "security_groups":[ { "name":"default" } ], "user_id":"7ffb93b05a47416f857670595215cf28", "OS-DCF:diskConfig":"MANUAL", "accessIPv4":"", "accessIPv6":"", "OS-EXT-STS:power_state":4, "OS-EXT-AZ:availability_zone":"nova", "config_drive":"", "status":"SHUTOFF", "updated":"2015-01-09T21:33:26Z", "hostId":"a5375d976c9b63a11a32588abec4548037279c2ed758db08ac9bb29e", "OS-EXT-SRV-ATTR:host":"hypervisor02b", "OS-SRV-USG:terminated_at":null, "key_name":null, "OS-EXT-SRV-ATTR:hypervisor_hostname":"hypervisor02b", "name":"Foo", "created":"2015-01-09T21:30:35Z", "tenant_id":"8fb83ba43aad454e8214aaf00d7c5781", "os-extended-volumes:volumes_attached":[ ], "metadata":{ } } Keystone endpoint-list looks like: 8a90df89c7f94465aed159cc5dbe156e | Houston | http://x.x.x.x:8774/v2/%(tenant_id)s | http://x.x.x.x:8774/v2/%(tenant_id)s | http://x.x.x.x:8774/v2/%(tenant_id)s | bb130706320945cebaffb86787913c45 Nova endpoints returns: +-------------+-------------------------------------------------------------+ | nova | Value | +-------------+-------------------------------------------------------------+ | adminURL | http://x.x.x.x:8774/v2/8fb83ba43aad454e8214aaf00d7c5781 | | id | 71927fe5105d43e1a555892778d6c081 | | internalURL | http://x.x.x.x:8774/v2/8fb83ba43aad454e8214aaf00d7c5781 | | publicURL | http://x.x.x.x:8774/v2/8fb83ba43aad454e8214aaf00d7c5781 | | region | Houston | | serviceName | nova | +-------------+-------------------------------------------------------------+ I am running a straight package install on ubuntu 14.04. The cinder API with the same string matcher seems to be working as expected. ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1409846 Title: %(tenant_id)s returned in API response Status in OpenStack Compute (Nova): New Bug description: When running nova --debug list I get a list of servers, as expected. However, in the API response the string %(teanant_id)s is returned as part of the URL: { "OS-EXT-STS:task_state":null, "addresses":{ "172.16.0.0/16":[ { "OS-EXT-IPS-MAC:mac_addr":"fa:16:3e:9e:2f:84", "version":4, "addr":"172.16.2.194", "OS-EXT-IPS:type":"fixed" } ] }, "links":[ { "href":"http://x.x.x.x:8774/v2/%(tenant_id)s/v2/8fb83ba43aad454e8214aaf00d7c5781/servers/9d2b996e-c0de-4de6-9fe7-0d2b6d12e008", "rel":"self" }, { "href":"http://x.x.x.x:8774/v2/%(tenant_id)s/8fb83ba43aad454e8214aaf00d7c5781/servers/9d2b996e-c0de-4de6-9fe7-0d2b6d12e008", "rel":"bookmark" } ], "image":{ "id":"a93a8797-ff58-472d-991f-4257e2ce0e38", "links":[ { "href":"http://x.x.x.x:8774/v2/%(tenant_id)s/8fb83ba43aad454e8214aaf00d7c5781/images/a93a8797-ff58-472d-991f-4257e2ce0e38", "rel":"bookmark" } ] }, "OS-EXT-STS:vm_state":"stopped", "OS-EXT-SRV-ATTR:instance_name":"instance-000002b7", "OS-SRV-USG:launched_at":"2015-01-09T21:30:42.000000", "flavor":{ "id":"f40b9006-57e1-41b0-85f1-5d3c1e3c9f01", "links":[ { "href":"http://x.x.x.x:8774/v2/%(tenant_id)s/8fb83ba43aad454e8214aaf00d7c5781/flavors/f40b9006-57e1-41b0-85f1-5d3c1e3c9f01", "rel":"bookmark" } ] }, "id":"9d2b996e-c0de-4de6-9fe7-0d2b6d12e008", "security_groups":[ { "name":"default" } ], "user_id":"7ffb93b05a47416f857670595215cf28", "OS-DCF:diskConfig":"MANUAL", "accessIPv4":"", "accessIPv6":"", "OS-EXT-STS:power_state":4, "OS-EXT-AZ:availability_zone":"nova", "config_drive":"", "status":"SHUTOFF", "updated":"2015-01-09T21:33:26Z", "hostId":"a5375d976c9b63a11a32588abec4548037279c2ed758db08ac9bb29e", "OS-EXT-SRV-ATTR:host":"hypervisor02b", "OS-SRV-USG:terminated_at":null, "key_name":null, "OS-EXT-SRV-ATTR:hypervisor_hostname":"hypervisor02b", "name":"Foo", "created":"2015-01-09T21:30:35Z", "tenant_id":"8fb83ba43aad454e8214aaf00d7c5781", "os-extended-volumes:volumes_attached":[ ], "metadata":{ } } Keystone endpoint-list looks like: 8a90df89c7f94465aed159cc5dbe156e | Houston | http://x.x.x.x:8774/v2/%(tenant_id)s | http://x.x.x.x:8774/v2/%(tenant_id)s | http://x.x.x.x:8774/v2/%(tenant_id)s | bb130706320945cebaffb86787913c45 Nova endpoints returns: +-------------+-------------------------------------------------------------+ | nova | Value | +-------------+-------------------------------------------------------------+ | adminURL | http://x.x.x.x:8774/v2/8fb83ba43aad454e8214aaf00d7c5781 | | id | 71927fe5105d43e1a555892778d6c081 | | internalURL | http://x.x.x.x:8774/v2/8fb83ba43aad454e8214aaf00d7c5781 | | publicURL | http://x.x.x.x:8774/v2/8fb83ba43aad454e8214aaf00d7c5781 | | region | Houston | | serviceName | nova | +-------------+-------------------------------------------------------------+ I am running a straight package install on ubuntu 14.04. The cinder API with the same string matcher seems to be working as expected. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1409846/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp