Ask Your Question
0

nova-api didn't work!

asked 2014-10-10 03:25:59 -0500

joehoyuan gravatar image
root@Controller:~# nova-api
2014-10-10 16:18:12.747 3432 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2014-10-10 16:18:13.128 3432 CRITICAL nova [-] ImportError: Class APIi cannot be found (['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 29, in import_class\n    return getattr(sys.modules[mod_str], class_str)\n', "AttributeError: 'module' object has no attribute 'APIi'\n"])
2014-10-10 16:18:13.128 3432 TRACE nova Traceback (most recent call last):
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/bin/nova-api", line 10, in <module>
2014-10-10 16:18:13.128 3432 TRACE nova     sys.exit(main())
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/api.py", line 51, in main
2014-10-10 16:18:13.128 3432 TRACE nova     max_url_len=16384)
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 332, in __init__
2014-10-10 16:18:13.128 3432 TRACE nova     self.app = self.loader.load_app(name)
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/wsgi.py", line 502, in load_app
2014-10-10 16:18:13.128 3432 TRACE nova     return deploy.loadapp("config:%s" % self.config_path, name=name)
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2014-10-10 16:18:13.128 3432 TRACE nova     return loadobj(APP, uri, name=name, **kw)
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2014-10-10 16:18:13.128 3432 TRACE nova     return context.create()
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2014-10-10 16:18:13.128 3432 TRACE nova     return self.object_type.invoke(self)
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2014-10-10 16:18:13.128 3432 TRACE nova     **context.local_conf)
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2014-10-10 16:18:13.128 3432 TRACE nova     val = callable(*args, **kw)
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 28, in urlmap_factory
2014-10-10 16:18:13.128 3432 TRACE nova     app = loader.get_app(app_name, global_conf=global_conf)
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2014-10-10 16:18:13.128 3432 TRACE nova     name=name, global_conf=global_conf).create()
2014-10-10 16:18:13.128 3432 TRACE nova   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2014-10-10 16:18:13.128 3432 TRACE nova     return self.object_type.invoke(self)
2014-10-10 16:18:13.128 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-10 03:42:57 -0500

I think it is syntax problem. Which files(maybe config files) did you edit recently? Go back and check them again.

edit flag offensive delete link more

Comments

I have reinstalled nova-api.Before I installed nova-api-metadata

joehoyuan gravatar imagejoehoyuan ( 2014-10-10 03:50:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-10-10 03:25:59 -0500

Seen: 171 times

Last updated: Oct 10 '14