← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1333494] Re: os-agents api update return string that is different with index return integer

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-rc1

-- 
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/1333494

Title:
  os-agents api update return string that is different with index return
  integer

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  This bug found by Dan Smith in
  https://review.openstack.org/#/c/101995/

  First problem, there is inconsistent in api samples.

  create and index action return integer for agent id actually. But in api samples file the agent id is string.
  This is because api sample file provide a wrong fake data.

  Second problem, the update action return string for agent id.
  For back compatibility problem, we can't fix this problem for v2 and v2.1 api

  We only can fix this problem for v3 api. And we need to add translator
  for v2.1 api for this later.

  This problem will be fixed after v3 api feature exposed by
  microversion

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


References