[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 @   念槐聚  阅读(2478)  评论(0编辑  收藏  举报
编辑推荐:
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
点击右上角即可分享
微信分享提示