[Openstack] Cannot create projects. Folsom on Centos 6.3

Julie Pichon jpichon at redhat.com
Thu Dec 27 15:13:17 UTC 2012


Hi Andrew,

"Andrew Holway" <a.holway at syseleven.de> wrote:
> 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'

I've seen something similar when the keystone default role defined in Horizon doesn't actually exist in Keystone. The guide you link to suggests changing the default role in Horizon to match the OS_TENANT_NAME environment variable. Could you check that the value of OPENSTACK_KEYSTONE_DEFAULT_ROLE in /etc/openstack-dashboard/local_settings matches one of the role names in the output of 'keystone role-list'?

Regards,

Julie




More information about the Openstack mailing list