neutron-server crashing on controller [closed]

asked 2013-11-25 23:42:41 -0500

kbreit gravatar image

I am on CentOS 6.4 and trying to setup Neutron. Unfortunately I'm getting a crash when starting on this server. The server.log file is...

2013-11-25 23:41:16.756 8105 INFO neutron.common.config [-] Logging enabled!
2013-11-25 23:41:16.757 8105 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
2013-11-25 23:41:16.762 8105 INFO neutron.common.config [-] Config paste file: /etc/neutron/api-paste.ini
2013-11-25 23:41:16.822 8105 INFO neutron.manager [-] Loading Plugin: neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
2013-11-25 23:41:16.974 8105 INFO neutron.plugins.openvswitch.ovs_neutron_plugin [-] Network VLAN ranges: {}
2013-11-25 23:41:17.009 8105 INFO neutron.plugins.openvswitch.ovs_neutron_plugin [-] Tunnel ID ranges: [(1, 1000)]
2013-11-25 23:41:17.093 8105 ERROR neutron.service [-] In serve_wsgi()
2013-11-25 23:41:17.093 8105 TRACE neutron.service Traceback (most recent call last):
2013-11-25 23:41:17.093 8105 TRACE neutron.service   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 96, in serve_wsgi
2013-11-25 23:41:17.093 8105 TRACE neutron.service     service.start()
2013-11-25 23:41:17.093 8105 TRACE neutron.service   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 65, in start
2013-11-25 23:41:17.093 8105 TRACE neutron.service     self.wsgi_app = _run_wsgi(self.app_name)
2013-11-25 23:41:17.093 8105 TRACE neutron.service   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 109, in _run_wsgi
2013-11-25 23:41:17.093 8105 TRACE neutron.service     app = config.load_paste_app(app_name)
2013-11-25 23:41:17.093 8105 TRACE neutron.service   File "/usr/lib/python2.6/site-packages/neutron/common/config.py", line 144, in load_paste_app
2013-11-25 23:41:17.093 8105 TRACE neutron.service     app = deploy.loadapp("config:%s" % config_path, name=app_name)
2013-11-25 23:41:17.093 8105 TRACE neutron.service   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 247, in load
app
<snip>
2013-11-25 23:41:17.098 8105 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1583, in __inner
2013-11-25 23:41:17.098 8105 TRACE neutron     result = f(self, *args, **kwargs)
2013-11-25 23:41:17.098 8105 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1743, in register_cli_opts
2013-11-25 23:41:17.098 8105 TRACE neutron     self.register_cli_opt(opt, group, clear_cache=False)
2013-11-25 23:41:17.098 8105 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1587, in __inner
2013-11-25 23:41:17.098 8105 TRACE neutron     return f(self, *args, **kwargs)
2013-11-25 23:41:17.098 8105 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1735, in register_cli_opt
2013-11-25 23:41:17.098 8105 TRACE neutron     raise ArgsAlreadyParsedError("cannot register CLI option")
2013-11-25 23:41:17.098 8105 TRACE neutron ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
2013-11-25 23:41:17.098 8105 TRACE neutron

What appears to be wrong?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-11-28 09:47:10.874508

3 answers

Sort by ยป oldest newest most voted
1

answered 2013-11-28 01:38:57 -0500

dheeru gravatar image
I see similar question posted by you in list.openstack. Hope it is same problem. 
Can you check you have installed keystoneclient/middleware/authtoken* module ?
You server is failing while importing the above module. Due to this it is trying to load quantum configuration
edit flag offensive delete link more

Comments

Yes this is the same issue. I installed python-keystoneclient and it worked.

kbreit gravatar imagekbreit ( 2013-11-28 09:09:46 -0500 )edit
0

answered 2013-11-27 09:44:32 -0500

