Skip to content

Instantly share code, notes, and snippets.

@charlesflynn
Last active March 2, 2018 16:02
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save charlesflynn/5576114 to your computer and use it in GitHub Desktop.
Save charlesflynn/5576114 to your computer and use it in GitHub Desktop.
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