diff --git a/api-guide/source/port_with_resource_request.rst b/api-guide/source/port_with_resource_request.rst index 9ca93f2fcf..f422b2e06d 100644 --- a/api-guide/source/port_with_resource_request.rst +++ b/api-guide/source/port_with_resource_request.rst @@ -43,7 +43,7 @@ Extended resource request ~~~~~~~~~~~~~~~~~~~~~~~~~ It is expected that neutron 20.0.0 (Yoga) will implement an extended resource -request format via the the ``port-resource-request-groups`` neutron API +request format via the ``port-resource-request-groups`` neutron API extension. As of nova 24.0.0 (Xena), nova already supports this extension if every nova-compute service is upgraded to Xena version and the ``[upgrade_levels]/compute`` configuration does not prevent the computes from diff --git a/doc/source/admin/pci-passthrough.rst b/doc/source/admin/pci-passthrough.rst index 68136800be..1ef1d7da79 100644 --- a/doc/source/admin/pci-passthrough.rst +++ b/doc/source/admin/pci-passthrough.rst @@ -615,7 +615,7 @@ Here are four possible values allowed for ``hw:viommu_model`` **smmuv3** Supported on Libvirt since 5.5.0, for ARM virt guests. **intel** - Supported for for Q35 guests. + Supported for Q35 guests. **auto** This option will translate to ``virtio`` if Libvirt supported, diff --git a/doc/source/admin/ports-with-resource-requests.rst b/doc/source/admin/ports-with-resource-requests.rst index 2a2a5d41ef..ca3f2208b9 100644 --- a/doc/source/admin/ports-with-resource-requests.rst +++ b/doc/source/admin/ports-with-resource-requests.rst @@ -70,7 +70,7 @@ Extended resource request ~~~~~~~~~~~~~~~~~~~~~~~~~ It is expected that neutron 20.0.0 (Yoga) will implement an extended resource -request format via the the ``port-resource-request-groups`` neutron API +request format via the ``port-resource-request-groups`` neutron API extension. As of nova 24.0.0 (Xena), nova already supports this extension if every nova-compute service is upgraded to Xena version and the :oslo.config:option:`upgrade_levels.compute` configuration does not prevent diff --git a/doc/source/admin/real-time.rst b/doc/source/admin/real-time.rst index cad78df93a..3a3149abcb 100644 --- a/doc/source/admin/real-time.rst +++ b/doc/source/admin/real-time.rst @@ -78,7 +78,7 @@ Configuring a flavor or image :nova:extra-spec:`hw:cpu_realtime`. Starting in Victoria, it is possible to omit this when an emulator thread policy is configured using the :nova:extra-spec:`hw:emulator_threads_policy` extra spec, thus allowing all - guest cores to be be allocated as real-time cores. + guest cores to be allocated as real-time cores. .. versionchanged:: 22.0.0 (Victoria) diff --git a/nova/compute/resource_tracker.py b/nova/compute/resource_tracker.py index d832302ed9..1e96035cd2 100644 --- a/nova/compute/resource_tracker.py +++ b/nova/compute/resource_tracker.py @@ -649,7 +649,7 @@ class ResourceTracker(object): # NOTE(stephenfin): This runs on the destination, before we return to # the source and resume the instance there. As such, the migration - # isn't really really reverted yet, but this status is what we use to + # isn't really reverted yet, but this status is what we use to # indicate that we no longer needs to account for usage on this host migration.status = 'reverted' migration.save() diff --git a/nova/conf/compute.py b/nova/conf/compute.py index c8b143b5dd..382415c245 100644 --- a/nova/conf/compute.py +++ b/nova/conf/compute.py @@ -827,7 +827,7 @@ emulator threads. The behavior of this option depends on the definition of the deprecated ``vcpu_pin_set`` option. -* If ``vcpu_pin_set`` is not defined, ``[compute] cpu_shared_set`` will be be +* If ``vcpu_pin_set`` is not defined, ``[compute] cpu_shared_set`` will be used to provide ``VCPU`` inventory and to determine the host CPUs that unpinned instances can be scheduled to. It will also be used to determine the host CPUS that instance emulator threads should be offloaded to for instances diff --git a/nova/tests/functional/integrated_helpers.py b/nova/tests/functional/integrated_helpers.py index 60a424cd50..5f01a62563 100644 --- a/nova/tests/functional/integrated_helpers.py +++ b/nova/tests/functional/integrated_helpers.py @@ -1313,7 +1313,7 @@ class PlacementInstanceHelperMixin(InstanceHelperMixin, PlacementHelperMixin): given flavor (assumes a single instance on the hypervisor). :param compute_node_uuid: UUID of the ComputeNode to check. - :param flavor: "flavor" entry dict from from GET /flavors/{flavor_id} + :param flavor: "flavor" entry dict from GET /flavors/{flavor_id} :param volume_backed: True if the flavor is used with a volume-backed server, False otherwise. """ diff --git a/nova/tests/unit/compute/test_api.py b/nova/tests/unit/compute/test_api.py index 8d015aa156..654f274c76 100644 --- a/nova/tests/unit/compute/test_api.py +++ b/nova/tests/unit/compute/test_api.py @@ -6925,9 +6925,8 @@ class _ComputeAPIUnitTestMixIn(object): # This test checks the following scenario: # The instance is not mapped to a cell, so it should be retrieved from # a BuildRequest object. However the BuildRequest does not exist - # because the instance was put in a cell and mapped while while - # attempting to get the BuildRequest. So pull the instance from the - # cell. + # because the instance was put in a cell and mapped while attempting + # to get the BuildRequest. So pull the instance from the cell. self.useFixture(nova_fixtures.AllServicesCurrent()) build_req_obj = fake_build_request.fake_req_obj(self.context) instance = build_req_obj.instance diff --git a/nova/tests/unit/policies/test_hosts.py b/nova/tests/unit/policies/test_hosts.py index 11ca5f60a5..ff3de06b56 100644 --- a/nova/tests/unit/policies/test_hosts.py +++ b/nova/tests/unit/policies/test_hosts.py @@ -126,7 +126,7 @@ class HostsScopeTypePolicyTest(HostsPolicyTest): class HostsScopeTypeNoLegacyPolicyTest(HostsScopeTypePolicyTest): - """Test Hosts APIs policies with with no legacy deprecated rules + """Test Hosts APIs policies with no legacy deprecated rules and scope checks enabled which means scope + new defaults. So only system admin is able to perform hosts Operations. """ diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py index 4c7cd102be..ca9c3168d7 100644 --- a/nova/virt/libvirt/driver.py +++ b/nova/virt/libvirt/driver.py @@ -2277,7 +2277,7 @@ class LibvirtDriver(driver.ComputeDriver): 'disk_bus': disk_bus, 'device_type': device_type} - # Note(cfb): If the volume has a custom block size, check that that we + # Note(cfb): If the volume has a custom block size, check that we # are using QEMU/KVM. The presence of a block size is considered # mandatory by cinder so we fail if we can't honor the request. data = {}