yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58806
[Bug 1641988] Re: Math in server migrations API samples doesn't add up
Reviewed: https://review.openstack.org/397821
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=512ebfb1860e43d68e5e237d7259c97fd14aba65
Submitter: Jenkins
Branch: master
commit 512ebfb1860e43d68e5e237d7259c97fd14aba65
Author: int32bit <krystism@xxxxxxxxx>
Date: Wed Nov 16 00:38:57 2016 +0800
Fix data error in api samples doc
Change-Id: I8c4f49d18968636da7e76b51acc6053f169e3ae0
Closes-Bug: #1641988
** 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/1641988
Title:
Math in server migrations API samples doesn't add up
Status in OpenStack Compute (nova):
Fix Released
Bug description:
This is just a docs bug really because the server-migrations API
samples are in the API reference docs, but the bytes
processed/remaining/total doesn't really add up in these:
https://github.com/openstack/nova/blob/925dc7aa128d060e0d0f9275a3b1fcdc98eecbf3/doc/api_samples
/server-migrations/v2.23/migrations-get.json
"memory_total_bytes": 123456,
"memory_processed_bytes": 12345,
"memory_remaining_bytes": 120000,
Based on ^ the memory_remaining_bytes value should be 111111.
Similar:
"disk_total_bytes": 234567,
"disk_processed_bytes": 23456,
"disk_remaining_bytes": 230000,
Also:
https://github.com/openstack/nova/blob/925dc7aa128d060e0d0f9275a3b1fcdc98eecbf3/doc/api_samples
/server-migrations/v2.23/migrations-index.json
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1641988/+subscriptions
References