Horizon requirements
Hİ,
I want to work horizon services for only swift. and I don't want to install nova and keystone and glance. What can I do for horizon config?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Rob Raymond
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Horizon requires esp. keystone to work; the same applies to nova, and probably also to glance. Sorry.
Revision history for this message
|
#2 |
I understand your response, I just only need to install the keystone for horizon.
Revision history for this message
|
#4 |
If you are up for making some minor modifications to horizon, you can make it work without nova. First update your default panel to the swift panel in local_settings.py. Then modify all the panels in the dashboards that pertain to anything other than identity or swift panel.py not to register.. Then you have an identity and swift only horizon.
Revision history for this message
|
#5 |
Can you explain in detail?
Revision history for this message
|
#6 |
Here are the steps I would do.
Most of this can be done by changing openstack_
This is where all of the panels are registered in the projects dashboard. Remove every panel group
except ObjectStorePanels from the panels list in the Project class.
Change default_panel in the Project class to be "object_store" rather than "overview"
You can do a similar change in the admin dashboard in openstack_
In this case keep only the IdentityPanels in the panels list and change the default_panel to be one of the panels in the
IdentityPanels list.
Hope that helps.
Revision history for this message
|
#7 |
Thanks Rob Raymond, that solved my question.
Revision history for this message
|
#8 |
Is that mandatory to have overview and instances in panel list in dashboard.py. other panels images, volumes etc are removed without any problem.I'm getting internal server error if I remove instances and overview from the panel.
I want to get only object store in my horizon dashboard.
Revision history for this message
|
#9 |
I think I might be having the same problem. The problem I am having is that I don't know what connection is being refused.
[Wed Jul 30 22:15:38 2014] [error] DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.
[Wed Jul 30 22:15:39 2014] [error] Internal Server Error: /dashboard/admin/
[Wed Jul 30 22:15:39 2014] [error] Traceback (most recent call last):
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] response = callback(request, *callback_args, **callback_kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] return view_func(request, *args, **kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] return view_func(request, *args, **kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] return view_func(request, *args, **kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] return view_func(request, *args, **kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] return view_func(request, *args, **kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] return self.dispatch(
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] return handler(request, *args, **kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] handled = self.construct_
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] handled = self.handle_
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] data = self._get_
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] self._data = {self.table_
[Wed Jul 30 22:15:39 2014] [error] File "/usr/share/
[Wed Jul 30 22:15:39 2014] [error] data = super(GlobalOve
[Wed Jul 30 22:15:39 2014] [error] File "/usr/share/
[Wed Jul 30 22:15:39 2014] [error] self.usage.
[Wed Jul 30 22:15:39 2014] [error] File "/usr/share/
[Wed Jul 30 22:15:39 2014] [error] if not api.nova.
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] value = cache[key] = func(*args, **kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/share/
[Wed Jul 30 22:15:39 2014] [error] extensions = list_extensions
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] value = cache[key] = func(*args, **kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/share/
[Wed Jul 30 22:15:39 2014] [error] return nova_list_
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] return self._list(
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] _resp, body = self.api.
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] return self._cs_
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] **kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] resp, body = self.request(url, method, **kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] **kwargs)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] return session.
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] resp = self.send(prep, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies)
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] r = adapter.
[Wed Jul 30 22:15:39 2014] [error] File "/usr/lib/
[Wed Jul 30 22:15:39 2014] [error] raise ConnectionError
[Wed Jul 30 22:15:39 2014] [error] ConnectionError: [Errno 111] Connection refused
What I would like to do is either run the pdb debugger or else add a print statement in adapters.py to isolate the problem further, but I'm not sure exactly what the code is doing, and where would the output of the print statement go?
Thank you
Jeff Silverman
Revision history for this message
|
#10 |
Jeff, I'm not really sure, if your issue is solved by not using keystone, nova, etc. like the original poster said.
In your case, I'd check if neutron is running and reachable
Revision history for this message
|
#11 |
The Nova client is failing so it looks like it's Nova that can't be reached. Check that the service is up and running, firewall ports open etc so that the Horizon machine can communicate with the nova server.