Ask Your Question
1

Neutron service not starting

asked 2014-11-20 01:51:59 -0500

Chhavi Kant gravatar image

updated 2014-11-26 12:24:53 -0500

smaffulli gravatar image

I am installing control node on ubuntu-14.04. In local.conf, i've added Q_PLUGIN=ml2 and also mentioned the odl url. Services that are enabled in local.conf are nova, n-cond, q-svc,q-dhcp,q-l3,q-meta,q-tempest,n-novnc,neutron and quantum.

In /opt/stack/data/log there is error in screen-q-svc.log file i.e. neutron raise cfg.RequiredOptError(opt, 'ml2_odl'). Also i think this error is coming because i havn't included post-config for ml2 in local.conf.

Following is the local.conf for same

[[local|localrc]] 
#LOGFILE=stack.sh.log 
SCREEN_LOGDIR=/opt/stack/data/log 
LOG_COLOR=False 
#OFFLINE=true
#RECLONE=no

# Only uncomment the below two lines if you are running on Fedora 
enable_service nova
#enable_service rabbit
disable_service n-cpu 
#disable_service q-pid
enable_service n-cond 
disable_service n-net 
enable_service q-svc 
enable_service q-dhcp 
enable_service q-l3 
enable_service q-meta 
enable_service tempest 
enable_service n-novnc 
enable_service neutron 
enable_service quantum
#enable_service q-agt 

Q_HOST=$SERVICE_HOST 
HOST_IP=1.1.1.2
PHYSICAL_INTERFACE=eth1
MULTI_HOST=true 
Q_PLUGIN=ml2 
Q_ML2_PLUGIN_MECHANISM_DRIVERS=opendaylight,logger 
ENABLE_TENANT_TUNNELS=True 
#NEUTRON_REPO=https://github.com/CiscoSystems/neutron.git
#NEUTRON_BRANCH=odl_ml2

VNCSERVER_PROXYCLIENT_ADDRESS=1.1.1.2
VNCSERVER_LISTEN=0.0.0.0 

HOST_NAME=tcs-VirtualBox
SERVICE_HOST_NAME=${HOST_NAME} 
SERVICE_HOST=1.1.1.2

MYSQL_HOST=$SERVICE_HOST 
RABBIT_HOST=$SERVICE_HOST 
GLANCE_HOSTPORT=$SERVICE_HOST:9292 
KEYSTONE_AUTH_HOST=$SERVICE_HOST 
KEYSTONE_SERVICE_HOST=$SERVICE_HOST 

MYSQL_PASSWORD=mysql 
RABBIT_PASSWORD=rabbit 
QPID_PASSWORD=rabbit 
SERVICE_TOKEN=service 
SERVICE_PASSWORD=admin 
ADMIN_PASSWORD=admin 

# Github's Branch 
GLANCE_BRANCH=stable/juno 
HORIZON_BRANCH=stable/juno 
KEYSTONE_BRANCH=stable/juno 
NOVA_BRANCH=stable/juno 
NEUTRON_BRANCH=stable/juno 
HEAT_BRANCH=stable/juno 
CEILOMETER_BRANCH=stable/juno 

[ml2_odl] 
url=http://1.1.1.3:8080/controller/nb/v2/neutron 
username=admin 
password=admin
edit retag flag offensive close merge delete

Comments

hi would be better to paste the whole local.conf here for us to take a close look.:-)

9lives gravatar image9lives ( 2014-11-20 03:20:49 -0500 )edit

ok, can you paste the neutron server log in folder /opt/stack/data/log? quantum is the old name of neutron, you might comment out the

enable_service quantum
9lives gravatar image9lives ( 2014-11-20 07:51:44 -0500 )edit

Also can you paste the /etc/neutron/neutron.conf and /etc/neutron/plugins/ml2/ml2_conf.ini, it would be easy to correlate with the logs.

prasoontelang gravatar imageprasoontelang ( 2014-11-20 21:32:43 -0500 )edit

In /opt/stack/data/log there is error in screen-q-svc.log file i.e. neutron raise cfg.RequiredOptError(opt, 'ml2_odl').

Also i think this error is coming because i havn't included post-config for ml2 in local.conf.

Chhavi Kant gravatar imageChhavi Kant ( 2014-11-20 23:17:05 -0500 )edit
2

ok, it that is the case, could you check if any section like [ml2_odl] in any of your neutron related configuration file? I guess this section is missing in neutron.conf.:)

9lives gravatar image9lives ( 2014-11-20 23:56:57 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-11-25 03:30:24 -0500

Chhavi Kant gravatar image

I have made couple of changes in my local.conf and with that openstack control node is working fine. I've added post-config, enabled an additional service odl-server and also added ODL_MGR_IP="ip_address_of_ODL_controller" in local.conf.

edit flag offensive delete link more

Comments

It's not clear: did you solve the issue?

smaffulli gravatar imagesmaffulli ( 2014-11-26 12:25:42 -0500 )edit

Yes, after adding the above mentioned things in local.conf the issue is resolved and openstack controller is running fine.

Chhavi Kant gravatar imageChhavi Kant ( 2014-11-27 02:59:12 -0500 )edit

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

Stats

Asked: 2014-11-20 01:51:59 -0500

Seen: 525 times

Last updated: Nov 26 '14