Disk resource management broken due to unit confusion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Confirmed
|
Undecided
|
Dmitrii Zagorodnov |
Bug Description
Disk resource management is broken because disk space is mostly measured in Gb, but a couple of places in the NC code measure it in Mb, and the two don't mix well.
The two places are:
1) When the instance filesystem is queried for available space, the result (in bytes) is divided by BYTES_PER_
2) in handlers_default, doDescribeResou
Since the definition of SWAP_SIZE is a fixed 512Mb, and everything else is measured in Gb, I've further hacked my version to count 1Gb for swap when SWAP_SIZE is less than 1024Mb (always, for now...)
Changed in eucalyptus: | |
assignee: | nobody → Dmitrii Zagorodnov (dmitrii) |
Changed in eucalyptus: | |
status: | New → Confirmed |
This issue is now being tracked upstream at http:// eucalyptus. atlassian. net/browse/ EUCA-2750
Please watch that issue for further updates.