yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58728
[Bug 1641988] [NEW] Math in server migrations API samples doesn't add up
Public bug reported:
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
** Affects: nova
Importance: Low
Status: Triaged
** Tags: api-ref low-hanging-fruit
--
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):
Triaged
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
Follow ups