Can't create a project in Openstack Grizzly with Juju

James Page james.page at ubuntu.com
Fri Aug 23 11:40:15 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Kurt

On 23/08/13 08:50, Kurt Scholtens wrote:
> When I try to create a project, I see the following error:
> 
> *Error: *An error occurred. Please try again.
> 
> After googling, I found that the horizon node should have 
> interesting information in the apache2 logs, and sure enough, here 
> is what I see:
> 
> [Fri Aug 23 07:25:16 2013] [error] Problem instantiating action 
> class. [Fri Aug 23 07:25:16 2013] [error] Traceback (most recent 
> call last): [Fri Aug 23 07:25:16 2013] [error]   File 
> "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 
> 360, in action [Fri Aug 23 07:25:16 2013] [error]     context)
> [Fri Aug 23 07:25:16 2013] [error]   File
> 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/projects/workflows.py",
> 
> 
line 134, in __init__
> [Fri Aug 23 07:25:16 2013] [error] redirect=reverse(INDEX_URL))
> [Fri Aug 23 07:25:16 2013] [error] File
> 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/projects/workflows.py",
> 
> 
line 130, in __init__
> [Fri Aug 23 07:25:16 2013] [error]     raise 
> exceptions.NotFound(msg) [Fri Aug 23 07:25:16 2013] [error] 
> NotFound: Could not find default role "Member" in Keystone

The Member role should be created when you relate the
openstack-dashboard charm to the keystone charm - please can you check
for any relation errors on either end of that link.

You can also check in keystone itself with 'keystone role-list' to
ensure that the role has been created.

[Fri Aug 23 07:25:16 2013] [error] [client 127.0.0.1]     return
self.render_compressed(context, self.kind, self.mode, forced=forced),
referer: http://172.16.118.21/horizon/admin/projects/
[Fri Aug 23 07:25:16 2013] [error] [client 127.0.0.1]   File
"/usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py", line
88, in render_compressed, referer:
http://172.16.118.21/horizon/admin/projects/
[Fri Aug 23 07:25:16 2013] [error] [client 127.0.0.1]
cached_offline = self.render_offline(context, forced=forced), referer:
http://172.16.118.21/horizon/admin/projects/
[Fri Aug 23 07:25:16 2013] [error] [client 127.0.0.1]   File
"/usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py", line
72, in render_offline, referer:
http://172.16.118.21/horizon/admin/projects/
[Fri Aug 23 07:25:16 2013] [error] [client 127.0.0.1]     'You may
need to run "python manage.py compress".' % key), referer:
http://172.16.118.21/horizon/admin/projects/
[Fri Aug 23 07:25:16 2013] [error] [client 127.0.0.1]
OfflineGenerationError: You have offline compression enabled but key
"3ddd89d27fa2e162d4efd30c103a072b" is missing from offline manifest.
You may need to run "python manage.py compress"., referer:
http://172.16.118.21/horizon/admin/projects/

Not sure why you are seeing this - try turning on online compression
and debug errors:

juju set keystone offline-compression="no" debug="yes"

That should at least give you a stack trace in the web browser with
more information.

Cheers

James

- -- 
James Page
Ubuntu and Debian Developer
james.page at ubuntu.com
jamespage at debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBCAAGBQJSF0ofAAoJEL/srsug59jDoL4QANXCjCGC/JQ/Od2Q6mHv/sTp
YM1cqslEotOtALTw9ZiRr57kf4fx05zT9j+YGA5lx0XFLIZunXM13AR8bvkF2TS2
xJUbbkNGPB1N89rvBFsIjQ3xHfirN0hThTW1/ZPYVoX/0POtxXoPhYTQ9gFZIhq5
hLSCRkxyR/KWpxGX6ukQS/Xvyu9XLThQqWLOClgX8ubp47iZZqt8WbhwGmi89cWV
0oNb9ONXCpmY/Te3nkVaZc+fFb0QzogrQNP/LeEJwFAWS3hLaKX+Rb8BqBdp5wH4
a9/OLeZ4dUwJaUk/jfIs/9b+ZN27nyJntys9OrCtjC6afji7edztvQLRH9L30Rkw
wJMbm4ElJpZyvCfxTEQP8viZjKoIcocKejTG6asMs5L7WVPmWPAmD8y3TT3jUCOG
aRxQg2xwHIllMsBc52KHypk3ZpUlsRpmCM+v8LD6B/mfro9ca7e3dcPxySt7fXMr
U/iVcX2e0I1R2jQhcgeHO25AuWE6itGOmONfnTlUgqaPvPOditBIuNZ6E/x44sgr
rG/y4oX3Zew6/W4MjfE4p2Bj3OomMNlvH7SzbBAIBH7wnUxY1PRhwYxLcaNCyWbS
VN52wlGUanedgh6t+nLiDnzJbNpUeM7tQVDHg6Y0kkbc18Uw0iPGkEGsJrX3KkAQ
ZY17wrR/Iyi1GD9bc7e+
=NBtz
-----END PGP SIGNATURE-----



More information about the Juju mailing list