Fix duplicated words issue like "during during boot time"

This is to fix the duplicated words issue like
"if it was specified during during boot time".

Change-Id: I0ffedb8c40399a4b0ecd83b142bdeaf556d1568f
This commit is contained in:
zhufl 2020-01-06 14:19:03 +08:00
parent 65aae518f8
commit b608d6bfb4
6 changed files with 7 additions and 7 deletions

View File

@ -243,7 +243,7 @@ behavior are described below:
in the boot-from-volume case, this value will be an empty string.
- flavor: The flavor details of the server.
- availability_zone: The availability_zone of the server if it was specified
during during boot time and "UNKNOWN" otherwise.
during boot time and "UNKNOWN" otherwise.
- power_state: Its value will be 0 (``NOSTATE``).
- links: Links to the servers in question.
- server_groups: The UUIDs of the server groups to which the server belongs.

View File

@ -160,7 +160,7 @@ Use the following as a guideline for configuring Xen for use in OpenStack:
$ openstack image set --property hypervisor_type=xen vm_mode=hvm IMAGE
For more more information on image metadata, refer to the `OpenStack Virtual
For more information on image metadata, refer to the `OpenStack Virtual
Image Guide <https://docs.openstack.org/image-guide/image-metadata.html>`__.
#. **Libguestfs file injection**: OpenStack compute nodes can use `libguestfs

View File

@ -119,7 +119,7 @@ def _build_regex_range(ws=True, invert=False, exclude=None):
The inversion is useful when we want to generate a set of ranges
which is everything that's not a certain class. For instance,
produce all all the non printable characters as a set of ranges.
produce all the non printable characters as a set of ranges.
"""
if exclude is None:
exclude = []

View File

@ -1824,7 +1824,7 @@ def instance_destroy(context, instance_uuid, constraint=None,
if constraint is not None:
query = constraint.apply(models.Instance, query)
# Either in hard or soft delete, we soft delete the instance first
# to make sure that that the constraints were met.
# to make sure that the constraints were met.
count = query.soft_delete()
if count == 0:
raise exception.ConstraintNotMet()

View File

@ -599,7 +599,7 @@ class IronicDriver(virt_driver.ComputeDriver):
VCPU/RAM/disk. By adding just the custom RC to the existing flavor
extra_specs, the periodic call to update_available_resources() will add
an allocation against the custom resource class, and prevent placement
from thinking that 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
zero-out the old-style standard resource classes of VCPU, MEMORY_MB,
and DISK_GB.

View File

@ -278,7 +278,7 @@ class FCVscsiVolumeAdapter(object):
"""Update the stg_ftsk to append the mapping to the VIOS.
:param vios_uuid: The UUID of the vios for the pypowervm adapter.
:param device_name: The The hdisk device name.
:param device_name: The hdisk device name.
:param tag: String tag to set on the physical volume.
"""
def add_func(vios_w):
@ -400,7 +400,7 @@ class FCVscsiVolumeAdapter(object):
:param vm_uuid: The UUID of the VM instance
:param vios_uuid: The UUID of the vios for the pypowervm adapter.
:param device_name: The The hdisk device name.
:param device_name: The hdisk device name.
"""
def rm_func(vios_w):
LOG.info("Removing vSCSI mapping from physical volume %(dev)s "