[Openstack] [Seeking help] Help needed for solving a problem while starting nova.

Rafael Durán Castañeda rafadurancastaneda at gmail.com
Sun Aug 14 16:37:49 UTC 2011


I think error is explicit enought:

GlanceClient = utils.import_class('glance.client.Client')
   File "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py", line 65, in import_class
     raise exception.ClassNotFound(class_name=class_str)
nova.exception.ClassNotFound: Class Client could not be found

So, the question is if you have glance installed and available in your python path?



On 14/08/11 16:36, Paraneetharan C wrote:
> Shohel,
> Thanks for replying. I mistakenly dint use when in the first post. 
> Apart from that, there are some other errors coming as you could see 
> in http://paste.openstack.org/show/2165/.
>
> Thanks.
>
> On Sun, Aug 14, 2011 at 7:54 PM, Shohel Ahmed <shohel_csdu at yahoo.com 
> <mailto:shohel_csdu at yahoo.com>> wrote:
>
>     i guess this is access related problem. Did you use sudo when you
>     run the command.
>
>     ...shohel
>
>     ------------------------------------------------------------------------
>     *From:* Paraneetharan C <paranee86 at gmail.com
>     <mailto:paranee86 at gmail.com>>
>     *To:* openstack at lists.launchpad.net
>     <mailto:openstack at lists.launchpad.net>
>     *Sent:* Sunday, August 14, 2011 4:59 PM
>     *Subject:* [Openstack] [Seeking help] Help needed for solving a
>     problem while starting nova.
>
>     Hi,
>
>     I am a total newbie to Openstack, I wanted to explore my ways to
>     contribute to Openstack. As first step, I wanted setup a simple
>     openstack deployment.
>
>     I followed the nova installation exactly as mentioned in
>     http://nova.openstack.org/quickstart.html. While running
>     "./nova.sh run" step, I ended up with following errors:
>
>     paraneetharanc at paranee86:~/fun/openstack/nova/contrib$ ./nova.sh run
>     ./nova.sh: line 116:
>     /home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova.conf: Permission
>     denied
>     dnsmasq: no process found
>     ERROR 1045 (28000): Access denied for user
>     'paraneetharanc'@'localhost' (using password: YES)
>     ERROR 1045 (28000): Access denied for user
>     'paraneetharanc'@'localhost' (using password: YES)
>     rm: cannot remove
>     `/home/paraneetharanc/fun/openstack/nova/contrib/nova/instances':
>     Permission denied
>     rm: cannot remove
>     `/home/paraneetharanc/fun/openstack/nova/contrib/nova/networks':
>     Permission denied
>     Traceback (most recent call last):
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
>     line 82, in <module>
>         from nova import image
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
>     line 25, in <module>
>         from nova.image import glance as glance_image_service
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
>     line 42, in <module>
>         GlanceClient = utils.import_class('glance.client.Client')
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
>     line 65, in import_class
>         raise exception.ClassNotFound(class_name=class_str)
>     nova.exception.ClassNotFound: Class Client could not be found
>     Traceback (most recent call last):
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
>     line 82, in <module>
>         from nova import image
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
>     line 25, in <module>
>         from nova.image import glance as glance_image_service
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
>     line 42, in <module>
>         GlanceClient = utils.import_class('glance.client.Client')
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
>     line 65, in import_class
>         raise exception.ClassNotFound(class_name=class_str)
>     nova.exception.ClassNotFound: Class Client could not be found
>     Traceback (most recent call last):
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
>     line 82, in <module>
>         from nova import image
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
>     line 25, in <module>
>         from nova.image import glance as glance_image_service
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
>     line 42, in <module>
>         GlanceClient = utils.import_class('glance.client.Client')
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
>     line 65, in import_class
>         raise exception.ClassNotFound(class_name=class_str)
>     nova.exception.ClassNotFound: Class Client could not be found
>     Traceback (most recent call last):
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
>     line 82, in <module>
>         from nova import image
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
>     line 25, in <module>
>         from nova.image import glance as glance_image_service
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
>     line 42, in <module>
>         GlanceClient = utils.import_class('glance.client.Client')
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
>     line 65, in import_class
>         raise exception.ClassNotFound(class_name=class_str)
>     nova.exception.ClassNotFound: Class Client could not be found
>     Traceback (most recent call last):
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
>     line 82, in <module>
>         from nova import image
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
>     line 25, in <module>
>         from nova.image import glance as glance_image_service
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
>     line 42, in <module>
>         GlanceClient = utils.import_class('glance.client.Client')
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
>     line 65, in import_class
>         raise exception.ClassNotFound(class_name=class_str)
>     nova.exception.ClassNotFound: Class Client could not be found
>     Traceback (most recent call last):
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
>     line 82, in <module>
>         from nova import image
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
>     line 25, in <module>
>         from nova.image import glance as glance_image_service
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
>     line 42, in <module>
>         GlanceClient = utils.import_class('glance.client.Client')
>       File
>     "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
>     line 65, in import_class
>         raise exception.ClassNotFound(class_name=class_str)
>     nova.exception.ClassNotFound: Class Client could not be found
>     unzip:  cannot find or open
>     /home/paraneetharanc/fun/openstack/nova/contrib/nova/nova.zip,
>     /home/paraneetharanc/fun/openstack/nova/contrib/nova/nova.zip.zip
>     or /home/paraneetharanc/fun/openstack/nova/contrib/nova/nova.zip.ZIP.
>     [detached from 10581.nova]
>     ./nova.sh: line 215:
>     /home/paraneetharanc/fun/openstack/nova/contrib/nova/novarc: No
>     such file or directory
>     instance id(s) must be specified.
>
>     Pls help me to resolve this or point to right document.
>
>     Thanks a lot.
>
>     _______________________________________________
>     Mailing list: https://launchpad.net/~openstack
>     <https://launchpad.net/%7Eopenstack>
>     Post to    : openstack at lists.launchpad.net
>     <mailto:openstack at lists.launchpad.net>
>     Unsubscribe : https://launchpad.net/~openstack
>     <https://launchpad.net/%7Eopenstack>
>     More help  : https://help.launchpad.net/ListHelp
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110814/159f5aa1/attachment.html>


More information about the Openstack mailing list