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