Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

neutron-server not able to start -

I am doing initial config, and trying to start neutron-server, which fails to start .. my config is simple.

Error -

2014-05-08 16:03:37.368 20161 TRACE neutron service.start() 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/service.py", line 68, in start 2014-05-08 16:03:37.368 20161 TRACE neutron self.wsgi_app = _run_wsgi(self.app_name) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/service.py", line 112, in _run_wsgi 2014-05-08 16:03:37.368 20161 TRACE neutron app = config.load_paste_app(app_name) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/common/config.py", line 144, in load_paste_app 2014-05-08 16:03:37.368 20161 TRACE neutron app = deploy.loadapp("config:%s" % config_path, name=app_name) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 247, in loadapp 2014-05-08 16:03:37.368 20161 TRACE neutron return loadobj(APP, uri, name=name, *kw) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 272, in loadobj 2014-05-08 16:03:37.368 20161 TRACE neutron return context.create() 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 710, in create 2014-05-08 16:03:37.368 20161 TRACE neutron return self.object_type.invoke(self) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 144, in invoke 2014-05-08 16:03:37.368 20161 TRACE neutron *context.local_conf) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/util.py", line 56, in fix_call 2014-05-08 16:03:37.368 20161 TRACE neutron val = callable(args, *kw) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/paste/urlmap.py", line 25, in urlmap_factory 2014-05-08 16:03:37.368 20161 TRACE neutron app = loader.get_app(app_name, global_conf=global_conf) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 350, in get_app 2014-05-08 16:03:37.368 20161 TRACE neutron name=name, global_conf=global_conf).create() 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 710, in create 2014-05-08 16:03:37.368 20161 TRACE neutron return self.object_type.invoke(self) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 144, in invoke 2014-05-08 16:03:37.368 20161 TRACE neutron *context.local_conf) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/util.py", line 56, in fix_call 2014-05-08 16:03:37.368 20161 TRACE neutron val = callable(args, **kw) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/neutron/auth.py", line 62, in pipeline_factory 2014-05-08 16:03:37.368 20161 TRACE neutron app = filter(app) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 1412, in auth_filter 2014-05-08 16:03:37.368 20161 TRACE neutron return AuthProtocol(app, conf) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 460, in __init__ 2014-05-08 16:03:37.368 20161 TRACE neutron self.admin_password = self._conf_get('admin_password') 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 519, in _conf_get 2014-05-08 16:03:37.368 20161 TRACE neutron return CONF.keystone_authtoken[name] 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2200, in __getitem__ 2014-05-08 16:03:37.368 20161 TRACE neutron return self.__getattr__(key) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2196, in __getattr__ 2014-05-08 16:03:37.368 20161 TRACE neutron return self._conf._get(name, self._group) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1996, in _get 2014-05-08 16:03:37.368 20161 TRACE neutron value = self._substitute(self._do_get(name, group, namespace)) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2052, in _substitute 2014-05-08 16:03:37.368 20161 TRACE neutron return tmpl.safe_substitute(self.StrSubWrapper(self)) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib64/python2.6/string.py", line 205, in safe_substitute 2014-05-08 16:03:37.368 20161 TRACE neutron return self.pattern.sub(convert, self.template) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib64/python2.6/string.py", line 190, in convert 2014-05-08 16:03:37.368 20161 TRACE neutron return '%s' % (mapping[named],) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2270, in __getitem__ 2014-05-08 16:03:37.368 20161 TRACE neutron value = getattr(self.conf, key) 2014-05-08 16:03:37.368 20161 TRACE neutron File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1652, in __getattr__ 2014-05-08 16:03:37.368 20161 TRACE neutron raise NoSuchOptError(name) 2014-05-08 16:03:37.368 20161 TRACE neutron NoSuchOptError: no such option: c0123



[DEFAULT] [DEFAULT] auth_strategy = keystone rpc_backend = neutron.openstack.common.rpc.impl_kombu rabbit_ha_queues = True rabbit_notification_exchange = neutron rabbit_notification_topic = notifications rabbit_durable_queues = False rabbit_hosts = server1:5672,server2:5672,server3:5672 rabbit_userid = openstack_rabbit_user rabbit_password = password core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2 use_ssl = False api_paste_config = /etc/neutron/api-paste.ini dhcp_lease_duration = 600 dhcp_lease_time = 600 force_dhcp_release = True control_exchange = neutron notification_driver = neutron.openstack.common.notifier.rpc_notifier default_notification_level = INFO notification_topics = notifications api_workers = 4 agent_down_time = 60 debug = True verbose = True [quotas] [agent] root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf [keystone_authtoken] auth_host = cloud-name admin_tenant_name = services admin_user = osc-neutron.gen admin_password = xxxxxxxxxx auth_port = 35357 auth_protocol = http [database] [service_providers] [AGENT] report_interval = 28

click to hide/show revision 2
No.2 Revision

neutron-server not able to start -

I am doing initial config, and trying to start neutron-server, which fails to start .. my config is simple.

