[Openstack] New to OpenStack - question Swift+Keystone & Horizon

Brian Ipsen brian.ipsen at ryesgade47c.dk
Wed Jan 16 21:28:32 UTC 2013


Hi

I have just started to take a look at OpenStack (especially Swift, as this is what is most needed for a case I am investigating).
So far I have managed to get a Swift node up and running (all-in-one) on Ubuntu, but for some reasons I have been asked to take at look at the RedHat preview-implementation of the Folsom release.

Since Nova and the other parts not are needed, I would prefer not to install those parts... But will Horizon still be able to work - just with Swift and the underlying identity service based on keystone ?

I have tried the RedHat approach, and Keystone is up and running. I then tried to install and configure Horizon according to the RedHat instructions (and installed Swift afterwards). But whenever I log on to the Horizon interface, I get an "internal server error" page back.

Sine I don't know whether Horizon will run on such a limited setup (and I have not been able to locate information about it), I don't know whether it could be a bug in the RedHat implementation - or it simply is an unsupported setup...

Regards
Brian

PS: The error I get is this (from httpd error log):
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34] mod_wsgi (pid=1715): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34] Traceback (most recent call last):
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 241, in __call__
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     response = self.get_response(request)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 179, in get_response
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 228, in handle_uncaught_exception
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return callback(request, **param_dict)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/utils/decorators.py", line 91, in _wrapped_view
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     response = view_func(request, *args, **kwargs)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/views/defaults.py", line 33, in server_error
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return http.HttpResponseServerError(t.render(Context({})))
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 140, in render
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return self._render(context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in _render
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return self.nodelist.render(context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     bit = self.render_node(node, context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 837, in render_node
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return node.render(context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 123, in render
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return compiled_parent._render(context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in _render
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return self.nodelist.render(context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     bit = self.render_node(node, context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 837, in render_node
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return node.render(context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 155, in render
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return self.render_template(self.template, context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 137, in render_template
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     output = template.render(context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 140, in render
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return self._render(context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in _render
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return self.nodelist.render(context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     bit = self.render_node(node, context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 837, in render_node
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return node.render(context)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py", line 147, in render
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     return self.render_compressed(context, self.kind, self.mode, forced=forced)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py", line 88, in render_compressed
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     cached_offline = self.render_offline(context, forced=forced)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]   File "/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py", line 72, in render_offline
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34]     'You may need to run "python manage.py compress".' % key)
[Wed Jan 16 20:12:40 2013] [error] [client 10.41.43.34] OfflineGenerationError: You have offline compression enabled but key "1056718f92f8d4204721bac759b3871a" is missing from offline manifest. You may need to run "python manage.py compress".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130116/19c28e83/attachment.html>


More information about the Openstack mailing list