[Openstack] Neutron-legacy error

Vikram Choudhary vikram.choudhary at huawei.com
Thu May 7 08:26:50 UTC 2015


Log say’s:
2015-05-07 09:15:56.890 [01;31mERROR neutron.plugins.ml2.managers [[00;36m-[01;31m] [01;35m[01;31mNo type driver for tenant network_type: local. Service terminated![00m

I can find a bug for same issue raise long back. Please check whether it’s applicable to you as well.
https://bugs.launchpad.net/neutron/+bug/1250311

From: Silvia Fichera [mailto:fichera.sil at gmail.com]
Sent: 07 May 2015 13:08
To: Salvatore Orlando
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] Neutron-legacy error

I have attached the q-svc.log.
Can you see something from it?
Il giorno mer 6 mag 2015 alle ore 18:25 Salvatore Orlando <sorlando at nicira.com<mailto:sorlando at nicira.com>> ha scritto:
Silvia,

Unfortunately this log snippet just tells us that Neutron failed at startup.
There might be more information in the Neutron log. As the service failed to start you should see a traceback in q-svc.log (or whatever name you have for neutron's screen log).

Regards,
Salvatore

On 6 May 2015 at 15:29, Silvia Fichera <fichera.sil at gmail.com<mailto:fichera.sil at gmail.com>> wrote:
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<http://172.31.31.0/24>
FIXED_NETWORK_SIZE=4096
NETWORK_GATEWAY=172.31.31.1
# FLOATING_RANGE=192.168.168.0/24<http://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
Silvia

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150507/2ff1be45/attachment.html>


More information about the Openstack mailing list