本文共 3205 字,大约阅读时间需要 10 分钟。
配置好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$原因查找中......
本文转自 念槐聚 博客园博客,原文链接:http://www.cnblogs.com/haochuang/archive/2011/11/30/2269550.html,如需转载请自行联系原作者