[openstack问题]dashboard无法登陆进去的问题

配置好openstack的nova,nwtwork等之后,在dashboard登陆时候出现错误,怀疑keystone的问题:

对token的理解不够准确,导致配置过程中可能出现问题,现在问题未解决,报错代码如下:

 testcloud@computer9:/etc/keystone$ sudo ./keystone_data.sh
SUCCESS: Tenant admin created.
ERROR: 'NoneType' object has no attribute 'id'
Traceback (most recent call last):
  File "/usr/local/bin/keystone-manage", line 7, in <module>
    execfile(__file__)
  File "/opt/keystone/bin/keystone-manage", line 16, in <module>
    keystone.manage.main()
  File "/opt/keystone/keystone/manage/__init__.py", line 249, in main
    raise exc
AttributeError: 'NoneType' object has no attribute 'id'
SUCCESS: Role Admin created successfully.
SUCCESS: Role KeystoneAdmin created successfully.
SUCCESS: Role KeystoneServiceAdmin created successfully.
ERROR: 'NoneType' object has no attribute 'id'
Traceback (most recent call last):
  File "/usr/local/bin/keystone-manage", line 7, in <module>
    execfile(__file__)
  File "/opt/keystone/bin/keystone-manage", line 16, in <module>
    keystone.manage.main()
  File "/opt/keystone/keystone/manage/__init__.py", line 249, in main
    raise exc
AttributeError: 'NoneType' object has no attribute 'id'
ERROR: 'NoneType' object has no attribute 'id'
Traceback (most recent call last):
  File "/usr/local/bin/keystone-manage", line 7, in <module>
    execfile(__file__)
  File "/opt/keystone/bin/keystone-manage", line 16, in <module>
    keystone.manage.main()
  File "/opt/keystone/keystone/manage/__init__.py", line 249, in main
    raise exc
AttributeError: 'NoneType' object has no attribute 'id'
ERROR: 'NoneType' object has no attribute 'id'
Traceback (most recent call last):
  File "/usr/local/bin/keystone-manage", line 7, in <module>
    execfile(__file__)
  File "/opt/keystone/bin/keystone-manage", line 16, in <module>
    keystone.manage.main()
  File "/opt/keystone/keystone/manage/__init__.py", line 249, in main
    raise exc
AttributeError: 'NoneType' object has no attribute 'id'
SUCCESS: Service nova created successfully.
SUCCESS: Service glance created successfully.
SUCCESS: Service keystone created successfully.
SUCCESS: Created EndpointTemplates for nova pointing to http://192.168.77.109:8774/v1.1/%tenant_id%.
SUCCESS: Created EndpointTemplates for glance pointing to http://192.168.77.109:9292/v1.1/%tenant_id%.
SUCCESS: Created EndpointTemplates for keystone pointing to http://192.168.77.109:5000/v2.0.
ERROR: 'NoneType' object has no attribute 'id'
Traceback (most recent call last):
  File "/usr/local/bin/keystone-manage", line 7, in <module>
    execfile(__file__)
  File "/opt/keystone/bin/keystone-manage", line 16, in <module>
    keystone.manage.main()
  File "/opt/keystone/keystone/manage/__init__.py", line 249, in main
    raise exc
AttributeError: 'NoneType' object has no attribute 'id'
ERROR: 'NoneType' object has no attribute 'id'
Traceback (most recent call last):
  File "/usr/local/bin/keystone-manage", line 7, in <module>
    execfile(__file__)
  File "/opt/keystone/bin/keystone-manage", line 16, in <module>
    keystone.manage.main()
  File "/opt/keystone/keystone/manage/__init__.py", line 249, in main
    raise exc
AttributeError: 'NoneType' object has no attribute 'id'
testcloud@computer9:/etc/keystone$

原因查找中......

posted @ 2011-11-30 19:54  念槐聚  阅读(2410)  评论(0编辑  收藏  举报