ad6654eaa7
Now that we have added the field for persisting the disk alloc ratio, we can have the ResouceTracker persisting it by adding it to the local ComputeNode object which is persisted by calling the _update() method. It will then send by default 0.0 unless the operator explicitely specified an allocation ratio in the compute nova.conf. Thanks to the ComputeNode object hydratation on the scheduler side, the facade will make sure that if a default 0.0 is provided by either a compute node or by the scheduler's nova.conf, it will actually get the original allocation ratios (ie. 1.0 for disk) Since the Scheduler reads the same RT opt but goes thru the ComputeNode object, it will also get the Facade returning 1.0 unless the operator explicitely provided other ratios for the scheduler's nova.conf Amending the release note now that the behaviour is changing. DocImpact Disk alloc ratio is now per computenode UpgradeImpact Change-Id: Ief6fa32429d58b80e70029ed67c7f42e0bdc986d Implements: blueprint disk-allocation-ratio-to-rt
20 lines
1.1 KiB
YAML
20 lines
1.1 KiB
YAML
---
|
|
feature:
|
|
- On Mitaka compute nodes, if you want to modify the default disk allocation
|
|
ratio of 1.0, you should set that on every compute node, rather than
|
|
setting it in the scheduler. This means the disk, RAM and CPU allocation
|
|
ratios now all work in the same way.
|
|
upgrade:
|
|
- For Liberty compute nodes, the disk_allocation_ratio works as before, you
|
|
must set it on the scheduler if you want to change it.
|
|
For Mitaka compute nodes, the disk_allocation_ratio set on the compute
|
|
nodes will be used only if the configuration is not set on the scheduler.
|
|
This is to allow, for backwards compatibility, the ability to still
|
|
override the disk allocation ratio by setting the configuration on the
|
|
scheduler node.
|
|
In Newton, we plan to remove the ability to set the disk allocation ratio
|
|
on the scheduler, at which point the compute nodes will always define the
|
|
disk allocation ratio, and pass that up to the scheduler. None of this
|
|
changes the default disk allocation ratio of 1.0. This matches the
|
|
behaviour of the RAM and CPU allocation ratios.
|