Unable to start neutron-server during new installation setup

Solution Verified - Updated -

Issue

  • Upon starting up neutron after installation, Neutron dies on startup.
# service neutron-server status
neutron dead but pid file exists
  • Error from log file.
2014-05-08 14:29:49.460 8566 TRACE neutron     service.start()
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 68, in start
2014-05-08 14:29:49.460 8566 TRACE neutron     self.wsgi_app = _run_wsgi(self.app_name)
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/service.py", line 112, in _run_wsgi
2014-05-08 14:29:49.460 8566 TRACE neutron     app = config.load_paste_app(app_name)
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/common/config.py", line 144, in load_paste_app
2014-05-08 14:29:49.460 8566 TRACE neutron     app = deploy.loadapp("config:%s" % config_path, name=app_name)
2014-05-08 14:29:49.460 8566 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 14:29:49.460 8566 TRACE neutron     return loadobj(APP, uri, name=name, **kw)
2014-05-08 14:29:49.460 8566 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 14:29:49.460 8566 TRACE neutron     return context.create()
2014-05-08 14:29:49.460 8566 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 14:29:49.460 8566 TRACE neutron     return self.object_type.invoke(self)
2014-05-08 14:29:49.460 8566 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 14:29:49.460 8566 TRACE neutron     **context.local_conf)
2014-05-08 14:29:49.460 8566 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 14:29:49.460 8566 TRACE neutron     val = callable(*args, **kw)
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/paste/urlmap.py", line 25, in urlmap_factory
2014-05-08 14:29:49.460 8566 TRACE neutron     app = loader.get_app(app_name, global_conf=global_conf)
2014-05-08 14:29:49.460 8566 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 14:29:49.460 8566 TRACE neutron     name=name, global_conf=global_conf).create()
2014-05-08 14:29:49.460 8566 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 14:29:49.460 8566 TRACE neutron     return self.object_type.invoke(self)
2014-05-08 14:29:49.460 8566 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 14:29:49.460 8566 TRACE neutron     **context.local_conf)
2014-05-08 14:29:49.460 8566 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 14:29:49.460 8566 TRACE neutron     val = callable(*args, **kw)
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/neutron/auth.py", line 62, in pipeline_factory
2014-05-08 14:29:49.460 8566 TRACE neutron     app = filter(app)
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 1412, in auth_filter
2014-05-08 14:29:49.460 8566 TRACE neutron     return AuthProtocol(app, conf)
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 460, in __init__
2014-05-08 14:29:49.460 8566 TRACE neutron     self.admin_password = self._conf_get('admin_password')
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 519, in _conf_get
2014-05-08 14:29:49.460 8566 TRACE neutron     return CONF.keystone_authtoken[name]
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2200, in __getitem__
2014-05-08 14:29:49.460 8566 TRACE neutron     return self.__getattr__(key)
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2196, in __getattr__
2014-05-08 14:29:49.460 8566 TRACE neutron     return self._conf._get(name, self._group)
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1996, in _get
2014-05-08 14:29:49.460 8566 TRACE neutron     value = self._substitute(self._do_get(name, group, namespace))
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2052, in _substitute
2014-05-08 14:29:49.460 8566 TRACE neutron     return tmpl.safe_substitute(self.StrSubWrapper(self))
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib64/python2.6/string.py", line 205, in safe_substitute
2014-05-08 14:29:49.460 8566 TRACE neutron     return self.pattern.sub(convert, self.template)
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib64/python2.6/string.py", line 190, in convert
2014-05-08 14:29:49.460 8566 TRACE neutron     return '%s' % (mapping[named],)
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2270, in __getitem__
2014-05-08 14:29:49.460 8566 TRACE neutron     value = getattr(self.conf, key)
2014-05-08 14:29:49.460 8566 TRACE neutron   File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1652, in __getattr__
2014-05-08 14:29:49.460 8566 TRACE neutron     raise NoSuchOptError(name)
2014-05-08 14:29:49.460 8566 TRACE neutron NoSuchOptError: no such option: redhat01
2014-05-08 14:29:49.460 8566 TRACE neutron

Environment

  • Red Hat Enterprise Linux OpenStack Platform 4.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In