Error -

2014-05-08 16:03:37.368 20161 TRACE neutron     service.start()
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 68, in start
2014-05-08 16:03:37.368 20161 TRACE neutron     self.wsgi_app = _run_wsgi(self.app_name)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 112, in _run_wsgi
2014-05-08 16:03:37.368 20161 TRACE neutron     app = config.load_paste_app(app_name)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/common/config.py", line 144, in load_paste_app
2014-05-08 16:03:37.368 20161 TRACE neutron     app = deploy.loadapp("config:%s" % config_path, name=app_name)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 247, in loadapp
2014-05-08 16:03:37.368 20161 TRACE neutron     return loadobj(APP, uri, name=name, *kw)
**kw)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 272, in loadobj
2014-05-08 16:03:37.368 20161 TRACE neutron     return context.create()
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 710, in create
2014-05-08 16:03:37.368 20161 TRACE neutron     return self.object_type.invoke(self)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 144, in invoke
2014-05-08 16:03:37.368 20161 TRACE neutron     *context.local_conf)
**context.local_conf)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/util.py", line 56, in fix_call
2014-05-08 16:03:37.368 20161 TRACE neutron     val = callable(args, *kw)
callable(*args, **kw)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/paste/urlmap.py", line 25, in urlmap_factory
2014-05-08 16:03:37.368 20161 TRACE neutron     app = loader.get_app(app_name, global_conf=global_conf)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 350, in get_app
2014-05-08 16:03:37.368 20161 TRACE neutron     name=name, global_conf=global_conf).create()
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 710, in create
2014-05-08 16:03:37.368 20161 TRACE neutron     return self.object_type.invoke(self)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/loadwsgi.py", line 144, in invoke
2014-05-08 16:03:37.368 20161 TRACE neutron     *context.local_conf)
**context.local_conf)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/PasteDeploy-1.5.0-py2.6.egg/paste/deploy/util.py", line 56, in fix_call
2014-05-08 16:03:37.368 20161 TRACE neutron     val = callable(args, callable(*args, **kw)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/auth.py", line 62, in pipeline_factory
2014-05-08 16:03:37.368 20161 TRACE neutron     app = filter(app)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 1412, in auth_filter
2014-05-08 16:03:37.368 20161 TRACE neutron     return AuthProtocol(app, conf)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 460, in __init__
2014-05-08 16:03:37.368 20161 TRACE neutron     self.admin_password = self._conf_get('admin_password')
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 519, in _conf_get
2014-05-08 16:03:37.368 20161 TRACE neutron     return CONF.keystone_authtoken[name]
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2200, in __getitem__
2014-05-08 16:03:37.368 20161 TRACE neutron     return self.__getattr__(key)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2196, in __getattr__
2014-05-08 16:03:37.368 20161 TRACE neutron     return self._conf._get(name, self._group)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1996, in _get
2014-05-08 16:03:37.368 20161 TRACE neutron     value = self._substitute(self._do_get(name, group, namespace))
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2052, in _substitute
2014-05-08 16:03:37.368 20161 TRACE neutron     return tmpl.safe_substitute(self.StrSubWrapper(self))
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib64/python2.6/string.py", line 205, in safe_substitute
2014-05-08 16:03:37.368 20161 TRACE neutron     return self.pattern.sub(convert, self.template)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib64/python2.6/string.py", line 190, in convert
2014-05-08 16:03:37.368 20161 TRACE neutron     return '%s' % (mapping[named],)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2270, in __getitem__
2014-05-08 16:03:37.368 20161 TRACE neutron     value = getattr(self.conf, key)
2014-05-08 16:03:37.368 20161 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1652, in __getattr__
2014-05-08 16:03:37.368 20161 TRACE neutron     raise NoSuchOptError(name)
2014-05-08 16:03:37.368 20161 TRACE neutron NoSuchOptError: no such option: c0123



c0123 ***************** ****** [DEFAULT] [DEFAULT] auth_strategy = keystone rpc_backend = neutron.openstack.common.rpc.impl_kombu rabbit_ha_queues = True rabbit_notification_exchange = neutron rabbit_notification_topic = notifications rabbit_durable_queues = False rabbit_hosts = server1:5672,server2:5672,server3:5672 rabbit_userid = openstack_rabbit_user rabbit_password = password core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2 use_ssl = False api_paste_config = /etc/neutron/api-paste.ini dhcp_lease_duration = 600 dhcp_lease_time = 600 force_dhcp_release = True control_exchange = neutron notification_driver = neutron.openstack.common.notifier.rpc_notifier default_notification_level = INFO notification_topics = notifications api_workers = 4 agent_down_time = 60 debug = True verbose = True [quotas] [agent] root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf [keystone_authtoken] auth_host = cloud-name admin_tenant_name = services admin_user = osc-neutron.gen admin_password = xxxxxxxxxx auth_port = 35357 auth_protocol = http [database] [service_providers] [AGENT] report_interval = 28

28