← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1866373] [NEW] URLS in os-keypairs 'links' body are incorrect

 

Public bug reported:

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"
            }
        ]
    }

** Affects: nova
     Importance: Low
         Status: New

** Changed in: nova
   Importance: Undecided => Low

-- 
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):
  New

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


Follow ups