Folsom & Ubuntu: Nova-Api crashes on start
Hello Everyone,
I am installing Openstack Folsom in Ubuntu 12.04 following the tutorial in docs.openstack.org. Keystone and Glance were set up perfectly, but I came across several problems with nova. As soon as I start nova-api it crashes. The log shows the following:
2012-10-19 15:53:33 DEBUG nova.wsgi [-] Loading app metadata from /etc/nova/
2012-10-19 15:53:33 CRITICAL nova [-] <module 'nova.api.
2012-10-19 15:53:33 TRACE nova Traceback (most recent call last):
2012-10-19 15:53:33 TRACE nova File "/usr/bin/
2012-10-19 15:53:33 TRACE nova server = service.
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova self.app = self.loader.
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova return deploy.
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova return loadobj(APP, uri, name=name, **kw)
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova return context.create()
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova return self.object_
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova **context.
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova val = callable(*args, **kw)
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova app = loader.
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova name=name, global_
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova APP, name=name, global_
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova global_
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova APP, pipeline[-1], global_conf)
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova section)
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova value = import_
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova return pkg_resources.
2012-10-19 15:53:33 TRACE nova File "/usr/lib/
2012-10-19 15:53:33 TRACE nova raise ImportError("%r has no %r attribute" % (entry,attr))
2012-10-19 15:53:33 TRACE nova ImportError: <module 'nova.api.
2012-10-19 15:53:33 TRACE nova
2012-10-19 15:53:33 INFO nova.service [-] Parent process has died unexpectedly, exiting
2012-10-19 15:53:33 INFO nova.service [-] Parent process has died unexpectedly, exiting
2012-10-19 15:53:33 INFO nova.wsgi [-] Stopping WSGI server.
2012-10-19 15:53:33 INFO nova.wsgi [-] Deteniendo servidor WSGI.
2012-10-19 15:53:33 INFO nova.service [-] Parent process has died unexpectedly, exiting
2012-10-19 15:53:33 INFO nova.wsgi [-] Stopping WSGI server.
I do not know why, it says that the metadata handler module has no 'Versions' attribute. Moreover, I am unable to use nova services as I get a [111] connection refused error.
Thank you for your help,
Output of nova-manage:
2012-10-19 16:09:54 DEBUG nova.utils [req-9b48f2a2-
Binary Host Zone Status State Updated_At
nova-scheduler ATC-241 nova enabled :-) 2012-10-19 14:09:50
nova-consoleauth ATC-241 nova enabled :-) 2012-10-19 14:09:50
nova-cert ATC-241 nova enabled :-) 2012-10-19 14:09:50
Nova.conf
[DEFAULT]
# LOGS/STATE
verbose=True
logdir=
# HELPER
root_helper=sudo nova-rootwrap
# LOCK
state_path=
lock_path=
# AUTHENTICATION
auth_strategy=
use_deprecated_
# SCHEDULER
#compute_
scheduler_
# VOLUMES
volume_
#volume_
iscsi_helper=tgtadm
# DATABASE
sql_connection=
# COMPUTE
libvirt_type=kvm
connection_
instance_
api_paste_
allow_resize_
allow_admin_
start_guests_
resume_
# APIS
osapi_compute_
ec2_dmz_
s3_host=10.1.15.241
ec2_private_
# URL
nova_url=http://
routing_
ec2_url=http://
keystone_ec2_url=http://
# RABBITMQ
rabbit_
# HOST
cc_host=10.1.15.241
# GLANCE
image_service=
glance_
# NETWORK
network_
force_dhcp_
dhcpbridge_
dhcpbridge=
firewall_
my_ip=10.1.15.241
public_
flat_network_
vlan_interface=eth1
flat_interface=eth1
fixed_range=
flat_network_
flat_injected=False
libvirt_
# NOVNC CONSOLE
novnc_enabled=true
novncproxy_
vncserver_
vncserver_
instances_
[keystone_
auth_host = 10.1.15.241
auth_port = 35357
auth_protocol = http
auth_uri = http://
admin_tenant_name = service
admin_user = nova
admin_password = nova
api-paste.ini
############
# Metadata #
############
[composite:
use = egg:Paste#urlmap
/: metaversions
/latest: meta
/1.0: meta
/2007-01-19: meta
/2007-03-01: meta
/2007-08-29: meta
/2007-10-10: meta
/2007-12-15: meta
/2008-02-01: meta
/2008-09-01: meta
/2009-04-04: meta
[pipeline:
pipeline = ec2faultwrap logrequest metaverapp
[pipeline:meta]
pipeline = ec2faultwrap logrequest metaapp
[app:metaverapp]
paste.app_factory = nova.api.
[app:metaapp]
paste.app_factory = nova.api.
#######
# EC2 #
#######
[composite:ec2]
use = egg:Paste#urlmap
/services/Cloud: ec2cloud
[composite:
use = call:nova.
noauth = ec2faultwrap logrequest ec2noauth cloudrequest validator ec2executor
deprecated = ec2faultwrap logrequest authenticate cloudrequest validator ec2executor
keystone = ec2faultwrap logrequest ec2keystoneauth cloudrequest validator ec2executor
[filter:
paste.filter_
[filter:logrequest]
paste.filter_
[filter:ec2lockout]
paste.filter_
[filter:totoken]
paste.filter_
[filter:
paste.filter_
[filter:ec2noauth]
paste.filter_
[filter:
paste.filter_
[filter:
controller = nova.api.
paste.filter_
[filter:authorizer]
paste.filter_
[filter:validator]
paste.filter_
[app:ec2executor]
paste.app_factory = nova.api.
#############
# Openstack #
#############
[composite:
use = call:nova.
/: oscomputeversions
/v1.1: openstack_
/v2: openstack_
[composite:
use = call:nova.
/: osvolumeversions
/v1: openstack_
[composite:
use = call:nova.
noauth = faultwrap noauth ratelimit osapi_compute_
deprecated = faultwrap auth ratelimit osapi_compute_
keystone = faultwrap authtoken keystonecontext ratelimit osapi_compute_
keystone_nolimit = faultwrap authtoken keystonecontext osapi_compute_
[composite:
use = call:nova.
noauth = faultwrap noauth ratelimit osapi_volume_app_v1
deprecated = faultwrap auth ratelimit osapi_volume_app_v1
keystone = faultwrap authtoken keystonecontext ratelimit osapi_volume_app_v1
keystone_nolimit = faultwrap authtoken keystonecontext osapi_volume_app_v1
[filter:faultwrap]
paste.filter_
[filter:auth]
paste.filter_
[filter:noauth]
paste.filter_
[filter:ratelimit]
paste.filter_
[app:osapi_
paste.app_factory = nova.api.
[pipeline:
pipeline = faultwrap oscomputeversionapp
[app:osapi_
paste.app_factory = nova.api.
[app:oscomputev
paste.app_factory = nova.api.
[pipeline:
pipeline = faultwrap osvolumeversionapp
[app:osvolumeve
paste.app_factory = nova.api.
##########
# Shared #
##########
[filter:
paste.filter_
[filter:authtoken]
paste.filter_
service_protocol = http
service_host = 10.1.15.241
service_port = 5000
auth_host = 10.1.15.241
auth_port = 35357
auth_protocol = http
auth_uri = http://
admin_tenant_name = service
admin_user = nova
admin_password = nova
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: