how to add manila-ui on already installed horizon

asked 2016-08-04 00:00:22 -0500

openstackstarter gravatar image

Hi, I'm following Openstack Guide Mitaka for Ubuntu. I've installed Manila project and seems to run well, now I'm trying to add ManilaUI onto my dashboard. Many suggest I should follow steps on this web site: https://github.com/openstack/manila-u...

but, while I was following Openstack Guide, I already installed horizon and it's up and running. I don't know what excatly commands below do, but to me it looks like installing horizon services again.

git clone https://github.com/openstack/horizon
git clone https://github.com/openstack/manila-ui
Create a virtual environment and install Horizon dependencies:

cd horizon
python tools/install_venv.py

So I tried install only manila-ui,

 tools/with_venv.sh pip install -e ../manila-ui/

and it doesnt work.

root@control-node:/etc/manila-ui# python tools/with_venv.sh pip install -e /etc/manila-ui
  File "tools/with_venv.sh", line 2
    TOOLS_PATH=${TOOLS_PATH:-$(dirname $0)}
               ^
SyntaxError: invalid syntax

Is there any other way to add manila tab on already installed horizon, or is it safe to do

 :cd horizon
    python tools/install_venv.py

this? Any suggestions to get manila onto dashboard would be helpful. Thanks in advance!

edit retag flag offensive close merge delete