Ask Your Question
0

devstack local.conf file

asked 2015-11-02 09:41:13 -0600

aksan gravatar image

Do i have to create a local.conf file ? I was not able to find in devstack folder. There was local.conf file in samples folder in devstack. But i don't think this was sourced by stackrc. So, when i run stack.sh, from where does it get the local.conf file. Also, what should i do to install neutron with the existing installation?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-11-02 13:58:47 -0600

dbaxps gravatar image

updated 2015-11-02 14:09:17 -0600

Run ./unstack.sh

Create a kind of local.conf bellow under devstack
This version will install neutron.

[[local|localrc]]
HOST_IP=192.168.1.142
ADMIN_PASSWORD=secret
MYSQL_PASSWORD=secret
RABBIT_PASSWORD=secret
SERVICE_PASSWORD=secret
FLOATING_RANGE=192.168.12.0/24
FLAT_INTERFACE=eth0
Q_FLOATING_ALLOCATION_POOL=start=192.168.12.150,end=192.168.12.254
PUBLIC_NETWORK_GATEWAY=192.168.12.15
SERVICE_TOKEN=super-secret-admin-token

DEST=/opt/stack
SERVICE_DIR=$DEST/status
DATA_DIR=$DEST/data
LOGFILE=$DEST/logs/stack.sh.log
LOGDIR=$DEST/logs

# The default fixed range (10.0.0.0/24) conflicted with an address
# range I was using locally.
FIXED_RANGE=10.254.1.0/24
NETWORK_GATEWAY=10.254.1.1

# Services
disable_service n-net
enable_service n-cauth
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service horizon
disable_service tempest

Either run :-

$ sudo ./unstack.sh
$ sudo reboot

Rerun ./stack.sh with local.conf above
Actually, it would be new fresh install with neutron.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-11-02 09:41:13 -0600

Seen: 363 times

Last updated: Nov 02 '15