Red Hat Bugzilla – Bug 1274750
In the undercloud Nova's ram_allocation_ratio configuration option should be set to "1.0"
Last modified: 2016-04-07 17:41:52 EDT
Description of problem:
By default the Nova's "ram_allocation_ratio" is "1.5", this doesn't make sense for baremetal because we can't allocate more memory than the machine already has.
By leaving it as default ("1.5") will cause scheduling instances to fail in case the amount of RAM in the node's is exactly the same size in the flavor. And this should just work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a flavor that requires 512MB of memory
2. Create a node (and have only one node available) in ironic that has 512MB of memory
3. Try to deploy it
Nova won't be able to allocate the amount of ram asked and will fail with a "no valid host found"
The node should be picked for deployment
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.