nova-api throws TypeError exception while loading osapi_compute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Incomplete
|
Low
|
Unassigned |
Bug Description
Using git revision: e6100f593413de7
When I run nova-api without an arguments I get an exception. I used the api-paste.ini that was in the source tree.
2015-11-16 16:21:28.376 47780 DEBUG nova.wsgi [-] Loading app osapi_compute from /etc/nova/
2015-11-16 16:21:28.380 47780 CRITICAL nova [-] TypeError: factory() takes exactly 3 arguments (2 given); got ({'__file...va'}, oslo_config_
2015-11-16 16:21:28.380 47780 ERROR nova Traceback (most recent call last):
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/bin/
2015-11-16 16:21:28.380 47780 ERROR nova sys.exit(main())
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova server = service.
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova self.app = self.loader.
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova return deploy.
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova return loadobj(APP, uri, name=name, **kw)
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova return context.create()
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova return self.object_
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova **context.
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova reraise(*exc_info)
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova exec('raise t, e, tb', dict(t=t, e=e, tb=tb))
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova val = callable(*args, **kw)
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova app = loader.
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova name=name, global_
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova return self.object_
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova **context.
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova reraise(*exc_info)
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova exec('raise t, e, tb', dict(t=t, e=e, tb=tb))
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova val = callable(*args, **kw)
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova return _load_pipeline(
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova filters = [loader.
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova name=name, global_
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova return self.object_
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova context.
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova reraise(*exc_info)
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova exec('raise t, e, tb', dict(t=t, e=e, tb=tb))
2015-11-16 16:21:28.380 47780 ERROR nova File "/usr/lib/
2015-11-16 16:21:28.380 47780 ERROR nova val = callable(*args, **kw)
2015-11-16 16:21:28.380 47780 ERROR nova TypeError: factory() takes exactly 3 arguments (2 given); got ({'__file...va'}, oslo_config_
2015-11-16 16:21:28.380 47780 ERROR nova
----------------
Here is my nova.conf file:
[DEFAULT]
rpc_backend = rabbit
my_ip = 10.1.255.1
auth_strategy = keystone
enabled_
verbose = True
network_api_class = nova.network.
security_group_api = neutron
linuxnet_
firewall_driver = nova.virt.
[oslo_messaging
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = ******
[keystone_
auth_uri = http://
auth_url = http://
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = nova
password = ******
[vnc]
vncserver_listen = 10.1.255.1
vncserver_
[glance]
host = controller
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[database]
connection = mysql:/
@kali, can you share your '/etc/nova/ api-paste. ini' file?