|
|
Line 1: |
Line 1: |
− | = How to run custom horizon with manila = | + | = How to run horizon with manila = |
− | This page describes how to try manila with horizon. It can be done on any host, not exactly the same as devstack installation.
| |
| | | |
− | ==Get custom horizon==
| + | The manila UI has been converted to horizon plugin. Follow the installation instructions at https://github.com/hp-storage/manila-ui/blob/master/README.rst |
− | | |
− | $ git clone -b manila_kilo https://github.com/NetApp/horizon.git # Horizon with support of Manila KIlo version, this one is recommended. Should be used with latest manilaclient (changes after version 1.0.2)
| |
− | or
| |
− | $ git clone -b manila_juno https://github.com/NetApp/horizon.git # Horizon of Juno version with Manila support. Should be used only with Juno version of manila server and manilaclient of 1.0.1 version - https://github.com/openstack/python-manilaclient/releases/tag/1.0.1
| |
− | or
| |
− | $ git clone -b manila_icehouse https://github.com/NetApp/horizon.git # Horizon of Icehouse version with Manila support. Old, not recommended
| |
− | and
| |
− | $ cd horizon
| |
− | and
| |
− | $ cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py
| |
− | | |
− | open file '''''openstack_dashboard/local/local_settings.py'''''
| |
− | | |
− | find var "''OPENSTACK_HOST''" and set here address of host where devstack was installed
| |
− | | |
− | save and exit
| |
− | | |
− | ==Be sure, all dependencies are installed==
| |
− | | |
− | run in horizon's dir
| |
− | | |
− | $ sudo python setup.py install
| |
− | | |
− | Also, need to install python-manilaclient
| |
− | | |
− | $ sudo pip install git+https://github.com/openstack/python-manilaclient.git
| |
− | | |
− | ==Run horizon==
| |
− | $ sudo python manage.py runserver
| |
− | | |
− | it will be available on 127.0.0.1:8000
| |
− | | |
− | to specify all interfaces, use:
| |
− | | |
− | $ sudo python manage.py runserver 0.0.0.0:8000
| |
− | | |
− | port can be set to any not used valid port value.
| |