<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12pt"><div><span>please somebody reply and help me to resolve the problem</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Pragya jain</span></div><div class="yahoo_quoted" 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 size="2" face="Arial"> On Friday, 28 February 2014 3:25 PM, pragya jain <prag_2648@yahoo.co.in> wrote:<br> </font> </div> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div class="y_msg_container"><div id="yiv8267797305"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div id="yiv8267797305"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;">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 id="yiv8267797305yui_3_13_0_ym1_7_1393319677991_9"><span></span></div><div class="yiv8267797305yqt7298028005" id="yiv8267797305yqt69551"><div class="yiv8267797305yqt4698307490" id="yiv8267797305yqt74973"><div class="yiv8267797305yahoo_quoted" id="yiv8267797305yui_3_13_0_ym1_7_1393319677991_11" style="display: block;"> <br clear="none"> <br clear="none"> <div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10708" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10709" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Tuesday, 25 February 2014 4:39 PM, Ketan Patel <kkpatel2025@gmail.com> 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 class="yiv8267797305y_msg_container"><div id="yiv8267797305"><div><div dir="ltr">Hi Pragya <div><br clear="none"></div><div>Please try </div><div><br clear="none"></div><div><code class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10712" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10715" 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 class="yiv8267797305yqt1851628520" id="yiv8267797305yqt68176"><div class="yiv8267797305gmail_extra"><br clear="none"><br clear="none"><div class="yiv8267797305gmail_quote">On Tue, Feb 25, 2014 at 2:52 PM, pragya jain <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>></span> wrote:<br clear="none">
<blockquote class="yiv8267797305gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10717" 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="yiv8267797305"><div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10718" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10719" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10720" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10721" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10722" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10723" 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 class="yiv8267797305HOEnZb"><font color="#888888"></font></span><div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10724" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10725" 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 class="yiv8267797305h5"><div style="display:block;"> <br clear="none"> <br clear="none"> <div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10727" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10728" 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" ymailto="mailto:kkpatel2025@gmail.com" target="_blank" href="mailto:kkpatel2025@gmail.com">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" target="_blank" href="https://www.digitalocean.com/community/articles/installing-and-configuring-graphite-and-statsd-on-an-ubuntu-12-04-vps">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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10731" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10732" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10733" 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" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10735" style="font-size: 12pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"><div>
<span>hello Ketan,</span></div><div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10736" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10737" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10738" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10739" 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" target="_blank" href="http://docs.openstack.org/developer/swift/development_saio.html">http://docs.openstack.org/developer/swift/development_saio.html</a></span></div>
<div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10740" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10741" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10742" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10743" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10744" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10745" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10746" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10747" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10749" style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10750" 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" ymailto="mailto:kkpatel2025@gmail.com" target="_blank" href="mailto:kkpatel2025@gmail.com">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>On Tue, Feb 25, 2014 at 12:28 PM, pragya jain <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">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><div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10754" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10755" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10756" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10757" 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" target="_blank" href="https://www.digitalocean.com/community/articles/installing-and-configuring-graphite-and-statsd-on-an-ubuntu-12-04-vps">https://www.digitalocean.com/community/articles/installing-and-configuring-graphite-and-statsd-on-an-ubuntu-12-04-vps</a></div>
<div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10758" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10759" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10760" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10761" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10762" 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" target="_blank" href="http://paste.openstack.org/show/69293/">http://paste.openstack.org/show/69293/</a></div>
<div class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10763" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10764" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10765" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10766" 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 class="yiv8267797305yui_3_13_0_ym1_1_1393319677991_10767" 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">_______________________________________________<br clear="none">
Mailing list: <a rel="nofollow" shape="rect" target="_blank" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br clear="none">
Post to : <a rel="nofollow" shape="rect" ymailto="mailto:openstack@lists.openstack.org" target="_blank" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br clear="none">
Unsubscribe : <a rel="nofollow" shape="rect" target="_blank" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">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></body></html>