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
This commit is contained in:
parent
4f262a109d
commit
fe7b56cdef
@ -256,7 +256,7 @@ ENABLE_TENANT_TUNNELS=${ENABLE_TENANT_TUNNELS:-True}
|
|||||||
|
|
||||||
# If using GRE tunnels for tenant networks, specify the range of
|
# If using GRE tunnels for tenant networks, specify the range of
|
||||||
# tunnel IDs from which tenant networks are allocated. Can be
|
# 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}
|
TENANT_TUNNEL_RANGES=${TENANT_TUNNEL_RANGES:-1:1000}
|
||||||
|
|
||||||
# To use VLANs for tenant networks, set to True in localrc. VLANs
|
# 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
|
if is_provider_network; then
|
||||||
die_if_not_set $LINENO PHYSICAL_NETWORK "You must specify the PHYSICAL_NETWORK"
|
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)
|
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"
|
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
|
iniset $NEUTRON_CONF DEFAULT auth_strategy $Q_AUTH_STRATEGY
|
||||||
_neutron_setup_keystone $NEUTRON_CONF keystone_authtoken
|
_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_status_changes $Q_NOTIFY_NOVA_PORT_STATUS_CHANGES
|
||||||
iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_data_changes $Q_NOTIFY_NOVA_PORT_DATA_CHANGES
|
iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_data_changes $Q_NOTIFY_NOVA_PORT_DATA_CHANGES
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ function restart_rpc_backend {
|
|||||||
# NOTE(bnemec): Retry initial rabbitmq configuration to deal with
|
# NOTE(bnemec): Retry initial rabbitmq configuration to deal with
|
||||||
# the fact that sometimes it fails to start properly.
|
# the fact that sometimes it fails to start properly.
|
||||||
# Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1144100
|
# 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.
|
# every second time around the loop.
|
||||||
# See: https://bugs.launchpad.net/devstack/+bug/1449056 for details on
|
# See: https://bugs.launchpad.net/devstack/+bug/1449056 for details on
|
||||||
# why this is needed. This can bee seen on vivid and Debian unstable
|
# why this is needed. This can bee seen on vivid and Debian unstable
|
||||||
@ -106,7 +106,7 @@ function get_transport_url {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# iniset cofiguration
|
# iniset configuration
|
||||||
function iniset_rpc_backend {
|
function iniset_rpc_backend {
|
||||||
local package=$1
|
local package=$1
|
||||||
local file=$2
|
local file=$2
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# Functions
|
# 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
|
# stack_install_service service
|
||||||
function stack_install_service {
|
function stack_install_service {
|
||||||
local service=$1
|
local service=$1
|
||||||
|
@ -123,13 +123,13 @@ SWIFT_REPLICAS_SEQ=$(seq ${SWIFT_REPLICAS})
|
|||||||
# trace through the logs when looking for its use.
|
# trace through the logs when looking for its use.
|
||||||
SWIFT_LOG_TOKEN_LENGTH=${SWIFT_LOG_TOKEN_LENGTH:-12}
|
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 API
|
||||||
SWIFT_MAX_HEADER_SIZE=${SWIFT_MAX_HEADER_SIZE:-16384}
|
SWIFT_MAX_HEADER_SIZE=${SWIFT_MAX_HEADER_SIZE:-16384}
|
||||||
|
|
||||||
# Set ``OBJECT_PORT_BASE``, ``CONTAINER_PORT_BASE``, ``ACCOUNT_PORT_BASE``
|
# Set ``OBJECT_PORT_BASE``, ``CONTAINER_PORT_BASE``, ``ACCOUNT_PORT_BASE``
|
||||||
# Port bases used in port number calclution for the service "nodes"
|
# Port bases used in port number calculation for the service "nodes"
|
||||||
# The specified port number will be used, the additinal ports calculated by
|
# The specified port number will be used, the additional ports calculated by
|
||||||
# base_port + node_num * 10
|
# base_port + node_num * 10
|
||||||
OBJECT_PORT_BASE=${OBJECT_PORT_BASE:-6613}
|
OBJECT_PORT_BASE=${OBJECT_PORT_BASE:-6613}
|
||||||
CONTAINER_PORT_BASE=${CONTAINER_PORT_BASE:-6611}
|
CONTAINER_PORT_BASE=${CONTAINER_PORT_BASE:-6611}
|
||||||
|
4
stack.sh
4
stack.sh
@ -926,8 +926,8 @@ fi
|
|||||||
restart_rpc_backend
|
restart_rpc_backend
|
||||||
|
|
||||||
|
|
||||||
# Export Certicate Authority Bundle
|
# Export Certificate Authority Bundle
|
||||||
# ---------------------------------
|
# -----------------------------------
|
||||||
|
|
||||||
# If certificates were used and written to the SSL bundle file then these
|
# If certificates were used and written to the SSL bundle file then these
|
||||||
# should be exported so clients can validate their connections.
|
# should be exported so clients can validate their connections.
|
||||||
|
Loading…
Reference in New Issue
Block a user