[Openstack] Cannot create projects. Folsom on Centos 6.3

Kiall Mac Innes kiall at managedit.ie
Thu Dec 27 14:50:49 UTC 2012


Nova no longer manages projects (or users etc), instead keystone does.

Try the keystone logs, and the keystone-manage command. (FYI keystone calls
projects "tenants".)
On 27 Dec 2012 14:04, "Andrew Holway" <a.holway at syseleven.de> wrote:

> Hi,
>
> I am trying to create a new project on my fresh folsom install on
> Centos6.3.
>
> In Dashboard I can see the service and admin project but I cannot edit
> these or make a new one. I see "Error: An error occurred. Please try
> again.".
>
> "nova-manage project create" and  "nova-manage project add" etc do not
> seem to exist as commands on this system.....
>
> I am using Gluster and this install guide:
> https://github.com/beloglazov/openstack-centos-kvm-glusterfs/
>
> I see this in the httpd log but do not see anything relevant in the nova
> logs.
>
> [Thu Dec 27 13:51:05 2012] [error] Problem instantiating action class.
> [Thu Dec 27 13:51:05 2012] [error] Traceback (most recent call last):
> [Thu Dec 27 13:51:05 2012] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/workflows/base.py", line 361, in
> action
> [Thu Dec 27 13:51:05 2012] [error]     context)
> [Thu Dec 27 13:51:05 2012] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/dashboards/syspanel/projects/workflows.py",
> line 110, in __init__
> [Thu Dec 27 13:51:05 2012] [error]     redirect=reverse(INDEX_URL))
> [Thu Dec 27 13:51:05 2012] [error]   File
> "/usr/lib/python2.6/site-packages/horizon/dashboards/syspanel/projects/workflows.py",
> line 106, in __init__
> [Thu Dec 27 13:51:05 2012] [error]     default_role =
> api.get_default_role(self.request).id
> [Thu Dec 27 13:51:05 2012] [error] AttributeError: 'NoneType' object has
> no attribute 'id'
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222] mod_wsgi
> (pid=15267): Exception occurred processing WSGI script
> '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222] Traceback
> (most recent call last):
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 241,
> in __call__
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     response =
> self.get_response(request)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 179,
> in get_response
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     response =
> self.handle_uncaught_exception(request, resolver, sys.exc_info())
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 228,
> in handle_uncaught_exception
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> callback(request, **param_dict)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/utils/decorators.py", line 91, in
> _wrapped_view
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     response =
> view_func(request, *args, **kwargs)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/views/defaults.py", line 33, in
> server_error
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> http.HttpResponseServerError(t.render(Context({})))
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 140, in
> render
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> self._render(context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in
> _render
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> self.nodelist.render(context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in
> render
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     bit =
> self.render_node(node, context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 837, in
> render_node
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> node.render(context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line
> 123, in render
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> compiled_parent._render(context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in
> _render
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> self.nodelist.render(context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in
> render
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     bit =
> self.render_node(node, context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 837, in
> render_node
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> node.render(context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line
> 155, in render
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> self.render_template(self.template, context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line
> 137, in render_template
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     output =
> template.render(context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 140, in
> render
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> self._render(context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in
> _render
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> self.nodelist.render(context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in
> render
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     bit =
> self.render_node(node, context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 837, in
> render_node
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> node.render(context)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py",
> line 147, in render
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     return
> self.render_compressed(context, self.kind, self.mode, forced=forced)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py",
> line 88, in render_compressed
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]
> cached_offline = self.render_offline(context, forced=forced)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]   File
> "/usr/lib/python2.6/site-packages/compressor/templatetags/compress.py",
> line 72, in render_offline
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]     'You may
> need to run "python manage.py compress".' % key)
> [Thu Dec 27 13:51:05 2012] [error] [client 188.106.176.222]
> OfflineGenerationError: You have offline compression enabled but key
> "1056718f92f8d4204721bac759b3871a" is missing from offline manifest. You
> may need to run "python manage.py compress".
>
>
> Thanks,
>
> Andrew
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121227/115c95cf/attachment.html>


More information about the Openstack mailing list