<div dir="ltr"><div><div><div>Hi Pragya,<br></div><div><br>In the guide you mentioned, django and graphite components are installed via system package and tar.gz files.<br><br></div>It would be easier if you create a virtualenv and install graphite via pip.<br>
<br></div>It's already mentioned that the problem may be the django version is too old. I guess that is still the issue.<br><br></div><div></div>You may also try to ask the question in graphite community instead of openstack mailing list, as this installation issue has nothing to do with openstack itself.<br>
<div><div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><i><br>YY Inc. is hiring openstack and python developers. Interested? Check <a href="http://www.nsbeta.info/jobs" target="_blank">http://www.nsbeta.info/jobs</a></i><br>
</div><div><br>--<br>Thanks,<br></div>Yuanle<br></div></div>
<br><br><div class="gmail_quote">On Mon, Mar 3, 2014 at 1:55 PM, pragya jain <span dir="ltr"><<a href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif"><div><span>please somebody reply and help me to resolve the problem</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span>Pragya jain</span></div>
<div style="display:block"> <br> <br> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:12pt"> <div style="font-family:'times new roman','new york',times,serif;font-size:12pt">
<div dir="ltr"> <font face="Arial"> On Friday, 28 February 2014 3:25 PM, pragya jain <<a href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>> wrote:<br> </font> </div> <blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">
<div><div><div><div style="font-size:12pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><div><div><div style="font-size:12pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
hi ketan<br clear="none"><br clear="none">I follow the following steps:<br clear="none"><br clear="none">1. root@swift-VirtualBox:~# pip install django-celery<br clear="none"><br clear="none">2. root@swift-VirtualBox:~# cd
/opt/graphite/webapp/graphite/<br clear="none"><br clear="none">3. root@swift-VirtualBox:/opt/graphite/webapp/graphite# sudo python manage.py syncdb<br clear="none"><br clear="none">but I get the same error:<br clear="none">
<br clear="none">Traceback (most recent call last):<br clear="none"> File "manage.py", line 2, in <module><br clear="none"> from django.core.management import execute_manager<br clear="none">ImportError: cannot import name execute_manager<br clear="none">
<br clear="none">Please help to resolve
it.<br clear="none"><br clear="none">Thanks <br clear="none">Pragya Jain<br clear="none"><br clear="none"><br clear="none"><div><span></span></div><div><div><div style="display:block"> <br clear="none"> <br clear="none">
<div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:12pt"> <div style="font-family:'times new roman','new york',times,serif;font-size:12pt">
<div dir="ltr"> <font face="Arial"> On Tuesday, 25 February 2014 4:39 PM, Ketan Patel <<a href="mailto:kkpatel2025@gmail.com" target="_blank">kkpatel2025@gmail.com</a>> wrote:<br clear="none">
</font> </div> <blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px"> <div><div><div><div dir="ltr">Hi Pragya <div><br clear="none"></div><div>Please try </div><div><br clear="none">
</div><div><code style="margin:0px;padding:1px 5px;border:0px;font-size:13px;vertical-align:baseline;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;white-space:pre-wrap;color:rgb(68,68,68);line-height:17.280000686645508px">pip install django-celery</code><code style="margin:0px;padding:1px 5px;border:0px;font-size:13px;vertical-align:baseline;white-space:pre-wrap;color:rgb(68,68,68);line-height:17.280000686645508px;background-color:rgb(250,250,250)"><font face="Arial, Liberation Sans, DejaVu Sans, sans-serif"> and try to run </font></code><span style="color:rgb(80,0,80);font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px">sudo python manage.py syncdb</span><br clear="none">
</div></div><div><div><br clear="none"><br clear="none"><div>On Tue, Feb 25, 2014 at 2:52 PM, pragya jain <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>></span> wrote:<br clear="none">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">Thanks Ketan<br clear="none">
<br clear="none"><div><span>I run the command you mentioned and then run:</span></div><div class=""><div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<br clear="none"><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span>root@swift-VirtualBox:/opt/graphite/webapp/graphite# sudo python manage.py syncdb<br clear="none">
</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span><br clear="none"></span></div>
</div></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span>but now it shows a different error:</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span><br clear="none">
</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span>Traceback (most recent call last):<br clear="none">
File "manage.py", line 2, in <module><br clear="none">
from django.core.management import execute_manager<br clear="none">ImportError: cannot import name execute_manager</span></div><span><font color="#888888"></font></span><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<br clear="none"><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span>Pragya Jain<br clear="none">
</span></div><div>
<div><div style="display:block"> <br clear="none"> <br clear="none"> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:12pt"> <div style="font-family:'times new roman','new york',times,serif;font-size:12pt">
<div dir="ltr"> <font face="Arial"> On Tuesday, 25 February 2014 2:12 PM, Ketan Patel <<a rel="nofollow" shape="rect" href="mailto:kkpatel2025@gmail.com" target="_blank">kkpatel2025@gmail.com</a>> wrote:<br clear="none">
</font> </div> <blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">
<div><div><div><div dir="ltr">Hi
Pragya <div><br clear="none"></div><div>According to doc <a rel="nofollow" shape="rect" href="https://www.digitalocean.com/community/articles/installing-and-configuring-graphite-and-statsd-on-an-ubuntu-12-04-vps" target="_blank">https://www.digitalocean.com/community/articles/installing-and-configuring-graphite-and-statsd-on-an-ubuntu-12-04-vps</a><br clear="none">
<br clear="none">You installed django as per doc ( see third step ). </div><div><br clear="none"></div><div>The problem is occurred due to old version of django. <br clear="none"><br clear="none"></div><div><br clear="none">
</div><div>You can upgrade django version to latest one by following command. </div>
<div><br clear="none"><br clear="none"><span style="color:rgb(68,68,68);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:13px;line-height:17.280000686645508px;background-color:rgb(250,250,250)"> sudo apt-get install python-setuptools && sudo easy_install --upgrade django </span><br clear="none">
</div><div><span style="color:rgb(68,68,68);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:13px;line-height:17.280000686645508px;background-color:rgb(250,250,250)"><br clear="none">
</span></div>
<div><span style="color:rgb(68,68,68);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:13px;line-height:17.280000686645508px;background-color:rgb(250,250,250)">Try it and let me know. </span></div>
<div><div><br clear="none"></div><div><br clear="none"></div></div></div><div><div><br clear="none"><br clear="none"><div>On Tue, Feb 25, 2014 at 1:40 PM, pragya jain <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>></span> wrote:<br clear="none">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><div>
<span>hello Ketan,</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span><br clear="none">
</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span>I am not using any django version</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span><br clear="none"></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span>I had created an ubuntu 12.04 desktop VM and install and configure swift on it using the link <a rel="nofollow" shape="rect" href="http://docs.openstack.org/developer/swift/development_saio.html" target="_blank">http://docs.openstack.org/developer/swift/development_saio.html</a></span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span><br clear="none"></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span>And now in order to monitor my swift cluster, I try to install and configure StatsD + Graphite. </span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span><br clear="none"></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span>But I get the error mentioned earlier.</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span><br clear="none"></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span>What should I do now?</span></div><span><font color="#888888"></font></span><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span><br clear="none"></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span>Pragya Jain</span></div>
<div><div><div style="display:block"> <br clear="none"> <br clear="none"> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:12pt"> <div style="font-family:'times new roman','new york',times,serif;font-size:12pt">
<div dir="ltr"> <font face="Arial"> On Tuesday, 25 February 2014 12:59 PM, Ketan Patel <<a rel="nofollow" shape="rect" href="mailto:kkpatel2025@gmail.com" target="_blank">kkpatel2025@gmail.com</a>> wrote:<br clear="none">
</font> </div> <blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">
<div><div><div><div dir="ltr">Hi Pragya <div><br clear="none"></div><div>What's django version you are
using ?</div></div><div><br clear="none"><br clear="none"><div><div><div class="h5">On Tue, Feb 25, 2014 at 12:28 PM, pragya jain <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>></span> wrote:<br clear="none">
</div></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div><div style="font-size:12pt;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<div>
hi all,</div><div><br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">I want to monitor my existing swift environment on Ubuntu 12.04 desktop VM.<br clear="none">
</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">for this purpose, I am trying to install and configure statsD + Graphite</div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">I am following the steps from the link
<a rel="nofollow" shape="rect" href="https://www.digitalocean.com/community/articles/installing-and-configuring-graphite-and-statsd-on-an-ubuntu-12-04-vps" target="_blank">https://www.digitalocean.com/community/articles/installing-and-configuring-graphite-and-statsd-on-an-ubuntu-12-04-vps</a></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
But I get an error while configuring Graphite database.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<br clear="none">
</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">root@swift-VirtualBox:/opt/graphite/webapp/graphite# sudo python manage.py syncdb<br clear="none">
The Error is:</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><a rel="nofollow" shape="rect" href="http://paste.openstack.org/show/69293/" target="_blank">http://paste.openstack.org/show/69293/</a></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><br clear="none"></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
Please help to resolve this problem</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><br clear="none">
</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
Thanks<span><font color="#888888"><br clear="none"></font></span></div><span><font color="#888888"></font></span><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
Pragya Jain<br clear="none"></div></div></div></div><br clear="none"></div></div>_______________________________________________<br clear="none">
Mailing list: <a rel="nofollow" shape="rect" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br clear="none">
Post to : <a rel="nofollow" shape="rect" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br clear="none">
Unsubscribe : <a rel="nofollow" shape="rect" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br clear="none"><br clear="none"></div> </blockquote> </div> </div> </div> </div></div></div></div></blockquote></div><br clear="none"></div></div>
</div></div><br clear="none"><br clear="none"></div> </blockquote> </div> </div> </div> </div></div></div></div></blockquote></div><br clear="none"></div></div></div></div><br clear="none"><br clear="none"></div> </blockquote>
</div> </div> </div></div></div> </div></div></div></div></div></div><br><br></div> </blockquote> </div> </div> </div> </div></div><br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div></div></div></div>