[openstack-dev] [tuskar] How to install tuskar-ui from packaging point of view

Stephen Gran stephen.gran at theguardian.com
Mon Dec 16 07:52:22 UTC 2013

On 16/12/13 03:47, Thomas Goirand wrote:
> Hi,
> I've been working over the last 2 months to get Ironic, TripleO and
> Tuskar ready for an upload in Debian. However, for tuskar-ui, I'm facing
> the fact that there's a lack of documentation.
> It was easy to get Tuskar packaged. If I understand well, it only needs
> 2 daemons: tuskar-api, and tuskar-manager. Is this right? If not, what
> did I miss? Is tuskar-manager really a daemon? (I have to admit that I
> didn't find yet the time to try, so I would appreciate some guidance here)
> As for tuskar-ui, the install.rst is quite vague about how to install. I
> got the python-tuskar-ui binary package done, with egg-info and all,
> that's not the problem. What worries me is this part:
> "Go into horizon and create a symlink to the tuskar-ui code:
> cd horizon
> ln -s ../tuskar-ui/tuskar_ui
> Then, install a virtual environment for your setup:

Add this to debian/links or something?  It sounds like it needs a 
dependency on horizon to make sure that the directory exists.

> python tools/install_venv.py"

This means "turn the list of dependencies in the source package into 
dependencies in the debian package", I would think.

> 3/ The install.rst has:
> If everything has gone according to plan, you should be able to run:
> tools/with_venv.sh ./manage.py runserver
> and have the application start on port 8080. The Tuskar dashboard will
> be located at http://localhost:8080/infrastructure
> does this mean that on top of Horizon running through Apache, tuskar-ui
> needs to run independently? Why is that? Can't we just have tuskar-ui
> simply integrated with the rest of Horizon?

Typically (although I haven't looked at tuskar in particular) this can 
also be done as a wsgi service in apache.  That shouldn't be too hard to 
knock up for the debian packages.

Stephen Gran
Senior Systems Integrator - theguardian.com
Please consider the environment before printing this email.
Visit theguardian.com   

On your mobile, download the Guardian iPhone app theguardian.com/iphone and our iPad edition theguardian.com/iPad   
Save up to 33% by subscribing to the Guardian and Observer - choose the papers you want and get full digital access.
Visit subscribe.theguardian.com

This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.
Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.
Guardian News & Media Limited
A member of Guardian Media Group plc
Registered Office
PO Box 68164
Kings Place
90 York Way
Registered in England Number 908396


More information about the OpenStack-dev mailing list