Installing DevStack

Download DevStack from git

git clone https://git.openstack.org/openstack-dev/devstack
cd devstack

Copy and edit local.conf

mv samples/local.conf local.conf
nano local.conf

Add 4 passwords preset at the root of devstack repository.

[[local|localrc]]
ADMIN_PASSWORD=admin
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

 

Using ifconfig command, you can know your IP adress as shown in Figure. You need it later to set up IP_Host in local.config.

ifconfig_LI

IP_HOST= 10.0.2.15

Then, set back, grap a cup of coffee and run

./stack.sh

 

Frequent Installation Issues

Sometimes, git protocal may have problem downloading resources. You need to add in local.conf

GIT_BASE=${GIT_BASE:-https://git.openstack.org}

Keystone did not start: well, you have a problem with your IP adress, most of all you may set a wrong one.

 

Publicités