free_disk_gb is not correctly, because swap disk size is not minus.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Rajesh Tailor |
Bug Description
1. code in compute/
def _update_usage(self, usage, sign=1):
mem_usage = usage['memory_mb']
disk_usage = usage.get(
overhead = self.driver.
mem_usage += overhead[
disk_usage += overhead.
# free ram and disk may be negative, depending on policy:
2. So I think self.compute_
Changed in nova: | |
assignee: | nobody → Rajesh Tailor (ratailor) |
Swap partition is a disk space that is not available for storing any kind of data other than memory dumps. So - I think it is perfectly fine to assume that the size of swap sums up with used space.