config-ref: warn about mute_weight_value deprecation

The mute_weight_multiplier option must be used instead.

Change-Id: I2bd7933fd19250a9ce88e3de8e3d552cf7d9dc40
Closes-Bug: #1442581
This commit is contained in:
Gauvain Pocentek 2015-04-25 07:15:21 +02:00
parent 9e786fa7bd
commit a231f3599e
2 changed files with 10 additions and 3 deletions

View File

@ -235,6 +235,11 @@ rabbit_virtual_host=cell1_vhost</programlisting></para>
<option>mute_weight_value</option>
(assigned to mute children; should be
a positive value).</para>
<warning><para>The
<option>mute_weight_value</option> is
deprecated, use
<option>mute_weight_multiplier</option>
instead.</para></warning>
</listitem>
<listitem>
<para><literal>ram_by_instance_type</literal>.

View File

@ -966,10 +966,13 @@ weight_of_unavailable = -10000.0</programlisting>
</tr>
<tr valign="top">
<td>[cells]</td>
<td><literal>mute_weight_value</literal></td>
<td><literal>mute_weight_value</literal> (deprecated)</td>
<td>Weight value assigned to mute children. Use a
positive, floating-point value with a maximum
of '1.0'.</td>
of '1.0'.
This option is deprecated, use
<literal>mute_weight_multiplier</literal> instead.
</td>
</tr>
<tr valign="top">
<td>[cells]</td>
@ -1003,7 +1006,6 @@ weight_of_unavailable = -10000.0</programlisting>
<programlisting language="ini">[cells]
scheduler_weight_classes = nova.cells.weights.all_weighers
mute_weight_multiplier = -10.0
mute_weight_value = 1000.0
ram_weight_multiplier = 1.0
offset_weight_multiplier = 1.0</programlisting>
</section>