diff --git a/lib/databases/mysql b/lib/databases/mysql index fb55b60ff6..7ae9a936d6 100644 --- a/lib/databases/mysql +++ b/lib/databases/mysql @@ -85,12 +85,12 @@ function configure_database_mysql { sudo mysqladmin -u root password $DATABASE_PASSWORD || true fi - # Update the DB to give user ‘$DATABASE_USER’@’%’ full control of the all databases: + # Update the DB to give user '$DATABASE_USER'@'%' full control of the all databases: sudo mysql -uroot -p$DATABASE_PASSWORD -h127.0.0.1 -e "GRANT ALL PRIVILEGES ON *.* TO '$DATABASE_USER'@'%' identified by '$DATABASE_PASSWORD';" # Now update ``my.cnf`` for some local needs and restart the mysql service - # Change ‘bind-address’ from localhost (127.0.0.1) to any (::) and + # Change bind-address from localhost (127.0.0.1) to any (::) and # set default db type to InnoDB sudo bash -c "source $TOP_DIR/functions && \ iniset $my_conf mysqld bind-address "$SERVICE_LISTEN_ADDRESS" && \ diff --git a/lib/swift b/lib/swift index 96d730ef2c..dac121be0c 100644 --- a/lib/swift +++ b/lib/swift @@ -97,7 +97,7 @@ SWIFT_EXTRAS_MIDDLEWARE_LAST=${SWIFT_EXTRAS_MIDDLEWARE_LAST:-} # the beginning of the pipeline, before authentication middlewares. SWIFT_EXTRAS_MIDDLEWARE_NO_AUTH=${SWIFT_EXTRAS_MIDDLEWARE_NO_AUTH:-crossdomain} -# The ring uses a configurable number of bits from a path’s MD5 hash as +# The ring uses a configurable number of bits from a path's MD5 hash as # a partition index that designates a device. The number of bits kept # from the hash is known as the partition power, and 2 to the partition # power indicates the partition count. Partitioning the full MD5 hash diff --git a/lib/tempest b/lib/tempest index 6863bae9de..e7f825f417 100644 --- a/lib/tempest +++ b/lib/tempest @@ -391,7 +391,7 @@ function configure_tempest { # and is now the default behavior. iniset $TEMPEST_CONFIG compute-feature-enabled allow_duplicate_networks ${NOVA_ALLOW_DUPLICATE_NETWORKS:-True} - # Network + # Network iniset $TEMPEST_CONFIG network api_version 2.0 iniset $TEMPEST_CONFIG network tenant_networks_reachable "$tenant_networks_reachable" iniset $TEMPEST_CONFIG network public_network_id "$public_network_id" @@ -473,7 +473,7 @@ function configure_tempest { if [[ ! -z "$DISABLE_VOLUME_API_EXTENSIONS" ]]; then # Enabled extensions are either the ones explicitly specified or those available on the API endpoint volume_api_extensions=${VOLUME_API_EXTENSIONS:-$(iniget $tmp_cfg_file volume-feature-enabled api_extensions | tr -d " ")} - # Remove disabled extensions + # Remove disabled extensions volume_api_extensions=$(remove_disabled_extensions $volume_api_extensions $DISABLE_VOLUME_API_EXTENSIONS) fi iniset $TEMPEST_CONFIG volume-feature-enabled api_extensions $volume_api_extensions