[Openstack] [Neutron] q-slv fail to start

Naresh Kumar NARESH.SAADHU at LNTTECHSERVICES.COM
Wed Feb 18 12:37:47 UTC 2015


Hi,
I have created a mechanism driver, modified the ml2 core plugin , added necessary conf file in neutron. While stacking I am getting following error,

2015-02-18 12:24:39.007 | + echo_summary 'Starting Neutron'
2015-02-18 12:24:39.008 | + [[ -t 3 ]]
2015-02-18 12:24:39.008 | + [[ True != \T\r\u\e ]]
2015-02-18 12:24:39.008 | + echo -e Starting Neutron
2015-02-18 12:24:39.008 | + start_neutron_service_and_check
2015-02-18 12:24:39.008 | + local cfg_file
2015-02-18 12:24:39.008 | + local 'CFG_FILE_OPTIONS=--config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
2015-02-18 12:24:39.008 | + run_process q-svc 'python /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
2015-02-18 12:24:39.008 | + local service=q-svc
2015-02-18 12:24:39.008 | + local 'command=python /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
2015-02-18 12:24:39.008 | + local group=
2015-02-18 12:24:39.008 | + is_service_enabled q-svc
2015-02-18 12:24:39.019 | + return 0
2015-02-18 12:24:39.019 | + [[ True = \T\r\u\e ]]
2015-02-18 12:24:39.019 | + screen_service q-svc 'python /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini' ''
2015-02-18 12:24:39.019 | + local service=q-svc
2015-02-18 12:24:39.019 | + local 'command=python /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
2015-02-18 12:24:39.019 | + local group=
2015-02-18 12:24:39.019 | + SCREEN_NAME=stack
2015-02-18 12:24:39.019 | + SERVICE_DIR=/opt/stack/status
2015-02-18 12:24:39.023 | ++ trueorfalse True True
2015-02-18 12:24:39.044 | + USE_SCREEN=True
2015-02-18 12:24:39.044 | + is_service_enabled q-svc
2015-02-18 12:24:39.054 | + return 0
2015-02-18 12:24:39.054 | + screen_rc q-svc 'python /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini'
2015-02-18 12:24:39.054 | + SCREEN_NAME=stack
2015-02-18 12:24:39.054 | + SCREENRC=/home/devstack/devstack/stack-screenrc
2015-02-18 12:24:39.054 | + [[ ! -e /home/devstack/devstack/stack-screenrc ]]
2015-02-18 12:24:39.054 | + grep q-svc /home/devstack/devstack/stack-screenrc
2015-02-18 12:24:39.074 | ++ echo -ne '\015'
2015-02-18 12:24:39.075 | + NL=$'\r'
2015-02-18 12:24:39.075 | + echo 'screen -t q-svc bash'
"'15-02-18 12:24:39.075 | + echo 'stuff "python /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini
2015-02-18 12:24:39.076 | + [[ -n /opt/stack/logs/screen ]]
2015-02-18 12:24:39.076 | + echo 'logfile /opt/stack/logs/screen/screen-q-svc.2015-02-18-175112.log'
2015-02-18 12:24:39.076 | + echo 'log on'
2015-02-18 12:24:39.076 | + screen -S stack -X screen -t q-svc
2015-02-18 12:24:39.095 | + [[ -n /opt/stack/logs/screen ]]
2015-02-18 12:24:39.095 | + screen -S stack -p q-svc -X logfile /opt/stack/logs/screen/screen-q-svc.2015-02-18-175112.log
2015-02-18 12:24:39.101 | + screen -S stack -p q-svc -X log on
2015-02-18 12:24:39.129 | + ln -sf /opt/stack/logs/screen/screen-q-svc.2015-02-18-175112.log /opt/stack/logs/screen/screen-q-svc.log
2015-02-18 12:24:39.135 | + sleep 3
2015-02-18 12:24:42.147 | ++ echo -ne '\015'
2015-02-18 12:24:42.149 | + NL=$'\r'
2015-02-18 12:24:42.151 | + [[ -n '' ]]
2015-02-18 12:24:42.151 | + 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/stack/status/stack/q-svc.failure"
2015-02-18 12:24:42.166 | + echo 'Waiting for Neutron to start...'
2015-02-18 12:24:42.166 | Waiting for Neutron to start...
2015-02-18 12:24:42.166 | + timeout 60 sh -c 'while ! wget --no-proxy -q -O- http://10.1.2.74:9696; do sleep 1; done'
2015-02-18 12:25:42.186 | + die 486 'Neutron did not start'
2015-02-18 12:25:42.187 | + local exitcode=0
2015-02-18 12:25:42.188 | [Call Trace]
2015-02-18 12:25:42.189 | ./stack.sh:1165:start_neutron_service_and_check
2015-02-18 12:25:42.189 | /home/devstack/devstack/lib/neutron:486:die
2015-02-18 12:25:42.200 | [ERROR] /home/devstack/devstack/lib/neutron:486 Neutron did not start

This is my localrc file:
DEST=/opt/stack

# Logging
LOGFILE=$DEST/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=False
SCREEN_LOGDIR=$DEST/logs/screen

# Credentials
ADMIN_PASSWORD=openstack
MYSQL_PASSWORD=openstack
RABBIT_PASSWORD=openstack
SERVICE_PASSWORD=openstack
SERVICE_TOKEN=tokentoken

# Github's Branch
GLANCE_BRANCH=stable/icehouse
HORIZON_BRANCH=stable/icehouse
KEYSTONE_BRANCH=stable/icehouse
NOVA_BRANCH=stable/icehouse
NEUTRON_BRANCH=stable/icehouse
HEAT_BRANCH=stable/icehouse
CEILOMETER_BRANCH=stable/icehouse
NEUTRON_REPO=https://github.com/CiscoSystems/neutron.git

#Neutron
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

# Neutron - ml2
Q_PLUGIN=ml2
Q_ML2_PLUGIN_MECHANISM_DRIVERS=overtureopendaylight,logger
enable_service odl-compute
ODL_MGR_IP=10.1.22.80

# Neutron - Load Balancing
ENABLED_SERVICES+=,q-lbaas

# VLAN configuration
Q_PLUGIN=ml2
Q_ML2_PLUGIN_TYPE_DRIVERS=vlan,flat
ENABLE_TENANT_VLANS=True
Q_ML2_TENANT_NETWORK_TYPE=vlan

# Heat - Orchestration Service
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
HEAT_STANDALONE=True

# Ceilometer - Metering Service (metering + alarming)
ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api
ENABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval


Please tell me what am I missing here?
Thanks in advance,
Naresh.

L&T Technology Services Ltd

www.LntTechservices.com<http://www.lnttechservices.com/>

This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150218/5184bf37/attachment.html>


More information about the Openstack mailing list