← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1187379] Re: nova-api and nova-compute not running

 

** Changed in: nova
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1187379

Title:
  nova-api and nova-compute not running

Status in OpenStack Compute (Nova):
  Invalid

Bug description:

  hi

  I am installing Openstack Grizzly nova components,  when I run nova-api and nova-compute , I get an error as  :
  nova ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option

  All other nova services are running properly.. 
  I already have following settings in api-paste.ini :

  [filter:authtoken]
  paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory

  Still the issue persists.. what can I do to resolve this ??

  I have my nova.conf ..

  Following is the error trace ;

  
  2013-06-03 14:53:10.797 18356 CRITICAL nova [-] arguments already parsed: cannot register CLI option
  2013-06-03 14:53:10.797 18356 TRACE nova Traceback (most recent call last):
  2013-06-03 14:53:10.797 18356 TRACE nova File "./nova-api", line 5, in <module>
  2013-06-03 14:53:10.797 18356 TRACE nova pkg_resources.run_script('nova==2013.1.1', 'nova-api')
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
  2013-06-03 14:53:10.797 18356 TRACE nova self.require(requires)[0].run_script(script_name, ns)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script
  2013-06-03 14:53:10.797 18356 TRACE nova execfile(script_filename, namespace, namespace)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/nova-2013.1.1-py2.7.egg/EGG-INFO/scripts/nova-api", line 59, in <module>
  2013-06-03 14:53:10.797 18356 TRACE nova max_url_len=16384)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/nova-2013.1.1-py2.7.egg/nova/service.py", line 598, in __init__
  2013-06-03 14:53:10.797 18356 TRACE nova self.app = self.loader.load_app(name)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/nova-2013.1.1-py2.7.egg/nova/wsgi.py", line 482, in load_app
  2013-06-03 14:53:10.797 18356 TRACE nova return deploy.loadapp("config:%s" % self.config_path, name=name)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
  2013-06-03 14:53:10.797 18356 TRACE nova return loadobj(APP, uri, name=name, **kw)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
  2013-06-03 14:53:10.797 18356 TRACE nova return context.create()
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
  2013-06-03 14:53:10.797 18356 TRACE nova return self.object_type.invoke(self)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
  2013-06-03 14:53:10.797 18356 TRACE nova **context.local_conf)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in fix_call
  2013-06-03 14:53:10.797 18356 TRACE nova val = callable(*args, **kw)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 25, in urlmap_factory
  2013-06-03 14:53:10.797 18356 TRACE nova app = loader.get_app(app_name, global_conf=global_conf)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
  2013-06-03 14:53:10.797 18356 TRACE nova name=name, global_conf=global_conf).create()
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
  2013-06-03 14:53:10.797 18356 TRACE nova return self.object_type.invoke(self)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
  2013-06-03 14:53:10.797 18356 TRACE nova **context.local_conf)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in fix_call
  2013-06-03 14:53:10.797 18356 TRACE nova val = callable(*args, **kw)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/nova-2013.1.1-py2.7.egg/nova/api/auth.py", line 61, in pipeline_factory
  2013-06-03 14:53:10.797 18356 TRACE nova app = filter(app)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/nova-2013.1.1-py2.7.egg/nova/wsgi.py", line 331, in _factory
  2013-06-03 14:53:10.797 18356 TRACE nova return cls(app, **local_config)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/nova-2013.1.1-py2.7.egg/nova/api/ec2/__init__.py", line 303, in __init__
  2013-06-03 14:53:10.797 18356 TRACE nova self.controller = importutils.import_object(controller)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/nova-2013.1.1-py2.7.egg/nova/openstack/common/importutils.py", line 40, in import_object
  2013-06-03 14:53:10.797 18356 TRACE nova return import_class(import_str)(*args, **kwargs)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/nova-2013.1.1-py2.7.egg/nova/api/ec2/cloud.py", line 217, in __init__
  2013-06-03 14:53:10.797 18356 TRACE nova self.volume_api = volume.API()
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/nova-2013.1.1-py2.7.egg/nova/volume/__init__.py", line 38, in API
  2013-06-03 14:53:10.797 18356 TRACE nova cls = importutils.import_class(volume_api_class)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/nova-2013.1.1-py2.7.egg/nova/openstack/common/importutils.py", line 30, in import_class
  2013-06-03 14:53:10.797 18356 TRACE nova __import__(mod_str)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/cinder/volume/__init__.py", line 21, in <module>
  2013-06-03 14:53:10.797 18356 TRACE nova import cinder.flags
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/lib/python2.7/dist-packages/cinder/flags.py", line 106, in <module>
  2013-06-03 14:53:10.797 18356 TRACE nova FLAGS.register_cli_opts(core_opts)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/oslo.config-1.1.0-py2.7.egg/oslo/config/cfg.py", line 1129, in __inner
  2013-06-03 14:53:10.797 18356 TRACE nova return f(self, *args, **kwargs)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/oslo.config-1.1.0-py2.7.egg/oslo/config/cfg.py", line 1283, in register_cli_opts
  2013-06-03 14:53:10.797 18356 TRACE nova self.register_cli_opt(opt, group, clear_cache=False)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/oslo.config-1.1.0-py2.7.egg/oslo/config/cfg.py", line 1129, in __inner
  2013-06-03 14:53:10.797 18356 TRACE nova return f(self, *args, **kwargs)
  2013-06-03 14:53:10.797 18356 TRACE nova File "/usr/local/lib/python2.7/dist-packages/oslo.config-1.1.0-py2.7.egg/oslo/config/cfg.py", line 1275, in register_cli_opt
  2013-06-03 14:53:10.797 18356 TRACE nova raise ArgsAlreadyParsedError("cannot register CLI option")
  2013-06-03 14:53:10.797 18356 TRACE nova ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option
  2013-06-03 14:53:10.797 18356 TRACE nova

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1187379/+subscriptions