Public bug reported: 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 ** Affects: nova Importance: Undecided Assignee: Alex Xu (xuhj) Status: New ** Changed in: nova Assignee: (unassigned) => Alex Xu (xuhj) -- 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): New 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 -- 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