<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I have installed OpenStack Diablo (version 2011.3.1 released January
    20, 2012) on Linux Ubuntu Oneiric (11.10), including a working
    version of the essex-dev dashboard (Horizon).<br>
     <br>
    By installing the development version of the dashboard, you can
    manage almost everything, including:<br>
     <br>
    - In the project panel: instances, volumes, floating IPs, security
    groups, images, and instance snapshots.<br>
    - In the admin panel: instances, services, flavors, images, tenants
    (projects), users, and quotas.<br>
     <br>
    In both panels, you also have status and usage information.<br>
    <br>
    Versions and installation methods:<br>
     <br>
    * Version 2011.3.1 (stable/diablo) for:<br>
     <br>
    - Nova (ppa/deb packages)<br>
    - Glance (ppa/deb packages)<br>
    - Keystone (ppa/deb packages)<br>
     <br>
    * Version 2012.1-dev (dev/essex) for:<br>
     <br>
    - Dashboard (git/source package)<br>
    <br>
    You can find the detailed procedure to install
    Nova/Glance/Keystone/Horizon on Ubuntu Oneiric here:<br>
    <br>
    Install Your Own OpenStack Cloud – Diablo Version 2011.3.1 with
    Keystone and Horizon<br>
<a class="moz-txt-link-freetext" href="http://dodeeric.wordpress.com/2012/01/24/install-your-own-openstack-cloud-diablo-edition-2011-3-1-with-keystone-and-horizon">http://dodeeric.wordpress.com/2012/01/24/install-your-own-openstack-cloud-diablo-edition-2011-3-1-with-keystone-and-horizon</a><br>
    <br>
    Bellow the part concerning the installation of the dashboard:<br>
    <br>
    Install the dashboard:<br>
     <br>
    Get the dashboard source from Github, version essex-2-46-g580ecc2
    (dev/essex):<br>
    <br>
    # cd /usr/local/<br>
    # wget
<a class="moz-txt-link-freetext" href="https://github.com/openstack/horizon/tarball/580ecc20bc04fdb74e1a8416feddcc84de745cd6">https://github.com/openstack/horizon/tarball/580ecc20bc04fdb74e1a8416feddcc84de745cd6</a><br>
    # mv 580ecc20bc04fdb74e1a8416feddcc84de745cd6
    horizon-e2-46-g580ecc2.tar.gz<br>
    # tar -xzvf horizon-e2-46-g580ecc2.tar.gz<br>
    # mv openstack-horizon-580ecc2 horizon-e2-46-g580ecc2 <br>
    <br>
    Install some required packages:<br>
    <br>
    # aptitude install python-django python-setuptools python-dev <br>
    <br>
    Adapt the configuration file:<br>
    <br>
    # cd /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/local/<br>
    # cp local_settings.py.example local_settings.py<br>
    # vi local_settings.py <br>
    <br>
    And adapt two parameters as follow:<br>
    <br>
    OPENSTACK_HOST = "node1"<br>
    QUANTUM_ENABLED = False <br>
    <br>
    Install a Python virtual environment:<br>
    <br>
    # cd /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/tools/<br>
    # easy_install virtualenv <br>
    <br>
    Install the dashboard in the virtual environment (that will take
    some time):<br>
    <br>
    # python install_venv.py <br>
    <br>
    The install should finish with the following messages (if not, start
    the install again):<br>
    <br>
    Installing horizon module in development mode...<br>
    OpenStack Dashboard development environment setup is complete.<br>
    To activate the virtualenv for the extent of your current shell
    session you can run:<br>
    $ source .dashboard-venv/bin/activate <br>
    <br>
    Activate the virtual environment:<br>
    <br>
    # cd
/usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/.dashboard-venv/bin/<br>
    # source activate <br>
    <br>
    Create the SQLite DB with its tables:<br>
    <br>
    # cd
    /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/dashboard/<br>
    # ./manage.py syncdb <br>
    <br>
    You will see the following messages:<br>
    <br>
    Creating tables ...<br>
    Creating table django_session<br>
    Installing custom SQL ...<br>
    Installing indexes ...<br>
    No fixtures found. <br>
    <br>
    Install Openstackx diablo (extention for nova-api diablo):<br>
    <br>
    # cd /usr/local/<br>
    # wget <a class="moz-txt-link-freetext" href="https://github.com/cloudbuilders/openstackx/tarball/rcb_v1.1">https://github.com/cloudbuilders/openstackx/tarball/rcb_v1.1</a><br>
    # mv rcb_v1.1 openstackx-diablo.tar.gz<br>
    # tar -xzvf openstackx-diablo.tar.gz<br>
    # mv cloudbuilders-openstackx-53fd616 openstackx-diablo <br>
    <br>
    Adapt the nova.conf file as follow:<br>
    <br>
    # vi /etc/nova/nova.conf <br>
    <br>
    And add the following parameter:<br>
    <br>
    --osapi_extensions_path=/usr/local/openstackx-diablo/extensions <br>
    <br>
    Launch the Dashboard on port tcp/8000:<br>
    <br>
    # cd
    /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/dashboard/<br>
    # ./manage.py runserver 0.0.0.0:8000 <br>
    <br>
    You will see the following messages:<br>
    <br>
    Django version 1.3.1, using settings 'dashboard.settings'<br>
    Development server is running at <a class="moz-txt-link-freetext" href="http://0.0.0.0:8000/">http://0.0.0.0:8000/</a><br>
    Quit the server with CONTROL-C. <br>
    You can now access the Dashboard with a web browser at the address:
    <a class="moz-txt-link-freetext" href="http://localhost:8000">http://localhost:8000</a> or <a class="moz-txt-link-freetext" href="http://node1:8000">http://node1:8000</a> or
    <a class="moz-txt-link-freetext" href="http://192.168.1.201:8000">http://192.168.1.201:8000</a><br>
     <br>
    To be able to connect on the console of the instances via VNC, you
    need to install the nova-vncproxy package and the noVNC software (it
    is a slightly modified version of noVNC which can work with the
    nova-vnc-proxy).<br>
     <br>
    Install nova-vncproxy:<br>
    <br>
    # aptitude install nova-vncproxy <br>
    <br>
    nova-vncproxy will not start automatically: it gives the following
    error:<br>
    INFO nova.wsgi [-] Starting TCP server /usr/bin/nova-vncproxy on
    0.0.0.0:843<br>
    CRITICAL nova [-] [Errno 13] Permission denied <br>
    Start it manually in a screen with root:<br>
    <br>
    # nova-vncproxy <br>
    <br>
    Install noVNC:<br>
    <br>
    # cd /var/lib/nova/<br>
    # git clone <a class="moz-txt-link-freetext" href="https://github.com/openstack/noVNC.git">https://github.com/openstack/noVNC.git</a> <br>
    <br>
    Adapt the nova.conf file as follow:<br>
    <br>
    # vi /etc/nova/nova.conf <br>
    <br>
    And add this parameter:<br>
    <br>
    --vncproxy_url=<a class="moz-txt-link-freetext" href="http://node1:6080">http://node1:6080</a> <br>
    <br>
    <br>
    On 24/01/2012 00:17, Debo Dutta (dedutta) wrote:
    <blockquote
