diff --git a/api-guide/source/microversions.rst b/api-guide/source/microversions.rst index a8c138c77274..54fc5d7b9bf9 100644 --- a/api-guide/source/microversions.rst +++ b/api-guide/source/microversions.rst @@ -121,7 +121,7 @@ This acts conceptually like the "Accept" header. Semantically this means: .. warning:: The ``latest`` value is mostly meant for integration testing and would be dangerous to rely on in client code since microversions are not - following semver and therefore backward compability is not guaranteed. + following semver and therefore backward compatibility is not guaranteed. Clients should always require a specific microversion but limit what is acceptable to the microversion range that it understands at the time. diff --git a/doc/source/feature_classification.rst b/doc/source/feature_classification.rst index 603560faebf0..d51dadc054c0 100644 --- a/doc/source/feature_classification.rst +++ b/doc/source/feature_classification.rst @@ -110,7 +110,7 @@ With little testing there are likely to be many unknown bugs. For a feature to be considered complete, we must have: * Complete API docs (concept and REST call definition) -* Complete Adminstrator docs +* Complete Administrator docs * Tempest tests that define if the feature works correctly * Has enough functionality, and works reliably enough to be useful in real world scenarios diff --git a/nova/api/openstack/wsgi.py b/nova/api/openstack/wsgi.py index c26147ede255..1a530162f0ed 100644 --- a/nova/api/openstack/wsgi.py +++ b/nova/api/openstack/wsgi.py @@ -563,7 +563,7 @@ class Resource(wsgi.Application): # the DiskConfig and SchedulerHints from what I can see. # # pre_process_extensions can be removed when the legacyv2 code - # goes away. post_proccess_extensions can be massively simplified + # goes away. post_process_extensions can be massively simplified # at that point. def pre_process_extensions(self, extensions, request, action_args): # List of callables for post-processing extensions diff --git a/nova/api/validation/validators.py b/nova/api/validation/validators.py index 2ae5dfe90772..27899b76e434 100644 --- a/nova/api/validation/validators.py +++ b/nova/api/validation/validators.py @@ -80,7 +80,7 @@ def _soft_validate_additional_properties(validator, instance, schema): """This validator function is used for legacy v2 compatible mode in v2.1. - This will skip all the addtional properties checking but keep check the + This will skip all the additional properties checking but keep check the 'patternProperties'. 'patternProperties' is used for metadata API. If there are not any properties on the instance that are not specified in diff --git a/nova/objects/fields.py b/nova/objects/fields.py index 4bdf5e3279e4..1300ab2fafe3 100644 --- a/nova/objects/fields.py +++ b/nova/objects/fields.py @@ -159,7 +159,7 @@ class CPUAllocationPolicy(Enum): class CPUThreadAllocationPolicy(Enum): # prefer (default): The host may or may not have hyperthreads. This - # retains the legacy behavior, whereby siblings are prefered when + # retains the legacy behavior, whereby siblings are preferred when # available. This is the default if no policy is specified. PREFER = "prefer" # isolate: The host may or many not have hyperthreads. If hyperthreads are diff --git a/nova/tests/unit/virt/test_hardware.py b/nova/tests/unit/virt/test_hardware.py index cf656419d883..cb4fd45f4735 100644 --- a/nova/tests/unit/virt/test_hardware.py +++ b/nova/tests/unit/virt/test_hardware.py @@ -1959,7 +1959,7 @@ class _CPUPinningTestCaseBase(object): for inst_p, host_p in instance_cell.cpu_pinning.items(): pins_per_sib[cpu_to_sib[host_p]] += 1 self.assertTrue(max(pins_per_sib.values()) > 1, - "Seems threads were not prefered by the pinning " + "Seems threads were not preferred by the pinning " "logic.") diff --git a/nova/virt/hyperv/snapshotops.py b/nova/virt/hyperv/snapshotops.py index 93fa5f716a8c..8029f4118ff5 100644 --- a/nova/virt/hyperv/snapshotops.py +++ b/nova/virt/hyperv/snapshotops.py @@ -60,7 +60,7 @@ class SnapshotOps(object): try: instance_synchronized_snapshot() except os_win_exc.HyperVVMNotFoundException: - # the instance might dissapear before starting the operation. + # the instance might disappear before starting the operation. raise exception.InstanceNotFound(instance_id=instance.uuid) def _snapshot(self, context, instance, image_id, update_task_state): diff --git a/nova/virt/libvirt/guest.py b/nova/virt/libvirt/guest.py index c2a7cd7ca38c..56a72e899f2a 100644 --- a/nova/virt/libvirt/guest.py +++ b/nova/virt/libvirt/guest.py @@ -374,7 +374,7 @@ class Guest(object): """Returns information on Guest :param host: a host.Host object with current - connection. Unfortunatly we need to pass it + connection. Unfortunately we need to pass it because of a workaround with < version 1.2..11 :returns list: [state, maxMem, memory, nrVirtCpu, cpuTime]