commit c2e1133be15254747c207cce7805bf56f3cca6fa
Author: John Garbutt <email address hidden>
Date: Thu Feb 2 18:41:46 2017 +0000
Stop swap allocations being wrong due to MB vs GB
Swap is in MB, but allocations for disk are in GB.
We totally should claim disk in GB, for now lets just round up the swap
allocation to the next GB. While this is wasteful, its the only safe
answer to ensure you don't over commit resources on the node.
Updated the test so the swap is 1023MB, after rounding up this should
claim the same 1GB extra space for swap.
Reviewed: https:/ /review. openstack. org/428352 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c2e1133be15 254747c207cce78 05bf56f3cca6fa
Committed: https:/
Submitter: Jenkins
Branch: master
commit c2e1133be152547 47c207cce7805bf 56f3cca6fa
Author: John Garbutt <email address hidden>
Date: Thu Feb 2 18:41:46 2017 +0000
Stop swap allocations being wrong due to MB vs GB
Swap is in MB, but allocations for disk are in GB.
We totally should claim disk in GB, for now lets just round up the swap
allocation to the next GB. While this is wasteful, its the only safe
answer to ensure you don't over commit resources on the node.
Updated the test so the swap is 1023MB, after rounding up this should
claim the same 1GB extra space for swap.
Closes-Bug: #1659266
Change-Id: If50eab870b2c50 f40556681437805 74e1350a438