← Back to team overview

openstack team mailing list archive

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

 

Thanks Rafael for replying.

I digged more into it. Found that "from paste import deploy" statement
in glance/common/config.py was not able to import "deploy". I just removed
python-pastedeploy and reinstalled it using pip. Things went fine after
that. Not sure what went wrong

I also came across a similar question in launchpad:
https://bugs.launchpad.net/nova/+bug/694311

Thanks.


2011/8/14 Rafael Durán Castañeda <rafadurancastaneda@xxxxxxxxx>

> **
> 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@xxxxxxxxx>wrote:
>
>>  i guess this is access related problem. Did you use sudo when you run
>> the command.
>>
>>  ...shohel
>>
>>   ------------------------------
>> *From:* Paraneetharan C <paranee86@xxxxxxxxx>
>> *To:* openstack@xxxxxxxxxxxxxxxxxxx
>> *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@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
>> Post to    : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help  : https://help.launchpad.net/ListHelp
>>
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

References