cite="mid:9C3B47F84C2F814DA02F301C0158838A05A27AF4@xmb-sjc-222.amer.cisco.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <title>Re: [Openstack] dashboard in oneric</title>
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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";}
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;}
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;}
--></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">FWIW
            I ran the old devstack and it worked (with horizon). Out of
            the box except for some UI issues (horizon!) and with
            quantum<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">debo<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>
          <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"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
                <a class="moz-txt-link-abbreviated" href="mailto:openstack-bounces+dedutta=cisco.com@lists.launchpad.net">openstack-bounces+dedutta=cisco.com@lists.launchpad.net</a>
                [<a class="moz-txt-link-freetext" href="mailto:openstack-bounces+dedutta=cisco.com@lists.launchpad.net">mailto:openstack-bounces+dedutta=cisco.com@lists.launchpad.net</a>]
                <b>On Behalf Of </b>Denmat<br>
                <b>Sent:</b> Monday, January 23, 2012 2:25 PM<br>
                <b>Cc:</b> openstack<br>
                <b>Subject:</b> Re: [Openstack] dashboard in oneric<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">FWIW, I got horizon/keystone from
            devstack working on a separate host to my Ubuntu ppa
            openstack host.  Couldn't get them on the one host due to
            python libs getting installed to different locations.<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
        <div>
          <p class="MsoNormal">Den<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
            On 24/01/2012, at 9:00, Joshua Harlow <<a
              moz-do-not-send="true"
              href="mailto:harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>>
            wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <div>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif"">You
                should be able to use the newer devstack v2 to get
                horizon up and running.<br>
                <br>
                I haven’t tested it to well but I think it will do it.<br>
                <br>
                <a moz-do-not-send="true"
                  href="https://github.com/yahoo/Openstack-Devstack2">https://github.com/yahoo/Openstack-Devstack2</a><br>
                <br>
                ./stack –c horizon –a install –d
                $HOME/youropenstackplace (will install all of horizons
                dependencies also)<br>
                <br>
                ./stack –c horizon –a start –d $HOME/youropenstackplace
                (should start horizon + dependencies, haven’t messed
                around with this yet, might need a little work)<br>
                <br>
                -Josh<br>
                <br>
                On 1/23/12 12:37 PM, "Paras pradhan" <<a
                  moz-do-not-send="true" href="pradhanparas@gmail.com">pradhanparas@gmail.com</a>>
                wrote:</span><o:p></o:p></p>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif"">I
                have seen folks at openstack IRC who could get it
                working but all<br>
                packages from github. I have tried several options and
                the problem is<br>
                related with openstackx. I run diablo from ubuntu repo
                and its working<br>
                fine. Somebody told me that the dashboard / keystone at
                ubuntu is<br>
                broken . I could run dashboard and keystone that I
                checkout from<br>
                horizon. I could login in with errors but looks its
                really impossible<br>
                to fix (at least to me) the openstackx issue.<br>
                <br>
                <br>
                If anyone has working dashboard with diablo from Oneric
                please share<br>
                how they handle the issues with openstackx<br>
                Paras<br>
                <br>
                <br>
                On Mon, Jan 23, 2012 at 1:25 PM, Vishvananda Ishaya<br>
                <<a moz-do-not-send="true"
                  href="vishvananda@gmail.com">vishvananda@gmail.com</a>>
                wrote:<br>
                > Dashboard requires keystone, so I don't know if
                this is possible without a<br>
                > lot of hacking.<br>
                ><br>
                > Vish<br>
                ><br>
                > On Jan 23, 2012, at 10:56 AM, Jorge Luiz Correa
                wrote:<br>
                ><br>
                > Well, I tried to install from Ubuntu (Oneiric)
                repos but just could get it<br>
                > working without keystone. So, in this case, I
                couldn't use horizon (requires<br>
                > keystone).<br>
                ><br>
                > Trying to use the dashboard from repos, it didn't
                work.<br>
                ><br>
                > Currently, I'm running Diablo from ubuntu repos
                without dashboard, just<br>
                > command line tools to manage the cloud (euca2ools).<br>
                ><br>
                > Regards.<br>
                ><br>
                > On Mon, Jan 23, 2012 at 4:26 PM, Paras pradhan <<a
                  moz-do-not-send="true" href="pradhanparas@gmail.com">pradhanparas@gmail.com</a>><br>
                > wrote:<br>
                >><br>
                >> Has anyone recently able to run
                dashboard/horizon in Ubuntu Oneric. If<br>
                >> yes which one should I use? dashboard from
                ubuntu or horizon src from<br>
                >> github?<br>
                >><br>
                >> Thanks<br>
                >> Paras.<br>
                >><br>
                >> _______________________________________________<br>
                >> Mailing list: <a moz-do-not-send="true"
                  href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
                >> Post to     : <a moz-do-not-send="true"
                  href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                >> Unsubscribe : <a moz-do-not-send="true"
                  href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
                >> More help   : <a moz-do-not-send="true"
                  href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br>
                ><br>
                ><br>
                ><br>
                ><br>
                > --<br>
                > - MSc. Correa, J.L.<br>
                ><br>
                > _______________________________________________<br>
                > Mailing list: <a moz-do-not-send="true"
                  href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
                > Post to     : <a moz-do-not-send="true"
                  href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                > Unsubscribe : <a moz-do-not-send="true"
                  href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
                > More help   : <a moz-do-not-send="true"
                  href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br>
                ><br>
                ><br>
                ><br>
                > _______________________________________________<br>
                > Mailing list: <a moz-do-not-send="true"
                  href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
                > Post to     : <a moz-do-not-send="true"
                  href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                > Unsubscribe : <a moz-do-not-send="true"
                  href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
                > More help   : <a moz-do-not-send="true"
                  href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br>
                ><br>
                <br>
                _______________________________________________<br>
                Mailing list: <a moz-do-not-send="true"
                  href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
                Post to     : <a moz-do-not-send="true"
                  href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                Unsubscribe : <a moz-do-not-send="true"
                  href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
                More help   : <a moz-do-not-send="true"
                  href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></span><o:p></o:p></p>
          </div>
        </blockquote>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <div>
            <p class="MsoNormal">_______________________________________________<br>
              Mailing list: <a moz-do-not-send="true"
                href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
              Post to     : <a moz-do-not-send="true"
                href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
              Unsubscribe : <a moz-do-not-send="true"
                href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
              More help   : <a moz-do-not-send="true"
                href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><o:p></o:p></p>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>