how can I install horizon without nova?

Asked by Mehmet Hacısalihoğlu on 2014-01-08

Hi,
I want to install horizon on package,but I dont want install nova. Can I do this setup on package?
If I install to horizon on source code(github), horizon is worked without nova.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Solved by:
Rob Raymond
Solved:
Last query:
Last reply:
Matthias Runge (mrunge) said : #1

Short answer: you can't.

Keystone and nova are both required.

Ana Krivokapić (akrivoka) said : #2

Glance is also required, as documented on the wiki:
https://wiki.openstack.org/wiki/Horizon#Requirements

Rob Raymond (rob-raymond) said : #3

This question is the same as 237210 from Mehmet

The answers were along the same lines: you can't

There were also some suggestions on how to hack the code to avoid the nova dependencies.

Best Rob Raymond (rob-raymond) said : #4

Perhaps the question is different: the first is at code level vs. this is at an install package level.

As said before, you cannot do this, but you might want to create a new blueprint for this, since it could be useful for others.

There is a blueprint to break out openstack_dashboards from horizon that might help since horizon does not have a dependency on nova but some of the openstack_dashboards do.

Then the next job would be to break out the contaners panel into its own dashboard.

Thanks Rob Raymond, that solved my question.

After I installed horizon on package, I changed code in /usr/lib/python2.7/dist-packages/horizon/dashboards/nova/dashboard.py. And Horizon dont show nova screens. Still I needed to install nova.
But If I horizon on source code, I dont need to install nova or glance