From fe7b56cdefa4d5cb99b868e5659128601edf3600 Mon Sep 17 00:00:00 2001 From: Atsushi SAKAI Date: Fri, 13 Nov 2015 17:06:16 +0900 Subject: [PATCH] Fix typos for stack.sh and lib of comments and message Fix 10 comments and 1 message stack.sh Certicate => Certificate (comment) lib/stack Sentinal => Sentinel (comment) lib/neutron-legacy overriden => overridden (comment) necesssary => necessary (comment) notifiy => notify (message) notifations => notifications (comment) lib/rpc_backend orginal => original (comment) cofiguration => configuration (comment) lib/stack confgured => configured (comment) lib/swift additinal => additional (comment) calclution => calculation (comment) maximun => maximum (comment) Change-Id: I3637388b67decb007cd49af9addecc654009559b --- lib/neutron-legacy | 6 +++--- lib/rpc_backend | 4 ++-- lib/stack | 2 +- lib/swift | 6 +++--- stack.sh | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/neutron-legacy b/lib/neutron-legacy index c244e5470a..a38b1c1d7e 100644 --- a/lib/neutron-legacy +++ b/lib/neutron-legacy @@ -256,7 +256,7 @@ ENABLE_TENANT_TUNNELS=${ENABLE_TENANT_TUNNELS:-True} # If using GRE tunnels for tenant networks, specify the range of # tunnel IDs from which tenant networks are allocated. Can be -# overriden in ``localrc`` in necesssary. +# overridden in ``localrc`` in necessary. TENANT_TUNNEL_RANGES=${TENANT_TUNNEL_RANGES:-1:1000} # To use VLANs for tenant networks, set to True in localrc. VLANs @@ -537,7 +537,7 @@ function create_neutron_initial_network { if is_provider_network; then die_if_not_set $LINENO PHYSICAL_NETWORK "You must specify the PHYSICAL_NETWORK" - die_if_not_set $LINENO PROVIDER_NETWORK_TYPE "You must specifiy the PROVIDER_NETWORK_TYPE" + die_if_not_set $LINENO PROVIDER_NETWORK_TYPE "You must specify the PROVIDER_NETWORK_TYPE" NET_ID=$(neutron net-create $PHYSICAL_NETWORK --tenant_id $TENANT_ID --provider:network_type $PROVIDER_NETWORK_TYPE --provider:physical_network "$PHYSICAL_NETWORK" ${SEGMENTATION_ID:+--provider:segmentation_id $SEGMENTATION_ID} --shared | grep ' id ' | get_field 2) die_if_not_set $LINENO NET_ID "Failure creating NET_ID for $PHYSICAL_NETWORK $TENANT_ID" @@ -1123,7 +1123,7 @@ function _configure_neutron_service { iniset $NEUTRON_CONF DEFAULT auth_strategy $Q_AUTH_STRATEGY _neutron_setup_keystone $NEUTRON_CONF keystone_authtoken - # Configuration for neutron notifations to nova. + # Configuration for neutron notifications to nova. iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_status_changes $Q_NOTIFY_NOVA_PORT_STATUS_CHANGES iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_data_changes $Q_NOTIFY_NOVA_PORT_DATA_CHANGES diff --git a/lib/rpc_backend b/lib/rpc_backend index 03eacd8674..298dcb6e5f 100644 --- a/lib/rpc_backend +++ b/lib/rpc_backend @@ -58,7 +58,7 @@ function restart_rpc_backend { # NOTE(bnemec): Retry initial rabbitmq configuration to deal with # the fact that sometimes it fails to start properly. # Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1144100 - # NOTE(tonyb): Extend the orginal retry logic to only restart rabbitmq + # NOTE(tonyb): Extend the original retry logic to only restart rabbitmq # every second time around the loop. # See: https://bugs.launchpad.net/devstack/+bug/1449056 for details on # why this is needed. This can bee seen on vivid and Debian unstable @@ -106,7 +106,7 @@ function get_transport_url { fi } -# iniset cofiguration +# iniset configuration function iniset_rpc_backend { local package=$1 local file=$2 diff --git a/lib/stack b/lib/stack index 47e8ce2a22..7d98604b82 100644 --- a/lib/stack +++ b/lib/stack @@ -14,7 +14,7 @@ # Functions # --------- -# Generic service install handles venv creation if confgured for service +# Generic service install handles venv creation if configured for service # stack_install_service service function stack_install_service { local service=$1 diff --git a/lib/swift b/lib/swift index 3a8e80dd44..634d6ccb35 100644 --- a/lib/swift +++ b/lib/swift @@ -123,13 +123,13 @@ SWIFT_REPLICAS_SEQ=$(seq ${SWIFT_REPLICAS}) # trace through the logs when looking for its use. SWIFT_LOG_TOKEN_LENGTH=${SWIFT_LOG_TOKEN_LENGTH:-12} -# Set ``SWIFT_MAX_HEADER_SIZE`` to configure the maximun length of headers in +# Set ``SWIFT_MAX_HEADER_SIZE`` to configure the maximum length of headers in # Swift API SWIFT_MAX_HEADER_SIZE=${SWIFT_MAX_HEADER_SIZE:-16384} # Set ``OBJECT_PORT_BASE``, ``CONTAINER_PORT_BASE``, ``ACCOUNT_PORT_BASE`` -# Port bases used in port number calclution for the service "nodes" -# The specified port number will be used, the additinal ports calculated by +# Port bases used in port number calculation for the service "nodes" +# The specified port number will be used, the additional ports calculated by # base_port + node_num * 10 OBJECT_PORT_BASE=${OBJECT_PORT_BASE:-6613} CONTAINER_PORT_BASE=${CONTAINER_PORT_BASE:-6611} diff --git a/stack.sh b/stack.sh index 25c49c5709..d3d3fb2f60 100755 --- a/stack.sh +++ b/stack.sh @@ -926,8 +926,8 @@ fi restart_rpc_backend -# Export Certicate Authority Bundle -# --------------------------------- +# Export Certificate Authority Bundle +# ----------------------------------- # If certificates were used and written to the SSL bundle file then these # should be exported so clients can validate their connections.