Fix typos for update_available_resource reference
Fixing a couple of typos that wrongly refers to update_available_resources() insted of update_available_resource() Change-Id: Iaf7828e9cfb73ac87018d78180d16aae91d838f3
This commit is contained in:
@@ -266,7 +266,7 @@ The creation of this caveat section was inspired by issues experienced while
|
|||||||
profiling ``nova-compute``. The ``nova-compute`` process is not allowed to
|
profiling ``nova-compute``. The ``nova-compute`` process is not allowed to
|
||||||
speak with a database server directly. Instead communication is mediated
|
speak with a database server directly. Instead communication is mediated
|
||||||
through the conductor, communication happening via ``oslo.versionedobjects``
|
through the conductor, communication happening via ``oslo.versionedobjects``
|
||||||
and remote calls. Profiling methods such as ``_update_available_resources`` in
|
and remote calls. Profiling methods such as ``update_available_resource`` in
|
||||||
the ResourceTracker, which needs information from the database, results in
|
the ResourceTracker, which needs information from the database, results in
|
||||||
profile data that can be analyzed but is incorrect and misleading.
|
profile data that can be analyzed but is incorrect and misleading.
|
||||||
|
|
||||||
|
|||||||
@@ -1150,7 +1150,7 @@ Related options:
|
|||||||
help="""
|
help="""
|
||||||
Interval for updating compute resources.
|
Interval for updating compute resources.
|
||||||
|
|
||||||
This option specifies how often the update_available_resources
|
This option specifies how often the update_available_resource
|
||||||
periodic task should run. A number less than 0 means to disable the
|
periodic task should run. A number less than 0 means to disable the
|
||||||
task completely. Leaving this at the default of 0 will cause this to
|
task completely. Leaving this at the default of 0 will cause this to
|
||||||
run at the default periodic interval. Setting it to any positive
|
run at the default periodic interval. Setting it to any positive
|
||||||
|
|||||||
@@ -586,7 +586,7 @@ class IronicDriver(virt_driver.ComputeDriver):
|
|||||||
extra_specs. Since existing ironic instances will not have this in
|
extra_specs. Since existing ironic instances will not have this in
|
||||||
their extra_specs, they will only have allocations against
|
their extra_specs, they will only have allocations against
|
||||||
VCPU/RAM/disk. By adding just the custom RC to the existing flavor
|
VCPU/RAM/disk. By adding just the custom RC to the existing flavor
|
||||||
extra_specs, the periodic call to update_available_resources() will add
|
extra_specs, the periodic call to update_available_resource() will add
|
||||||
an allocation against the custom resource class, and prevent placement
|
an allocation against the custom resource class, and prevent placement
|
||||||
from thinking that node is available. This code can be removed in
|
from thinking that node is available. This code can be removed in
|
||||||
Queens, and will need to be updated to also alter extra_specs to
|
Queens, and will need to be updated to also alter extra_specs to
|
||||||
|
|||||||
Reference in New Issue
Block a user