Create a gist now

Instantly share code, notes, and snippets.

Resuming an existing Devstack installation on Ubuntu after reboot (assuming you have NOT run unstack.sh). IP addresses are the defaults used by stack.sh. In this example I'm using postgres as the database backend rather than the default mysql.
sudo ip addr flush dev br-ex
sudo sysctl -w net.ipv4.ip_forward=1
sudo ip addr add 172.24.4.225/28 dev br-ex
sudo ip link set br-ex up
sudo route add -net 10.0.0.0/24 gw 172.24.4.226
sudo service rabbitmq-server start
sudo service postgresql start
sudo service apache2 start
export SERVICE_TOKEN=password
export OS_TENANT_NAME=demo
export OS_USERNAME=admin
export OS_PASSWORD=$YOUR_ADMIN_PASSWORD
export OS_AUTH_URL=http://localhost:5000/v2.0/
export SERVICE_ENDPOINT=http://localhost:35357/v2.0
./rejoin-stack.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment