From 25fd9effd2e12a29643c6e7b5b5e2f5630ff3338 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Tue, 3 Oct 2023 01:23:09 +0100 Subject: [PATCH] [codespell] doc,devstack and gate typos Change-Id: I919e24a1b4dea394d35b845d44cddee9c762b268 --- devstack/nova-multi-cell-exclude-list.txt | 2 +- doc/dictionary.txt | 3 ++- doc/source/admin/cpu-topologies.rst | 2 +- doc/source/admin/pci-passthrough.rst | 2 +- doc/source/admin/resource-limits.rst | 4 ++-- doc/source/admin/scheduling.rst | 2 +- doc/source/contributor/api-ref-guideline.rst | 2 +- doc/source/contributor/process.rst | 2 +- doc/source/index.rst | 2 +- doc/source/reference/update-provider-tree.rst | 2 +- gate/post_test_hook.sh | 4 ++-- setup.cfg | 2 +- 12 files changed, 15 insertions(+), 14 deletions(-) diff --git a/devstack/nova-multi-cell-exclude-list.txt b/devstack/nova-multi-cell-exclude-list.txt index 0dbe383abfe0..213161485ac2 100644 --- a/devstack/nova-multi-cell-exclude-list.txt +++ b/devstack/nova-multi-cell-exclude-list.txt @@ -5,7 +5,7 @@ # only test advanced neutron features, unrelated to multi-cell testing. ^tempest.scenario.test_network -# Also exlude resize and migrate tests with qos ports as qos is currently +# Also exclude resize and migrate tests with qos ports as qos is currently # not supported in cross cell resize case . See # https://bugs.launchpad.net/nova/+bug/1907511 for details test_migrate_with_qos_min_bw_allocation diff --git a/doc/dictionary.txt b/doc/dictionary.txt index 1ba71ab5dc92..0dc9142cdb76 100644 --- a/doc/dictionary.txt +++ b/doc/dictionary.txt @@ -5,4 +5,5 @@ ned deques affinitized noes -Wile +wile +usera \ No newline at end of file diff --git a/doc/source/admin/cpu-topologies.rst b/doc/source/admin/cpu-topologies.rst index 082c88f655b6..964e0e686f9a 100644 --- a/doc/source/admin/cpu-topologies.rst +++ b/doc/source/admin/cpu-topologies.rst @@ -773,7 +773,7 @@ tuned. That being said, we also provide a way to automatically change the governors on the fly, as explained below. If the strategy is set to ``governor``, a couple of config options are provided -to define which exact CPU govenor to use for each of the up and down states : +to define which exact CPU governor to use for each of the up and down states : - :oslo.config:option:`libvirt.cpu_power_governor_low` will define the governor to use for the powerdown state (defaults to ``powersave``) diff --git a/doc/source/admin/pci-passthrough.rst b/doc/source/admin/pci-passthrough.rst index 09a963603daa..8bb013b7178c 100644 --- a/doc/source/admin/pci-passthrough.rst +++ b/doc/source/admin/pci-passthrough.rst @@ -519,7 +519,7 @@ For the viommu attributes: * ``intremap``, ``caching_mode``, and ``iotlb`` options for viommu (These attributes are driver attributes defined in - `Libvirt IOMMU Domain`_) will direcly enabled. + `Libvirt IOMMU Domain`_) will directly enabled. * ``eim`` will directly enabled if machine type is Q35. ``eim`` is driver attribute defined in `Libvirt IOMMU Domain`_. diff --git a/doc/source/admin/resource-limits.rst b/doc/source/admin/resource-limits.rst index 8ef248a9a1d2..6439b58b16a8 100644 --- a/doc/source/admin/resource-limits.rst +++ b/doc/source/admin/resource-limits.rst @@ -39,7 +39,7 @@ Libvirt enforces CPU limits in terms of *shares* and *quotas*, configured via :nova:extra-spec:`quota:cpu_shares` and :nova:extra-spec:`quota:cpu_period` / :nova:extra-spec:`quota:cpu_quota`, respectively. Both are implemented using the `cgroups cpu controller`__. Note that allowed values for *shares* are -platform dependant. +platform dependent. CPU shares are a proportional weighted share of total CPU resources relative to other instances. It does not limit CPU usage if CPUs are not busy. There is no @@ -158,7 +158,7 @@ For example, to configure **outbound** traffic to an average of 262 Mbit/s .. note:: The speed limit values in above example are specified in kilobytes/second, - whle the burst value is in kilobytes. + while the burst value is in kilobytes. VMWare ~~~~~~ diff --git a/doc/source/admin/scheduling.rst b/doc/source/admin/scheduling.rst index d599a047ef4b..c4af0afaa5ea 100644 --- a/doc/source/admin/scheduling.rst +++ b/doc/source/admin/scheduling.rst @@ -1073,7 +1073,7 @@ to a negative number and the weighing has the opposite effect of the default. This weigher compares hosts and orders them based on their number of instances respectively. By default the weigher is doing nothing but you -can change its behaviour by modifiying the value of +can change its behaviour by modifying the value of :oslo.config:option:`filter_scheduler.num_instances_weight_multiplier`. A positive value will favor hosts with a larger number of instances (packing strategy) while a negative value will follow a spread strategy that will diff --git a/doc/source/contributor/api-ref-guideline.rst b/doc/source/contributor/api-ref-guideline.rst index 0aec4eeeb402..0d196cc52b05 100644 --- a/doc/source/contributor/api-ref-guideline.rst +++ b/doc/source/contributor/api-ref-guideline.rst @@ -309,7 +309,7 @@ Parameter type ~~~~~~~~~~~~~~ The parameters are defined in the parameter file (``parameters.yaml``). -The type of parameters have to be one of followings: +The type of parameters have to be one of following: * ``array`` diff --git a/doc/source/contributor/process.rst b/doc/source/contributor/process.rst index afb76cecf42a..00443253df46 100644 --- a/doc/source/contributor/process.rst +++ b/doc/source/contributor/process.rst @@ -76,7 +76,7 @@ used by many OpenStack projects, including the following steps. - Dependency Freeze - - time to co-ordinate the final list of dependencies, and give packagers + - time to coordinate the final list of dependencies, and give packagers time to package them - generally it is also quite destabilising to take upgrades (beyond bug fixes) this late diff --git a/doc/source/index.rst b/doc/source/index.rst index a213fa530a24..dd2e4d5abaa7 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -160,7 +160,7 @@ the defaults from the :doc:`install guide ` will be sufficient. * :doc:`Running nova-api on wsgi `: Considerations for using a real WSGI container instead of the baked-in eventlet web server. -.. # NOTE(amotoki): toctree needs to be placed at the end of the secion to +.. # NOTE(amotoki): toctree needs to be placed at the end of the section to # keep the document structure in the PDF doc. .. toctree:: :hidden: diff --git a/doc/source/reference/update-provider-tree.rst b/doc/source/reference/update-provider-tree.rst index bc204c5a9ee9..463ba6eb554f 100644 --- a/doc/source/reference/update-provider-tree.rst +++ b/doc/source/reference/update-provider-tree.rst @@ -181,7 +181,7 @@ would become: provider_tree.update_inventory(nodename, inv_data) When reporting inventory for the standard resource classes ``VCPU``, -``MEMORY_MB`` and ``DISK_GB``, implementors of ``update_provider_tree`` may +``MEMORY_MB`` and ``DISK_GB``, implementers of ``update_provider_tree`` may need to set the ``allocation_ratio`` and ``reserved`` values in the ``inv_data`` dict based on configuration to reflect changes on the compute for allocation ratios and reserved resource amounts back to the placement diff --git a/gate/post_test_hook.sh b/gate/post_test_hook.sh index b788746cef93..ebad7fcf9022 100755 --- a/gate/post_test_hook.sh +++ b/gate/post_test_hook.sh @@ -105,7 +105,7 @@ echo "Resource provider allocations were cleaned up properly." function get_binding_profile_value { - # Returns the value of the key in the binding profile if exsits or return + # Returns the value of the key in the binding profile if exists or return # empty. local port=${1} local key=${2} @@ -253,7 +253,7 @@ if [[ "$my_key" == "" ]]; then fi echo "Verifying online_data_migrations idempotence" -# We will re-use the server created earlier for this test. (A server needs to +# We will reuse the server created earlier for this test. (A server needs to # be present during the run of online_data_migrations and archiving). # Run the online data migrations before archiving. diff --git a/setup.cfg b/setup.cfg index 4e607b961ea3..9611273468ac 100644 --- a/setup.cfg +++ b/setup.cfg @@ -103,6 +103,6 @@ check_untyped_defs = true warn_unused_ignores = true [codespell] -skip = *.po,*.js,*.css,*.html,*.svg,HACKING.py,*build*,*_static*,doc/dictionary.txt,*.pyc,*.inv,*.gz,*.jpg,*.png,*.vsd,*.graffle +skip = *.po,*.js,*.css,*.html,*.svg,HACKING.py,*hacking*,*build*,*_static*,doc/dictionary.txt,*.pyc,*.inv,*.gz,*.jpg,*.png,*.vsd,*.graffle count = quiet-level = 4 \ No newline at end of file