Ask Your Question
0

Neutron service not starting(q-svc failed to start)

asked 2015-03-04 02:35:19 -0500

DelightD gravatar image

updated 2015-03-04 02:40:53 -0500

I am installing control node with Devstack (SDN controller is OpenDaylight) os: Ubuntu14.04. In my local.conf I've added Q_PLUGIN=ml2 . I can't install successful always stuck at "Neutron service is not starting"(first is q-svc failed to start) , I hope you guys can help me please, thank you. error message:

2015-03-04 08:02:55.936 | + screen -S stack -p q-svc -X stuff 'python /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini & echo $! >/opt/stack/status/stack/q-svc.pid; fg || echo "q-svc failed to start" | tee "/opt/s'ack/status/stack/q-svc.failure"
2015-03-04 08:02:55.941 | + echo 'Waiting for Neutron to start...'
2015-03-04 08:02:55.941 | Waiting for Neutron to start...
2015-03-04 08:02:55.941 | + is_ssl_enabled_service neutron
2015-03-04 08:02:55.941 | + local services=neutron
2015-03-04 08:02:55.941 | + local service=
2015-03-04 08:02:55.941 | + '[' False == False ']'
2015-03-04 08:02:55.941 | + return 1
2015-03-04 08:02:55.941 | + timeout 60 sh -c 'while ! wget  --no-proxy -q -O- http://SERVICE_HOST:9696; do sleep 1; done'
2015-03-04 08:03:55.944 | + die 694 'Neutron did not start'
2015-03-04 08:03:55.944 | + local exitcode=0
2015-03-04 08:03:55.944 | [Call Trace]
2015-03-04 08:03:55.944 | ./stack.sh:1179:start_neutron_service_and_check
2015-03-04 08:03:55.944 | /home/opstack/devstack/lib/neutron:694:die
2015-03-04 08:03:55.999 | [ERROR] /home/opstack/devstack/lib/neutron:694 Neutron did not start
2015-03-04 08:03:57.047 | Error on exit
opstack@opstack-PU301LA:~/devstack$

Below is my local.conf

[[local|localrc]]
LOGFILE=/opt/stack/logs/stack.sh.log
SCREEN_LOGDIR=/opt/stack/logs
LOG_COLOR=False
RECLONE=yes
VERBOSE=True
#Service
disable all services
#core compute(glance+keystone+nova+vnc)
enable_service nova n-cpu n-cond n-novnc            
disable_service n-net

#dashboard
enable_service horizon

#network&opendaylight
enable_service q-svc q-dhcp q-l3 q-meta neutron 

#additional service
enable_service mysql tempest

#Message
#enable_service qpid
enabcle_service rabbit

#ODL
enable_service odl-server odl-compute

#Host
Q_HOST=SERVICE_HOST
HOST_IP=192.168.5.203
PHYSICAL_INTERFACE=eth0
MULTI_HOST=true

#OpendayLight ml2 vlan and gre tunnel
Q_PLUGIN-ml2
ODL_MGR_IP=192.168.5.23
Q_ML2_PLUGIN_MECHANISM_DRIVERS=opendaylight,logger
ENABLE_TENANT_TUNNELS=True

#NEUTRON_REPO=https://github.com/CiscoSystems/neutron.git 
#NEUTRIN_BRANCH=odl_ml2

VNCSERVER_PROXYCLIENT_ADDRESS=192.168.5.203
VNCSERVER_LISTEN=0.0.0.0

#Q_ML2_TENANT_NETWORK_TYPE=local
#Q_ML2_PLUGIN_TYPE_DRIVERS=local

HOST_NAME=stackcontroller
SERVICE_HOST_NAME=${HOST_NAME}
SERVICE_HOST=192.168.5.203

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

MYSQL_PASSWORD=jizzbear
RABBIT_PASSWORD=jizzbear
#QPID_PASSWORD=jizzbear
SERVICE_TOKEN=service
SERVICE_PASSWORD=admin
ADMIN_PASSWORD=admin

#OVS_PHYSICAL_BRIDGE=br-int

NEUTRON_BRANCH=stable/juno

[[post-config|/etc/neutron/plugins/ml2/ml2_conf.ini]]
[ml2_odl]
url=http://192.168.5.23:8080/controller/nb/v2/neutron
username=admin
password=admin

[agent]
minimize_polling=True
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-05 18:13:10 -0500

teoleg gravatar image

Did you try to replace variables with actual values. Instance of $SERVICE_HOST use actual IP address??

edit flag offensive delete link more

Comments

I solve this problem :)

My ODL is on Fedora20 but Devstack is on Ubuntu Notebook

so I change my ODL os to Ubuntu 14.04 then it pass!

DelightD gravatar imageDelightD ( 2015-03-10 07:42:33 -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

1 follower

Stats

Asked: 2015-03-04 02:35:19 -0500

Seen: 2,143 times

Last updated: Mar 04 '15