remove SERVICE_TOKEN from the docs
there are a few lingering instances of SERVICE_TOKEN in the docs and some of the scripts in tools. Change-Id: I9d2147eea6639db1f4ea15a259c147eecfc339ff
This commit is contained in:
parent
923be5f791
commit
3567d6103a
@ -108,7 +108,6 @@ values that most often need to be set.
|
|||||||
DATABASE_PASSWORD=$ADMIN_PASSWORD
|
DATABASE_PASSWORD=$ADMIN_PASSWORD
|
||||||
RABBIT_PASSWORD=$ADMIN_PASSWORD
|
RABBIT_PASSWORD=$ADMIN_PASSWORD
|
||||||
SERVICE_PASSWORD=$ADMIN_PASSWORD
|
SERVICE_PASSWORD=$ADMIN_PASSWORD
|
||||||
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
|
|
||||||
#FIXED_RANGE=172.31.1.0/24
|
#FIXED_RANGE=172.31.1.0/24
|
||||||
#FLOATING_RANGE=192.168.20.0/25
|
#FLOATING_RANGE=192.168.20.0/25
|
||||||
#HOST_IP=10.3.4.5
|
#HOST_IP=10.3.4.5
|
||||||
|
@ -34,7 +34,6 @@ Edit your ``local.conf`` to look like
|
|||||||
DATABASE_PASSWORD=password
|
DATABASE_PASSWORD=password
|
||||||
ADMIN_PASSWORD=password
|
ADMIN_PASSWORD=password
|
||||||
SERVICE_PASSWORD=password
|
SERVICE_PASSWORD=password
|
||||||
SERVICE_TOKEN=password
|
|
||||||
RABBIT_PASSWORD=password
|
RABBIT_PASSWORD=password
|
||||||
# Enable Logging
|
# Enable Logging
|
||||||
LOGFILE=$DEST/logs/stack.sh.log
|
LOGFILE=$DEST/logs/stack.sh.log
|
||||||
|
@ -131,7 +131,6 @@ cluster controller's DevStack in ``local.conf``:
|
|||||||
DATABASE_PASSWORD=supersecret
|
DATABASE_PASSWORD=supersecret
|
||||||
RABBIT_PASSWORD=supersecrete
|
RABBIT_PASSWORD=supersecrete
|
||||||
SERVICE_PASSWORD=supersecrete
|
SERVICE_PASSWORD=supersecrete
|
||||||
SERVICE_TOKEN=xyzpdqlazydog
|
|
||||||
|
|
||||||
In the multi-node configuration the first 10 or so IPs in the private
|
In the multi-node configuration the first 10 or so IPs in the private
|
||||||
subnet are usually reserved. Add this to ``local.sh`` to have it run
|
subnet are usually reserved. Add this to ``local.sh`` to have it run
|
||||||
@ -172,7 +171,6 @@ machines, create a ``local.conf`` with:
|
|||||||
DATABASE_PASSWORD=supersecret
|
DATABASE_PASSWORD=supersecret
|
||||||
RABBIT_PASSWORD=supersecrete
|
RABBIT_PASSWORD=supersecrete
|
||||||
SERVICE_PASSWORD=supersecrete
|
SERVICE_PASSWORD=supersecrete
|
||||||
SERVICE_TOKEN=xyzpdqlazydog
|
|
||||||
DATABASE_TYPE=mysql
|
DATABASE_TYPE=mysql
|
||||||
SERVICE_HOST=192.168.42.11
|
SERVICE_HOST=192.168.42.11
|
||||||
MYSQL_HOST=$SERVICE_HOST
|
MYSQL_HOST=$SERVICE_HOST
|
||||||
|
@ -59,7 +59,6 @@ serving as a hypervisor for guest instances.
|
|||||||
DATABASE_PASSWORD=secrete
|
DATABASE_PASSWORD=secrete
|
||||||
RABBIT_PASSWORD=secrete
|
RABBIT_PASSWORD=secrete
|
||||||
SERVICE_PASSWORD=secrete
|
SERVICE_PASSWORD=secrete
|
||||||
SERVICE_TOKEN=secrete
|
|
||||||
|
|
||||||
# Do not use Nova-Network
|
# Do not use Nova-Network
|
||||||
disable_service n-net
|
disable_service n-net
|
||||||
@ -231,7 +230,6 @@ The host `devstack-2` has a very minimal `local.conf`.
|
|||||||
MYSQL_PASSWORD=secrete
|
MYSQL_PASSWORD=secrete
|
||||||
RABBIT_PASSWORD=secrete
|
RABBIT_PASSWORD=secrete
|
||||||
SERVICE_PASSWORD=secrete
|
SERVICE_PASSWORD=secrete
|
||||||
SERVICE_TOKEN=secrete
|
|
||||||
|
|
||||||
## Neutron options
|
## Neutron options
|
||||||
PUBLIC_INTERFACE=eth0
|
PUBLIC_INTERFACE=eth0
|
||||||
@ -362,7 +360,6 @@ controller node.
|
|||||||
MYSQL_PASSWORD=secrete
|
MYSQL_PASSWORD=secrete
|
||||||
RABBIT_PASSWORD=secrete
|
RABBIT_PASSWORD=secrete
|
||||||
SERVICE_PASSWORD=secrete
|
SERVICE_PASSWORD=secrete
|
||||||
SERVICE_TOKEN=secrete
|
|
||||||
|
|
||||||
## Neutron options
|
## Neutron options
|
||||||
Q_USE_SECGROUP=True
|
Q_USE_SECGROUP=True
|
||||||
@ -410,7 +407,6 @@ compute node 1.
|
|||||||
MYSQL_PASSWORD=secrete
|
MYSQL_PASSWORD=secrete
|
||||||
RABBIT_PASSWORD=secrete
|
RABBIT_PASSWORD=secrete
|
||||||
SERVICE_PASSWORD=secrete
|
SERVICE_PASSWORD=secrete
|
||||||
SERVICE_TOKEN=secrete
|
|
||||||
|
|
||||||
# Services that a compute node runs
|
# Services that a compute node runs
|
||||||
ENABLED_SERVICES=n-cpu,rabbit,q-agt
|
ENABLED_SERVICES=n-cpu,rabbit,q-agt
|
||||||
|
@ -108,7 +108,6 @@ do the following:
|
|||||||
DATABASE_PASSWORD=iheartdatabases
|
DATABASE_PASSWORD=iheartdatabases
|
||||||
RABBIT_PASSWORD=flopsymopsy
|
RABBIT_PASSWORD=flopsymopsy
|
||||||
SERVICE_PASSWORD=iheartksl
|
SERVICE_PASSWORD=iheartksl
|
||||||
SERVICE_TOKEN=xyzpdqlazydog
|
|
||||||
|
|
||||||
Run DevStack:
|
Run DevStack:
|
||||||
|
|
||||||
|
@ -67,7 +67,6 @@ passed as the user-data file when booting the VM.
|
|||||||
echo DATABASE_PASSWORD=password >> local.conf
|
echo DATABASE_PASSWORD=password >> local.conf
|
||||||
echo RABBIT_PASSWORD=password >> local.conf
|
echo RABBIT_PASSWORD=password >> local.conf
|
||||||
echo SERVICE_PASSWORD=password >> local.conf
|
echo SERVICE_PASSWORD=password >> local.conf
|
||||||
echo SERVICE_TOKEN=tokentoken >> local.conf
|
|
||||||
./stack.sh
|
./stack.sh
|
||||||
path: /home/stack/start.sh
|
path: /home/stack/start.sh
|
||||||
permissions: 0755
|
permissions: 0755
|
||||||
|
@ -156,7 +156,7 @@ if [ -z "$MODE" ]; then
|
|||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export -n SERVICE_TOKEN SERVICE_ENDPOINT OS_SERVICE_TOKEN OS_SERVICE_ENDPOINT
|
export -n SERVICE_ENDPOINT OS_SERVICE_ENDPOINT
|
||||||
|
|
||||||
EC2_URL=$(openstack endpoint list --service ec2 --interface public --os-identity-api-version=3 -c URL -f value || true)
|
EC2_URL=$(openstack endpoint list --service ec2 --interface public --os-identity-api-version=3 -c URL -f value || true)
|
||||||
if [[ -z $EC2_URL ]]; then
|
if [[ -z $EC2_URL ]]; then
|
||||||
|
@ -78,7 +78,6 @@ Of course, use real passwords if this machine is exposed.
|
|||||||
# to prompt for these passwords, blocking the install process.
|
# to prompt for these passwords, blocking the install process.
|
||||||
|
|
||||||
DATABASE_PASSWORD=my_super_secret
|
DATABASE_PASSWORD=my_super_secret
|
||||||
SERVICE_TOKEN=my_super_secret
|
|
||||||
ADMIN_PASSWORD=my_super_secret
|
ADMIN_PASSWORD=my_super_secret
|
||||||
SERVICE_PASSWORD=my_super_secret
|
SERVICE_PASSWORD=my_super_secret
|
||||||
RABBIT_PASSWORD=my_super_secret
|
RABBIT_PASSWORD=my_super_secret
|
||||||
|
Loading…
Reference in New Issue
Block a user