Ask Your Question
0

is any mistake in my localrc ?

asked 2014-05-02 09:45:31 -0500

magic gravatar image

updated 2014-05-02 12:09:46 -0500

larsks gravatar image

i installed openstack mutinode by using devstack many times .still have some faults as below:

  1. the vm can not boot nomally. i think it must has some mistake about neutron in my localrc.

  2. i have a controll node 172.16.0.8 ,it also runs n-cpu, and the another host 172.16.0.9 just run some necessary process for compute node..

here is localrc about the two nodes.

the controller:

ADMIN_PASSWORD=password

MYSQL_PASSWORD=password

RABBIT_PASSWORD=password

SERVICE_PASSWORD=$ADMIN_PASSWORD

HOST_IP=172.16.0.8

LOGFILE=$DEST/logs/stack.sh.log

# #network
disable_service n-net

enable_service q-svc

enable_service q-agt

enable_service q-dhcp

enable_service q-l3

enable_service q-meta

enable_service neutron

# # GRE tunnel configuration

Q_PLUGIN=ml2

ENABLE_TENANT_TUNNELS=True

# #swift
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5

SWIFT_REPLICAS=1

SWIFT_DATA_DIR=$DEST/data

ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account

# #sahara

ENABLED_SERVICES+=,sahara

# #

MULTI_HOST=1

SERVICE_TOKEN=password

the compute node:

ADMIN_PASSWORD=password

MYSQL_PASSWORD=password

RABBIT_PASSWORD=password

SERVICE_PASSWORD=$ADMIN_PASSWORD

HOST_IP=172.16.0.9

LOGFILE=$DEST/logs/stack.sh.log

# #GRE tunnel configuration
Q_PLUGIN=ml2

ENABLE_TENANT_TUNNELS=True
# #
MULTI_HOST=1
# #
disable_all_services

ENABLED_SERVICES=n-cpu,rabbit,neutron,q-agt
# #
SERVICE_HOST=172.16.0.8

DATABASE_TYPE=mysql

SERVICE_HOST=172.16.0.8

MYSQL_HOST=172.16.0.8

RABBIT_HOST=172.16.0.8

GLANCE_HOSTPORT=172.16.0.8:9292

Q_HOST=172.16.0.8

SERVICE_TOKEN=password

can you fix my localrc? thx very much .

edit retag flag offensive close merge delete

Comments

1

Instead of sharing your localrc, you should focus on reading the errors in the logs and trying to identify the root cause of your VM not booting.

smaffulli gravatar imagesmaffulli ( 2014-05-02 15:03:11 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-05-05 00:29:20 -0500

SGPJ gravatar image

updated 2014-05-05 00:30:01 -0500

You can compare localrc with link and enable appropriate services that you need. Also provide log files & errors to troubleshoot.

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: 2014-05-02 09:45:31 -0500

Seen: 119 times

Last updated: May 05 '14