<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><font size="-1">Hi Gabriel,<br>
        <br>
        <font size="-1">Thanks for the res<font size="-1">ponse. We are
            using absolutely stock standard everything. I don't think
            it's a python prob<font size="-1">lem, because I had t<font
                size="-1">o actually chan<font size="-1">ge lines of
                  code from "glance<font size="-1">" to "glanceclient"
                    and "keystone" to "keystoneclient".<br>
                    <br>
                    <font size="-1">This <font size="-1">is specific to
                        the horizon code.</font></font><br>
                  </font></font></font></font></font></font></font>
      <div class="moz-signature"><font face="Helvetica" size="2"><br>
          --<br>
          <b>Sina Sadeghi</b><br>
          Lead Cloud Engineer<br>
          <img src="cid:part1.04010107.09050602@aptira.com"><br>
          <b>Aptira Pty Ltd</b><br>
          1800 APTIRA<br>
          <a href="http://www.aptira.com">aptira.com</a><br>
          <a href="https://twitter.com/#/aptira">Follow @aptira</a><br>
        </font><br>
      </div>
      On 11/01/13 05:31, Gabriel Hurley wrote:<br>
    </div>
    <blockquote
cite="mid:BD35DBE010D5B64589500D43F775F23642A55189@CH1PRD0511MB431.namprd05.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:341861321;
        mso-list-type:hybrid;
        mso-list-template-ids:707454444 -1353257992 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:27.0pt;
        text-indent:-.25in;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:63.0pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:99.0pt;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:135.0pt;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:171.0pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:207.0pt;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:243.0pt;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:279.0pt;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:315.0pt;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
            haven’t heard a report like this from anyone else. Looking
            at your patch it looks like you’re having problems with the
            sub-module imports for some reason, which sounds to me like
            a Python problem. Is there anything unusual about your
            version of Python? Any unusual/duplicate packages on your
            python path that might be causing name conflicts/import
            errors?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoListParagraph"
          style="margin-left:27.0pt;text-indent:-.25in;mso-list:l0
          level1 lfo1">
          <!--[if !supportLists]--><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span
              style="mso-list:Ignore">-<span style="font:7.0pt
                "Times New Roman"">         
              </span></span></span><!--[endif]--><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Gabriel<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <div style="border:none;border-left:solid blue 1.5pt;padding:0in
          0in 0in 4.0pt">
          <div>
            <div style="border:none;border-top:solid #B5C4DF
              1.0pt;padding:3.0pt 0in 0in 0in">
              <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                  <a class="moz-txt-link-abbreviated" href="mailto:openstack-bounces+gabriel.hurley=nebula.com@lists.launchpad.net">openstack-bounces+gabriel.hurley=nebula.com@lists.launchpad.net</a>

                  [<a class="moz-txt-link-freetext" href="mailto:openstack-bounces+gabriel.hurley=nebula.com@lists.launchpad.net">mailto:openstack-bounces+gabriel.hurley=nebula.com@lists.launchpad.net</a>]
                  <b>On Behalf Of
                  </b>Sina Sadeghi<br>
                  <b>Sent:</b> Wednesday, January 09, 2013 7:54 PM<br>
                  <b>To:</b> openstack<br>
                  <b>Subject:</b> [Openstack] Dashboard/horizon
                  PRODUCTION bug<o:p></o:p></span></p>
            </div>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><span
              style="font-size:10.0pt">I just upgraded the
              openstack-dashboard we are using to the latest version
              provided by Ubuntu Cloud Archive. There were multiple bugs
              causing "Internal Server Error" which I had to patch
              manually to rectify, I couldn't see anyone reporting the
              same errors after a brief google search.<br>
              <br>
              Can someone examine the patch provided and please confirm
              whether they have this issue or not? I'm running Ubuntu
              12.04 with Folsom installed using the Ubuntu Cloud
              Archive.<br>
              <br>
              # dpkg -l | grep -e 'openstack\|horizon'<br>
              ii  openstack-dashboard             
              2012.2-0ubuntu2~cloud0       django web interface to
              Openstack<br>
              ii  openstack-dashboard-ubuntu-theme
              2012.2-0ubuntu2~cloud0       Ubuntu theme for the
              Openstack dashboard<br>
              ii  python-django-horizon           
              2012.2-0ubuntu2~cloud0       Django module providing web
              based interaction with OpenStack<br>
              ii  python-django-openstack         
              2012.2-0ubuntu2~cloud0       dummy transitonal package
              from python-django-openstack to python-django-horizon<br>
              ii  python-openstack-auth           
              1.0.1-0ubuntu6~cloud0        A django authentication
              backend for Openstack<br>
              <br>
              I have attached the main patch I had to apply to get
              dashboard working again, but I also had to patch:
              /usr/lib/python2.7/dist-packages/horizon/dashboards/settings/project/views.py 
              to change "from horizon.api import keystone" to "from
              horizon.api import keystoneclient" as well. If this is an
              actual bug I'm happy to file and supply the patch as
              appropriate.<br>
              <br>
              <br>
              <br>
              <br>
            </span><o:p></o:p></p>
          <div>
            <p class="MsoNormal" style="margin-bottom:12.0pt">-- <br>
              <span
style="font-size:10.0pt;font-family:"Helvetica","sans-serif""><br>
                --<br>
                <b>Sina Sadeghi</b><br>
                Lead Cloud Engineer<br>
                <img id="_x0000_i1025"
                  src="cid:part4.09050408.05050401@aptira.com"
                  height="60" width="103"><br>
                <b>Aptira Pty Ltd</b><br>
                1800 APTIRA<br>
                <a moz-do-not-send="true" href="http://www.aptira.com">aptira.com</a><br>
                <a moz-do-not-send="true"
                  href="https://twitter.com/#/aptira">Follow @aptira</a></span><o:p></o:p></p>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>