yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81873
[Bug 1866373] Re: URLS in os-keypairs 'links' body are incorrect
Reviewed: https://review.opendev.org/711662
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f31efe0a0e3f194ca415ac41c225f63dbb69267b
Submitter: Zuul
Branch: master
commit f31efe0a0e3f194ca415ac41c225f63dbb69267b
Author: Stephen Finucane <stephenfin@xxxxxxxxxx>
Date: Fri Mar 6 16:52:14 2020 +0000
Fix os-keypairs pagination links
The API URL is '/os-keypairs', not '/keypairs'. Attempting to use these
pagination links as-is will result in a HTTP 404 (Not Found).
Change-Id: Ic04568caecc138e6016418f6878d031c4a0d3fb4
Signed-off-by: Stephen Finucane <stephenfin@xxxxxxxxxx>
Closes-bug: #1866373
** Changed in: nova
Status: In Progress => Fix Released
--
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/1866373
Title:
URLS in os-keypairs 'links' body are incorrect
Status in OpenStack Compute (nova):
Fix Released
Bug description:
Similar to https://bugs.launchpad.net/nova/+bug/1864428, the URLs in
the 'links' element of the response are incorrect. They read
'/keypairs', not '/os-keypairs'. From the current api-ref
(2020-03-06):
{
"keypairs": [
{
"keypair": {
"fingerprint": "7e:eb:ab:24:ba:d1:e1:88:ae:9a:fb:66:53:df:d3:bd",
"name": "keypair-5d935425-31d5-48a7-a0f1-e76e9813f2c3",
"type": "ssh",
"public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCkF3MX59OrlBs3dH5CU7lNmvpbrgZxSpyGjlnE8Flkirnc/Up22lpjznoxqeoTAwTW034k7Dz6aYIrZGmQwe2TkE084yqvlj45Dkyoj95fW/sZacm0cZNuL69EObEGHdprfGJQajrpz22NQoCD8TFB8Wv+8om9NH9Le6s+WPe98WC77KLw8qgfQsbIey+JawPWl4O67ZdL5xrypuRjfIPWjgy/VH85IXg/Z/GONZ2nxHgSShMkwqSFECAC5L3PHB+0+/12M/iikdatFSVGjpuHvkLOs3oe7m6HlOfluSJ85BzLWBbvva93qkGmLg4ZAc8rPh2O+YIsBUHNLLMM/oQp Generated-by-Nova\n"
}
}
],
"keypairs_links": [
{
"href": "http://openstack.example.com/v2.1/6f70656e737461636b20342065766572/keypairs?limit=1&marker=keypair-5d935425-31d5-48a7-a0f1-e76e9813f2c3",
"rel": "next"
}
]
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1866373/+subscriptions
References