Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Neutron-legacy error

Hi all, I'm installig Openstack using Devstack, and I'm includind the ODL plugin.

This is my local.conf file:

[[local|localrc]]

#IP Details
HOST_IP=10.30.3.231 #Please Add The Control Node IP Address in this line
FLAT_INTERFACE=eth0
SERVICE_HOST=$HOST_IP
FIXED_RANGE=172.31.31.0/24
FIXED_NETWORK_SIZE=4096
NETWORK_GATEWAY=172.31.31.1
# FLOATING_RANGE=192.168.168.0/24
# PUBLIC_NETWORK_GATEWAY=192.168.168.1

#Instance Details
MULTI_HOST=1
#config Details
RECLONE=yes #Make it "no" after stacking successfully the first time
VERBOSE=True
LOG_COLOR=True
LOGFILE=/opt/stack/logs/stack.sh.log
SCREEN_LOGDIR=/opt/stack/logs
#OFFLINE=True #Uncomment this after stacking successfully the first time

#Passwords
ADMIN_PASSWORD=stack
DATABASE_PASSWORD=stack
RABBIT_PASSWORD=stack
SERVICE_PASSWORD=stack
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
ENABLE_TENANT_TUNNELS=false

#ML2 Details
Q_PLUGIN=ml2
Q_ML2_PLUGIN_MECHANISM_DRIVERS=opendaylight,openvswitch,linuxbridge
Q_ML2_TENANT_NETWORK_TYPE=local
Q_ML2_PLUGIN_TYPE_DRIVERS=vlan,gre,vxlan
disable_service n-net
enable_service q-svc
enable_service q-meta
enable_service q-dhcp
enable_service q-l3
enable_service neutron

enable_service odl-compute

ODL_MGR_IP=10.30.3.231 #Please Add the ODL IP Address in this line
OVS_PHYSICAL_BRIDGE=br-int
Q_OVS_USE_VETH=True


#Details of the Control node for various services
[[post-config|/etc/neutron/plugins/ml2/ml2_conf.ini]]
[ml2_odl]
url=http://10.30.3.231:8080/controller/nb/v2/neutron #Please Add the ODL IP Address in this line
username=admin
password=admin

VNCSERVER_PROXYCLIENT_ADDRESS=10.30.3.231
#set for live migration
VNCSERVER_LISTEN=0.0.0.0
NOVA_INSTANCES_PATH=/var/lib/nova/instances

I run ./stack and I receive this error:

2015-05-06 13:19:23.940 | + echo  'screen -t q-svc bash'  
2015-05-06 13:19:23.940 | + echo 'stuff "python /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron"'lugins/ml2/ml2_conf.ini
2015-05-06 13:19:23.941 | + [[ -n /opt/stack/logs ]]  
2015-05-06 13:19:23.941 | + echo 'logfile /opt/stack/logs/q-svc.log.2015-05-06-150747'
2015-05-06 13:19:23.941 | + echo 'log on'  
2015-05-06 13:19:23.941 | + 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/sta'k/status/stack/q-svc.failure"
2015-05-06 13:19:23.949 | + echo 'Waiting for Neutron to start...'
2015-05-06 13:19:23.949 | Waiting for Neutron to start...  
2015-05-06 13:19:23.949 | +is_ssl_enabled_service neutron
2015-05-06 13:19:23.950 | + local services=neutron  
2015-05-06 13:19:23.950 | + local service=
2015-05-06 13:19:23.950 | + '[' False == False ']' 
2015-05-06 13:19:23.951 | + return 1 
2015-05-06 13:19:23.951 | + timeout 60 sh -c 'while ! wget  --no-proxy -q -O- http://10.30.3.231:9696; do sleep 1; done'
2015-05-06 13:20:23.957 | + die 694 'Neutron did not start'  
2015-05-06 13:20:23.957 | + local exitcode=0
2015-05-06 13:20:23.958 | [Call Trace]
2015-05-06 13:20:23.958 | ./stack.sh:1212:start_neutron_service_and_check
2015-05-06 13:20:23.958 | /home/silvia/devstack/lib/neutron-legacy:694:die
2015-05-06 13:20:24.298 | [ERROR] /home/silvia/devstack/lib/neutron-legacy:694 Neutron did not start  
2015-05-06 13:20:25.306 | Error on exit

Could anyone help me please? I can't find anything on the web to fix it. Thank you