← Back to team overview

openstack team mailing list archive

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

 

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

Follow ups

References