overcommit ratios should not be able to set to negative value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
vu tran |
Bug Description
Currently the three overcommit ratios: ram_allocation_
Nova scheduler filters (e.g. CoreFilter) will use these ratios to calculate free_vcpus/
It makes more sense that these 3 ratios values should not be able to set to negative values. If any of these ratios is negative then nova-compute service should fail to start.
Step to reproduce on devstack:
* On compute node, modify /etc/nova/nova.conf to have "cpu_allocation
* Restart nova-compute (n-cpu) and nova-compute service is up and running (we should expect nova-compute to fail to start)
Changed in nova: | |
assignee: | nobody → vu tran (vu-tran) |
Fix proposed to branch: master /review. openstack. org/344254
Review: https:/