kbreit gravatar image
[ovs]
# (StrOpt) Type of network to allocate for tenant networks. The
# default value 'local' is useful only for single-box testing and
# provides no connectivity between hosts. You MUST either change this
# to 'vlan' and configure network_vlan_ranges below or change this to
# 'gre' or 'vxlan' and configure tunnel_id_ranges below in order for
# tenant networks to provide connectivity between hosts. Set to 'none'
# to disable creation of tenant networks.
#
tenant_network_type = gre
tunnel_id_ranges = 1:1000
enable_tunneling = True 
# Example: tenant_network_type = gre
# Example: tenant_network_type = vxlan

# (ListOpt) Comma-separated list of
# <physical_network>[:<vlan_min>:<vlan_max>] tuples enumerating ranges
# of VLAN IDs on named physical networks that are available for
# allocation. All physical networks listed are available for flat and
# VLAN provider network creation. Specified ranges of VLAN IDs are
# available for tenant network allocation if tenant_network_type is
# 'vlan'. If empty, only gre, vxlan and local networks may be created.
#
# network_vlan_ranges =
# Example: network_vlan_ranges = physnet1:1000:2999

# (BoolOpt) Set to True in the server and the agents to enable support
# for GRE or VXLAN networks. Requires kernel support for OVS patch ports and
# GRE or VXLAN tunneling.
#
# WARNING: This option will be deprecated in the Icehouse release, at which
#          point setting tunnel_type below will be required to enable
#          tunneling.
#
# enable_tunneling = False

# (StrOpt) The type of tunnel network, if any, supported by the plugin. If
# this is set, it will cause tunneling to be enabled. If this is not set and
# the option enable_tunneling is set, this will default to 'gre'.
#
# tunnel_type =
# Example: tunnel_type = gre
# Example: tunnel_type = vxlan

# (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples
# enumerating ranges of GRE or VXLAN tunnel IDs that are available for
# tenant network allocation if tenant_network_type is 'gre' or 'vxlan'.
#
# tunnel_id_ranges =
# Example: tunnel_id_ranges = 1:1000

# Do not change this parameter unless you have a good reason to.
# This is the name of the OVS integration bridge. There is one per hypervisor.
# The integration bridge acts as a virtual "patch bay". All VM VIFs are
# attached to this bridge and then "patched" according to their network
# connectivity.
#
# integration_bridge = br-int

# Only used for the agent if tunnel_id_ranges (above) is not empty for
# the server.  In most cases, the default value should be fine.
#
# tunnel_bridge = br-tun

# Peer patch port in integration bridge for tunnel bridge
# int_peer_patch_port = patch-tun

# Peer patch port in tunnel bridge for integration bridge
# tun_peer_patch_port = patch-int

# Uncomment this line for the agent if tunnel_id_ranges (above) is not
# empty for the server. Set local-ip to be the local IP address of
# this hypervisor.
#
# local_ip =

# (ListOpt) Comma-separated list of <physical_network>:<bridge> tuples
# mapping physical network names to the agent's node-specific OVS
# bridge names to be used for flat and VLAN networks. The length of
# bridge names should be no more than 11. Each bridge must
# exist, and should have a physical network interface configured as a
# port. All physical networks listed in network_vlan_ranges on the
# server should have mappings to appropriate bridges on each agent.
#
# bridge_mappings =
# Example: bridge_mappings = physnet1:br-eth1

[agent]
# Agent's polling interval in seconds
# polling_interval = 2

# (ListOpt) The types of tenant network tunnels supported ...
(more)
edit flag offensive delete link more
0

answered 2013-11-27 07:39:38 -0500

mestery gravatar image

Can you please paste the output of your ovs_neutron_plugin.ini file? From the code, it looks like you may have specified a configuration item twice.

edit flag offensive delete link more

Comments

I fixed my problem. I'm not sure exactly which it was but it seems to work now. First, I moved the auth_host and related items from [DEFAULT] to [keystone_authtoken]. Not sure if this is right. But it started working after I enabled a couple more parameters for qpid.

kbreit gravatar imagekbreit ( 2013-11-27 11:37:02 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-11-25 23:42:41 -0500

Seen: 1,183 times

Last updated: Nov 28 '13