<div>Thanks Rafael for replying.</div><div><br></div>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<div>
<br></div><div>I also came across a similar question in launchpad:<div><div><a href="https://bugs.launchpad.net/nova/+bug/694311">https://bugs.launchpad.net/nova/+bug/694311</a></div><div><br></div><div>Thanks.</div><div>
<br></div><div><br><div class="gmail_quote">2011/8/14 Rafael Durán Castañeda <span dir="ltr"><<a href="mailto:rafadurancastaneda@gmail.com">rafadurancastaneda@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    I think error is explicit enought:<div class="im"><br>
    <pre>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</pre>
    </div><pre><big>So, the question is if you have glance installed and available in your python path?</big>
</pre><div><div></div><div class="h5">
    <br>
    <br>
    On 14/08/11 16:36, Paraneetharan C wrote:
    <blockquote type="cite">Shohel,
      <div>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 <span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><a href="http://paste.openstack.org/show/2165/" style="color:rgb(0, 0, 204)" target="_blank">http://paste.openstack.org/show/2165/</a></span><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">.</span></div>

      <div><font face="arial, sans-serif"><br>
        </font></div>
      <div><font face="arial, sans-serif">Thanks.<br>
        </font><br>
        <div class="gmail_quote">On Sun, Aug 14, 2011 at 7:54 PM, Shohel
          Ahmed <span dir="ltr"><<a href="mailto:shohel_csdu@yahoo.com" target="_blank">shohel_csdu@yahoo.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
            <div>
              <div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:bookman old style,new york,times,serif;font-size:12pt">
                <div><span>i guess this is access related problem. Did
                    you use sudo when you run the command.</span></div>
                <div><br>
                  <span></span></div>
                <div><span>...shohel<br>
                  </span></div>
                <div><br>
                </div>
                <div style="font-family:bookman old style,new york,times,serif;font-size:12pt">
                  <div style="font-family:times new roman,new york,times,serif;font-size:12pt"><font face="Arial" size="2">
                      <hr size="1"><b><span style="font-weight:bold">From:</span></b>
                      Paraneetharan C <<a href="mailto:paranee86@gmail.com" target="_blank">paranee86@gmail.com</a>><br>
                      <b><span style="font-weight:bold">To:</span></b>
                      <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
                      <b><span style="font-weight:bold">Sent:</span></b>
                      Sunday, August 14, 2011 4:59 PM<br>
                      <b><span style="font-weight:bold">Subject:</span></b>
                      [Openstack] [Seeking help] Help needed for solving
                      a problem while starting nova.<br>
                    </font>
                    <div>
                      <div><br>
                        <div>Hi,
                          <div><br>
                          </div>
                          <div>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. </div>
                          <div><br>
                          </div>
                          <div>I followed the nova installation exactly
                            as mentioned in <a rel="nofollow" href="http://nova.openstack.org/quickstart.html" target="_blank">http://nova.openstack.org/quickstart.html</a>.
                            While running "./nova.sh run" step, I ended
                            up with following errors:</div>
                          <div><br>
                          </div>
                          <div>paraneetharanc@paranee86:~/fun/openstack/nova/contrib$
                            ./nova.sh run</div>
                          <div>./nova.sh: line 116:
                            /home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova.conf:
                            Permission denied</div>
                          <div>dnsmasq: no process found</div>
                          <div>ERROR 1045 (28000): Access denied for
                            user 'paraneetharanc'@'localhost' (using
                            password: YES)</div>
                          <div>ERROR 1045 (28000): Access denied for
                            user 'paraneetharanc'@'localhost' (using
                            password: YES)</div>
                          <div>rm: cannot remove
                            `/home/paraneetharanc/fun/openstack/nova/contrib/nova/instances':
                            Permission denied</div>
                          <div>rm: cannot remove
                            `/home/paraneetharanc/fun/openstack/nova/contrib/nova/networks':
                            Permission denied</div>
                          <div>Traceback (most recent call last):</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
                            line 82, in <module></div>
                          <div>    from nova import image</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
                            line 25, in <module></div>
                          <div>    from nova.image import glance as
                            glance_image_service</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
                            line 42, in <module></div>
                          <div>    GlanceClient =
                            utils.import_class('glance.client.Client')</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
                            line 65, in import_class</div>
                          <div>    raise
                            exception.ClassNotFound(class_name=class_str)</div>
                          <div>nova.exception.ClassNotFound: Class
                            Client could not be found</div>
                          <div>Traceback (most recent call last):</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
                            line 82, in <module></div>
                          <div>    from nova import image</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
                            line 25, in <module></div>
                          <div>    from nova.image import glance as
                            glance_image_service</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
                            line 42, in <module></div>
                          <div>    GlanceClient =
                            utils.import_class('glance.client.Client')</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
                            line 65, in import_class</div>
                          <div>    raise
                            exception.ClassNotFound(class_name=class_str)</div>
                          <div>nova.exception.ClassNotFound: Class
                            Client could not be found</div>
                          <div>Traceback (most recent call last):</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
                            line 82, in <module></div>
                          <div>    from nova import image</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
                            line 25, in <module></div>
                          <div>    from nova.image import glance as
                            glance_image_service</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
                            line 42, in <module></div>
                          <div>    GlanceClient =
                            utils.import_class('glance.client.Client')</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
                            line 65, in import_class</div>
                          <div>    raise
                            exception.ClassNotFound(class_name=class_str)</div>
                          <div>nova.exception.ClassNotFound: Class
                            Client could not be found</div>
                          <div>Traceback (most recent call last):</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
                            line 82, in <module></div>
                          <div>    from nova import image</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
                            line 25, in <module></div>
                          <div>    from nova.image import glance as
                            glance_image_service</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
                            line 42, in <module></div>
                          <div>    GlanceClient =
                            utils.import_class('glance.client.Client')</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
                            line 65, in import_class</div>
                          <div>    raise
                            exception.ClassNotFound(class_name=class_str)</div>
                          <div>nova.exception.ClassNotFound: Class
                            Client could not be found</div>
                          <div>Traceback (most recent call last):</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
                            line 82, in <module></div>
                          <div>    from nova import image</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
                            line 25, in <module></div>
                          <div>    from nova.image import glance as
                            glance_image_service</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
                            line 42, in <module></div>
                          <div>    GlanceClient =
                            utils.import_class('glance.client.Client')</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
                            line 65, in import_class</div>
                          <div>    raise
                            exception.ClassNotFound(class_name=class_str)</div>
                          <div>nova.exception.ClassNotFound: Class
                            Client could not be found</div>
                          <div>Traceback (most recent call last):</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/bin/nova-manage",
                            line 82, in <module></div>
                          <div>    from nova import image</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/__init__.py",
                            line 25, in <module></div>
                          <div>    from nova.image import glance as
                            glance_image_service</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/image/glance.py",
                            line 42, in <module></div>
                          <div>    GlanceClient =
                            utils.import_class('glance.client.Client')</div>
                          <div>  File
                            "/home/paraneetharanc/fun/openstack/nova/contrib/nova/nova/utils.py",
                            line 65, in import_class</div>
                          <div>    raise
                            exception.ClassNotFound(class_name=class_str)</div>
                          <div>nova.exception.ClassNotFound: Class
                            Client could not be found</div>
                          <div>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.</div>
                          <div>[detached from 10581.nova]</div>
                          <div>./nova.sh: line 215:
                            /home/paraneetharanc/fun/openstack/nova/contrib/nova/novarc:
                            No such file or directory</div>
                          <div>instance id(s) must be specified.</div>
                          <div><br>
                          </div>
                          <div>Pls help me to resolve this or point to
                            right document.</div>
                          <div><br>
                          </div>
                          <div>Thanks a lot. </div>
                        </div>
                        <br>
                      </div>
                    </div>
                    _______________________________________________<br>
                    Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
                    Post to    : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
                    Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
                    More help  : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
                    <br>
                    <br>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <pre><fieldset></fieldset>
_______________________________________________
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div></div></div>