Ask Your Question

Critical Nova Class client could not be found

asked 2011-09-28 05:21:44 -0500

anbalagan123 gravatar image

Hi I am getting the following error and could not proceed further, I have installed NOVA and GLANCE in the server I tried my level best to fix this problem , but failed to do so.

--dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --lock_path=/var/lock/nova --verbose --s3_host= --rabbit_host= --cc_host= --ec2_url= --fixed_range= --network_size=256 --FAKE_subdomain=ec2 --routing_source_ip= --verbose --sql_connection=mysql://root:root@ --libvirt_type=kvm --glance_host= --FLAGS.image_service=nova.image.local.LocalImageService

(nova): TRACE: 2011-09-28 10:46:32,124 DEBUG nova.utils [-] Inner Exception: No module named xattr from (pid=6637) import_class /usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/ 2011-09-28 10:46:32,135 CRITICAL nova [-] Class Client could not be found (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/local/bin/nova-compute", line 5, in <module> (nova): TRACE: pkg_resources.run_script('nova==2011.3', 'nova-compute') (nova): TRACE: File "/usr/lib/python2.7/dist-packages/", line 467, in run_script (nova): TRACE: self.require(requires)[0].run_script(script_name, ns) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/", line 1200, in run_script (nova): TRACE: execfile(script_filename, namespace, namespace) (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/EGG-INFO/scripts/nova-compute", line 47, in <module> (nova): TRACE: server = service.Service.create(binary='nova-compute') (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/", line 216, in create (nova): TRACE: report_interval, periodic_interval) (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/", line 125, in __init__ (nova): TRACE: manager_class = utils.import_class(self.manager_class_name) (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/", line 62, in import_class (nova): TRACE: __import__(mod_str) (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/compute/", line 19, in <module> (nova): TRACE: from nova.compute.api import API (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/compute/", line 29, in <module> (nova): TRACE: import nova.image (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/image/", line 22, in <module> (nova): TRACE: from nova.image import glance (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/image/", line 43, in <module> (nova): TRACE: GlanceClient = utils.import_class('glance.client.Client') (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/", line 66, in import_class (nova): TRACE: raise exception.ClassNotFound(class_name=class_str) (nova): TRACE: ClassNotFound: Class Client could not be found (nova): TRACE: ^C

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2011-09-28 06:05:09 -0500

gagupta gravatar image

Try specifying the following in your nova.conf (replace the ip address and port as per your configuration)

--image_service=nova.image.glance.GlanceImageService --glance_api_servers=<glance-server-ip>:<glance-port>

edit flag offensive delete link more

answered 2011-09-28 11:16:56 -0500

anbalagan123 gravatar image

I have added following entries , but still getting the above said errors. Along with it I am getting BotoServerError also.

--glance_host= --glance_api_servers= --image_service=nova.image.glance.GlanceImageService

root@ubuntushow:~# euca-authorize -P icmp -t -1:-1 default default None None icmp -1 -1 Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error BotoServerError: 500 Internal Server Error Failure: 500 Internal Server Error null

edit flag offensive delete link more

answered 2011-09-30 12:58:09 -0500

anbalagan123 gravatar image


I had ubuntu server with Eucalyptus Cloud computing packages. Suspected port clash hence removed the eucalyptus. Started fresh instalation of Nova and this time all the components came back fine.

I am able to create the image and started the instance. Having problem with IP address for the instance, that I will call for a answer in a separate thread.


edit flag offensive delete link more

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


Asked: 2011-09-28 05:21:44 -0500

Seen: 44 times

Last updated: Sep 30 '11