Ask Your Question
0

"neutron agent-list" is not showing compute node

asked 2014-06-11 08:29:06 -0700

chandralekha gravatar image

I am integrating icehouse devstack with odl.

stack.sh is successful in both compute and control nodes.

When i try to check "neutron agent-list" which shows only the services enabled in controller node

+--------------------------------------+--------------------+--------------------+-------+----------------+---------------------------+ | id | agenttype | host | alive | adminstate_up | binary | +--------------------------------------+--------------------+--------------------+-------+----------------+---------------------------+ | 4060d4be-32fd-4c71-8f7a-eb54c6e3b284 | DHCP agent | devtack-controller | :-) | True | neutron-dhcp-agent | | 7b20ef1c-d989-4b4f-896e-a106dabb32bd | Metadata agent | devtack-controller | :-) | True | neutron-metadata-agent | | 7e56754c-754d-48bd-9b3b-7c815d2269a9 | L3 agent | devtack-controller | :-) | True | neutron-l3-agent | | cf2432dc-bb30-405d-a5ff-7f3018ed37ba | Open vSwitch agent | devtack-controller | :-) | True | neutron-openvswitch-agent | +--------------------------------------+--------------------+--------------------+-------+----------------+---------------------------+

I am expecting this table to show "devstack-compute"(compute node host name) with openvswitch-agent enabled.

Please find attached the local.conf file of compute and controller node.

Tried i lot but couldnt fix this issue.

Any help is appreciated.

Please find below the local.conf file for compute and control node

  1. CONTROL NODE

[[local|localrc]] LOGFILE=stack.sh.log SCREENLOGDIR=/opt/stack/data/log LOGCOLOR=False

OFFLINE=True

RECLONE=yes

enable_service heat h-api h-api-cfn h-api-cw h-eng

Only uncomment the below two lines if you are running on Fedora

Enable network services

disableservice rabbit enableservice qpid

disableservice n-net enableservice n-cond disableservice n-cpu enableservice q-svc

enable_service q-agt

enableservice q-dhcp enableservice q-l3 enableservice q-meta enableservice quantum

# Optional, to enable tempest configuration as part of devstack

enable_service tempest

HOSTIP=192.168.60.10 HOSTNAME=devstack-controller

QPLUGIN=ml2 QML2PLUGINMECHANISM_DRIVERS=opendaylight,logger

FIXEDRANGE=10.0.0.0/24 NETWORKGATEWAY=10.0.0.1 FLOATINGRANGE=10.0.1.0/24 PUBLICNETWORKGATEWAY=10.0.1.111 PHYSICALNETWORK=physnet1 OVSPHYSICALBRIDGE=br-ex

ENABLETENANTTUNNELS=True QML2TENANTNETWORKTYPE=vxlan

QAGENTEXTRAAGENTOPTS=(tunnel_types=vxlan)

enableservice odl-compute ODLMGR_IP=192.168.12.235

NEUTRONREPO=https://github.com/CiscoSystems/neutron.git NEUTRONBRANCH=odl_ml2

VNCSERVERPROXYCLIENTADDRESS=192.168.60.10 VNCSERVER_LISTEN=0.0.0.0

SERVICEHOSTNAME=${HOSTNAME} SERVICEHOST=$HOST_IP

QHOST=$SERVICEHOST MYSQLHOST=$SERVICEHOST RABBITHOST=$SERVICEHOST GLANCEHOSTPORT=$SERVICEHOST:9292 KEYSTONEAUTHHOST=$SERVICEHOST KEYSTONESERVICEHOST=$SERVICEHOST

MYSQLPASSWORD=rootroot RABBITPASSWORD=rootroot QPIDPASSWORD=rootroot SERVICETOKEN=rootroot SERVICEPASSWORD=rootroot ADMINPASSWORD=rootroot

[[post-config|/etc/neutron/plugins/ml2/ml2conf.ini]] [agent] minimizepolling=True

[ml2_odl] url=http://192.168.12.235:8081/controller/nb/v2/neutron username=admin password=admin -----------------------------------------------------------------------------------------------------------

  1. COMPUTE NODE

[[local|localrc]] LOGFILE=stack.sh.log LOGCOLOR=False SCREENLOGDIR=/opt/stack/data/log

OFFLINE=true

RECLONE=yes

disableallservices enable_service neutron

enable_service q-agt

enableservice nova enableservice n-cpu enableservice n-novnc enableservice qpid enableservice quantum enableservice odl_compute

HOSTNAME=devstack-compute HOSTIP=192.168.60.9

SERVICEHOSTNAME=devstack-controller SERVICE_HOST=192.168.60.10

VNCSERVERPROXYCLIENTADDRESS=$HOSTIP VNCSERVERLISTEN=0.0.0.0

NEUTRONREPO=https://github.com/CiscoSystems/neutron.git NEUTRONBRANCH=odl_ml2

QPLUGIN=ml2 QML2PLUGINMECHANISMDRIVERS=opendaylight,linuxbridge ENABLETENANT_TUNNELS=True

QML2TENANTNETWORKTYPE=vlan

ENABLETENANTVLANS=True

QML2TENANTNETWORKTYPE=vxlan

Q ...

(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-06-11 10:53:46 -0700

shague gravatar image

Not exactly the answer to why the agent is not running, but OpenDaylight takes the place of the q-agt so it should not be included in the local.conf for either the control or compute nodes.

edit flag offensive delete publish link more

Comments

ok i got it. I will update the local.conf and try again.

chandralekha ( 2014-06-11 21:33:37 -0700 )edit

I tried with your suggestion but still the compute nodes openvswitch agent is not seen when i do "neutron agent-list"

chandralekha ( 2014-06-12 22:49:02 -0700 )edit

What service should i enable exactly to run neutron-pugin-agent to run in compute node

chandralekha ( 2014-06-12 23:50:36 -0700 )edit

I am successfully able to integrate odl with devstack. Now i understood how odl is taking the role of q-agt(neutron openvswitch-agent) in integration environment.

chandralekha ( 2014-07-21 03:52:46 -0700 )edit

Hi Chandralekha, I am trying to integrate the openstack with ODL. For me in the ODL GUI, it is showing the br-tun as well as br-int, but it is not connected. Do you know the reason? Can you please give some idea on what to look?

madhu22 ( 2014-11-17 11:39:53 -0700 )edit
0

answered 2014-11-18 17:48:26 -0700

madhu22 gravatar image

chandralekha, Here are the show commands I pasted in the pastebin. The link is, http://pastebin.com/2iQmfQ72

Below are the logs I m getting in ODL and openstack controller-server.log (not sure these the issues) - Please let me know.

014-11-18 17:15:21.304 23065 WARNING keystonemiddleware.authtoken [-] Authorization failed for token 2014-11-18 17:15:21.304 23065 WARNING keystonemiddleware.authtoken [-] Identity response: {"error": {"message": "Could not find token: f070d0fcaa914d7e839f9a8093cacf4b", "code": 404, "title": "Not Found"}} 2014-11-18 17:15:21.305 23065 WARNING keystonemiddleware.authtoken [-] Authorization failed for token 2014-11-18 17:15:21.305 23065 INFO keystonemiddleware.authtoken [-] Invalid user token - rejecting request

ODL LOG

2014-11-18 17:39:41.895 PST [nioEventLoopGroup-9-1] WARN o.o.o.o.m.c.t.PacketInTranslator - Multiple input ports (at least 147 and 3254779918) 2014-11-18 17:39:41.896 PST [nioEventLoopGroup-9-1] WARN o.o.o.o.m.c.t.PacketInTranslator - Multiple input ports (at least 147 and 3254779918) 2014-11-18 17:39:41.896 PST [nioEventLoopGroup-9-2] WARN o.o.o.o.m.c.t.PacketInTranslator - Multiple input ports (at least 316 and 3254779918) 2014-11-18 17:39:41.896 PST [nioEventLoopGroup-9-2] WARN o.o.o.o.m.c.t.PacketInTranslator - Multiple input ports (at least 316 and 3254779918) 2014-11-18 17:39:46.896 PST [nioEventLoopGroup-9-1] WARN o.o.o.o.m.c.t.PacketInTranslator - Multiple input ports (at least 147 and 3254779918) 2014-11-18 17:39:46.897 PST [nioEventLoopGroup-9-2] WARN o.o.o.o.m.c.t.PacketInTranslator - Multiple input ports (at least 316 and 3254779918) 2014-11-18 17:39:46.897 PST [nioEventLoopGroup-9-1] WARN o.o.o.o.m.c.t.PacketInTranslator - Multiple input ports (at least 147 and 3254779918) 2014-11-18 17:39:46.897 PST [nioEventLoopGroup-9-2] WARN o.o.o.o.m.c.t.PacketInTranslator - Multiple input ports (at least 316 and 3254779918) 2014-11-18 17:39:51.896 PST [nioEventLoopGroup-9-2] WARN o.o.o.o.m.c.t.PacketInTranslator - Multiple input ports (at least 316 and 3254779918)

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-06-11 08:29:06 -0700

Seen: 2,604 times

Last updated: Nov 18 '14