[Openstack] dashboard in oneric
Eric Dodemont
eric.dodemont at skynet.be
Sat Jan 28 10:04:42 UTC 2012
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).
By installing the development version of the dashboard, you can manage
almost everything, including:
- In the project panel: instances, volumes, floating IPs, security
groups, images, and instance snapshots.
- In the admin panel: instances, services, flavors, images, tenants
(projects), users, and quotas.
In both panels, you also have status and usage information.
Versions and installation methods:
* Version 2011.3.1 (stable/diablo) for:
- Nova (ppa/deb packages)
- Glance (ppa/deb packages)
- Keystone (ppa/deb packages)
* Version 2012.1-dev (dev/essex) for:
- Dashboard (git/source package)
You can find the detailed procedure to install
Nova/Glance/Keystone/Horizon on Ubuntu Oneiric here:
Install Your Own OpenStack Cloud -- Diablo Version 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
Bellow the part concerning the installation of the dashboard:
Install the dashboard:
Get the dashboard source from Github, version essex-2-46-g580ecc2
(dev/essex):
# cd /usr/local/
# wget
https://github.com/openstack/horizon/tarball/580ecc20bc04fdb74e1a8416feddcc84de745cd6
# mv 580ecc20bc04fdb74e1a8416feddcc84de745cd6 horizon-e2-46-g580ecc2.tar.gz
# tar -xzvf horizon-e2-46-g580ecc2.tar.gz
# mv openstack-horizon-580ecc2 horizon-e2-46-g580ecc2
Install some required packages:
# aptitude install python-django python-setuptools python-dev
Adapt the configuration file:
# cd /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/local/
# cp local_settings.py.example local_settings.py
# vi local_settings.py
And adapt two parameters as follow:
OPENSTACK_HOST = "node1"
QUANTUM_ENABLED = False
Install a Python virtual environment:
# cd /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/tools/
# easy_install virtualenv
Install the dashboard in the virtual environment (that will take some time):
# python install_venv.py
The install should finish with the following messages (if not, start the
install again):
Installing horizon module in development mode...
OpenStack Dashboard development environment setup is complete.
To activate the virtualenv for the extent of your current shell session
you can run:
$ source .dashboard-venv/bin/activate
Activate the virtual environment:
# cd
/usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/.dashboard-venv/bin/
# source activate
Create the SQLite DB with its tables:
# cd /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/dashboard/
# ./manage.py syncdb
You will see the following messages:
Creating tables ...
Creating table django_session
Installing custom SQL ...
Installing indexes ...
No fixtures found.
Install Openstackx diablo (extention for nova-api diablo):
# cd /usr/local/
# wget https://github.com/cloudbuilders/openstackx/tarball/rcb_v1.1
# mv rcb_v1.1 openstackx-diablo.tar.gz
# tar -xzvf openstackx-diablo.tar.gz
# mv cloudbuilders-openstackx-53fd616 openstackx-diablo
Adapt the nova.conf file as follow:
# vi /etc/nova/nova.conf
And add the following parameter:
--osapi_extensions_path=/usr/local/openstackx-diablo/extensions
Launch the Dashboard on port tcp/8000:
# cd /usr/local/horizon-e2-46-g580ecc2/openstack-dashboard/dashboard/
# ./manage.py runserver 0.0.0.0:8000
You will see the following messages:
Django version 1.3.1, using settings 'dashboard.settings'
Development server is running at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
You can now access the Dashboard with a web browser at the address:
http://localhost:8000 or http://node1:8000 or http://192.168.1.201:8000
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).
Install nova-vncproxy:
# aptitude install nova-vncproxy
nova-vncproxy will not start automatically: it gives the following error:
INFO nova.wsgi [-] Starting TCP server /usr/bin/nova-vncproxy on 0.0.0.0:843
CRITICAL nova [-] [Errno 13] Permission denied
Start it manually in a screen with root:
# nova-vncproxy
Install noVNC:
# cd /var/lib/nova/
# git clone https://github.com/openstack/noVNC.git
Adapt the nova.conf file as follow:
# vi /etc/nova/nova.conf
And add this parameter:
--vncproxy_url=http://node1:6080
On 24/01/2012 00:17, Debo Dutta (dedutta) wrote:
>
> FWIW I ran the old devstack and it worked (with horizon). Out of the
> box except for some UI issues (horizon!) and with quantum
>
> debo
>
> *From:*openstack-bounces+dedutta=cisco.com at lists.launchpad.net
> [mailto:openstack-bounces+dedutta=cisco.com at lists.launchpad.net] *On
> Behalf Of *Denmat
> *Sent:* Monday, January 23, 2012 2:25 PM
> *Cc:* openstack
> *Subject:* Re: [Openstack] dashboard in oneric
>
> 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.
>
> Den
>
>
> On 24/01/2012, at 9:00, Joshua Harlow <harlowja at yahoo-inc.com
> <mailto:harlowja at yahoo-inc.com>> wrote:
>
> You should be able to use the newer devstack v2 to get horizon up
> and running.
>
> I haven't tested it to well but I think it will do it.
>
> https://github.com/yahoo/Openstack-Devstack2
>
> ./stack --c horizon --a install --d $HOME/youropenstackplace (will
> install all of horizons dependencies also)
>
> ./stack --c horizon --a start --d $HOME/youropenstackplace (should
> start horizon + dependencies, haven't messed around with this yet,
> might need a little work)
>
> -Josh
>
> On 1/23/12 12:37 PM, "Paras pradhan" <pradhanparas at gmail.com> wrote:
>
> I have seen folks at openstack IRC who could get it working but all
> packages from github. I have tried several options and the problem is
> related with openstackx. I run diablo from ubuntu repo and its working
> fine. Somebody told me that the dashboard / keystone at ubuntu is
> broken . I could run dashboard and keystone that I checkout from
> horizon. I could login in with errors but looks its really impossible
> to fix (at least to me) the openstackx issue.
>
>
> If anyone has working dashboard with diablo from Oneric please share
> how they handle the issues with openstackx
> Paras
>
>
> On Mon, Jan 23, 2012 at 1:25 PM, Vishvananda Ishaya
> <vishvananda at gmail.com> wrote:
> > Dashboard requires keystone, so I don't know if this is possible
> without a
> > lot of hacking.
> >
> > Vish
> >
> > On Jan 23, 2012, at 10:56 AM, Jorge Luiz Correa wrote:
> >
> > Well, I tried to install from Ubuntu (Oneiric) repos but just
> could get it
> > working without keystone. So, in this case, I couldn't use
> horizon (requires
> > keystone).
> >
> > Trying to use the dashboard from repos, it didn't work.
> >
> > Currently, I'm running Diablo from ubuntu repos without
> dashboard, just
> > command line tools to manage the cloud (euca2ools).
> >
> > Regards.
> >
> > On Mon, Jan 23, 2012 at 4:26 PM, Paras pradhan
> <pradhanparas at gmail.com>
> > wrote:
> >>
> >> Has anyone recently able to run dashboard/horizon in Ubuntu
> Oneric. If
> >> yes which one should I use? dashboard from ubuntu or horizon src
> from
> >> github?
> >>
> >> Thanks
> >> Paras.
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~openstack
> <https://launchpad.net/%7Eopenstack>
> >> Post to : openstack at lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~openstack
> <https://launchpad.net/%7Eopenstack>
> >> More help : https://help.launchpad.net/ListHelp
> >
> >
> >
> >
> > --
> > - MSc. Correa, J.L.
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> <https://launchpad.net/%7Eopenstack>
> > Post to : openstack at lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~openstack
> <https://launchpad.net/%7Eopenstack>
> > More help : https://help.launchpad.net/ListHelp
> >
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> <https://launchpad.net/%7Eopenstack>
> > Post to : openstack at lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~openstack
> <https://launchpad.net/%7Eopenstack>
> > More help : https://help.launchpad.net/ListHelp
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> <https://launchpad.net/%7Eopenstack>
> Post to : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> <https://launchpad.net/%7Eopenstack>
> More help : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> <https://launchpad.net/%7Eopenstack>
> Post to : openstack at lists.launchpad.net
> <mailto:openstack at lists.launchpad.net>
> Unsubscribe : https://launchpad.net/~openstack
> <https://launchpad.net/%7Eopenstack>
> More help : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120128/c257e108/attachment.html>
More information about the Openstack
mailing list