← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1298769] [NEW] Nova API Sample file and its test for get keypair API is wrong

 

Public bug reported:

Problem -
API sample file for Nova get keypair API is wrong. It contain the response sample of list keypair API.

/nova/tests/integrated/api_samples/os-keypairs/keypairs-get-resp.json.tpl
/nova/tests/integrated/api_samples/os-keypairs/keypairs-get-resp.xml.tpl

Their API sample test cases are also written for list keypair APIs thats
why those are being passed in test results. This issue is in  both V2
and V3 APIs sample.

Solution-
We need to make this as list keypair and add new for get keypair API.

** 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/1298769

Title:
  Nova API Sample file and its test for get keypair API is wrong

Status in OpenStack Compute (Nova):
  New

Bug description:
  Problem -
  API sample file for Nova get keypair API is wrong. It contain the response sample of list keypair API.

  /nova/tests/integrated/api_samples/os-keypairs/keypairs-get-resp.json.tpl
  /nova/tests/integrated/api_samples/os-keypairs/keypairs-get-resp.xml.tpl

  Their API sample test cases are also written for list keypair APIs
  thats why those are being passed in test results. This issue is in
  both V2 and V3 APIs sample.

  Solution-
  We need to make this as list keypair and add new for get keypair API.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1298769/+subscriptions


Follow ups

References