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$

原因查找中......



本文转自 念槐聚 博客园博客,原文链接:http://www.cnblogs.com/haochuang/archive/2011/11/30/2269550.html,如需转载请自行联系原作者

相关文章
|
Kubernetes 容器
kubernetes1.9安装dashboard,以及token认证问题
写在前面 dashboard的安装非常简单。但按照官网建议的方式安装完成后,输入token登录时会没有反应。 这个问题困扰了我一整天,最终在这里找到了答案。 原因如下: 按官方文档建议的方式安装完dashboard后,使用kubectl proxy代理的方式来访问webUI。
2491 0
openstack登陆dashboard提示认证发生错误
openstack登陆dashboard提示认证发生错误
1262 0
openstack登陆dashboard提示认证发生错误
|
存储 固态存储 网络性能优化
OpenStack的块存储(Cinder)
【8月更文挑战第24天】
322 2
|
Ubuntu Linux 网络安全
准备搞OpenStack了,先装一台最新的Ubuntu 23.10
准备搞OpenStack了,先装一台最新的Ubuntu 23.10
|
存储 分布式计算 资源调度
|
JSON 网络协议 数据格式
网络协议基础:HTTP请求与响应详解
【7月更文挑战第11天】HTTP协议作为Web通信的核心,其请求与响应机制是理解网络通信的关键。本文详细介绍了HTTP请求与响应的格式、过程以及常用的请求方法,帮助读者更好地理解HTTP协议的工作原理和应用场景。在实际应用中,HTTP协议的可定制性和灵活性使其能够适应多种
|
消息中间件 监控 数据可视化
【Kafka从入门到放弃系列 八】Kafka的API调用
【Kafka从入门到放弃系列 八】Kafka的API调用
333 1
【Kafka从入门到放弃系列 八】Kafka的API调用
|
开发工具 数据安全/隐私保护
The request you have made requires authentication. (HTTP 401)
The request you have made requires authentication. (HTTP 401)
1611 0
The request you have made requires authentication. (HTTP 401)
|
机器学习/深度学习 编解码 人工智能
聊聊我做 NeRF-3D重建性能优化经历
聊聊我做 NeRF-3D重建性能优化经历
760 0
|
前端开发 JavaScript
.net core 前端传递参数有值 后端接收到的数据却是null
1、问题分析 在做接口测试时,偶然出现了前端输出有值,但是后端断点调试时却出现接收参数总是为null的情况 2、解决办法 前端打印log,看前端的每一个传值的数据类型,与后端请求参数类进行认真的一一比对 小技巧: ① 直接打印调用接口的传参值的数据类型,例如 console.log(type of this.form.name) --string console.log(type of this.form.age) --number 打印的数据类型与后端接口的参数类比对,查出不对应的类型 ② 关于非必填的值,默认传值可能出现空字符串(' ')、NaN值(Not a Number
540 0