首页 > 其他 > 详细

部署OpenStack问题汇总(二)--openstack dashboard 问题解决方案

时间:2016-01-30 22:44:32      阅读:332      评论:0      收藏:0      [点我收藏+]

 

在打开dashboard的时候报错:

LocationParseError at /admin/

(LocationParseError(...), ‘Failed to parse: Failed to parse: 10.50.20.75:35357:v2.0‘)
Request Method: GET
Request URL: http://10.50.20.75/dashboard/admin/
Django Version: 1.4.8
Exception Type: LocationParseError
Exception Value:
(LocationParseError(...), ‘Failed to parse: Failed to parse: 10.50.20.75:35357:v2.0‘)
Exception Location: /usr/lib/python2.6/site-packages/urllib3/util.py in parse_url, line 145
Python Executable: /usr/bin/python
Python Version: 2.6.6
Python Path:
[‘/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..‘,
 ‘/usr/lib64/python26.zip‘,
 ‘/usr/lib64/python2.6‘,
 ‘/usr/lib64/python2.6/plat-linux2‘,
 ‘/usr/lib64/python2.6/lib-tk‘,
 ‘/usr/lib64/python2.6/lib-old‘,
 ‘/usr/lib64/python2.6/lib-dynload‘,
 ‘/usr/lib64/python2.6/site-packages‘,
 ‘/usr/lib/python2.6/site-packages‘,
 ‘/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info‘,
 ‘/usr/share/openstack-dashboard/openstack_dashboard‘]


以上错误通过取消endpoint接口中的$\(tend_id)s$后,没有再出现这样的报错,而是出现了另外一种报错

KeyError at /admin/

‘tenant_usages‘
Request Method: GET
Request URL: http://10.50.20.75/dashboard/admin/
Django Version: 1.4.8
Exception Type: KeyError
Exception Value:
‘tenant_usages‘
Exception Location: /usr/lib/python2.6/site-packages/novaclient/base.py in _list, line 69
Python Executable: /usr/bin/python
Python Version: 2.6.6
Python Path:
[‘/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..‘,
 ‘/usr/lib64/python26.zip‘,
 ‘/usr/lib64/python2.6‘,
 ‘/usr/lib64/python2.6/plat-linux2‘,
 ‘/usr/lib64/python2.6/lib-tk‘,
 ‘/usr/lib64/python2.6/lib-old‘,
 ‘/usr/lib64/python2.6/lib-dynload‘,
 ‘/usr/lib64/python2.6/site-packages‘,
 ‘/usr/lib/python2.6/site-packages‘,
 ‘/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info‘,
 ‘/usr/share/openstack-dashboard/openstack_dashboard‘]




部署OpenStack问题汇总(二)--openstack dashboard 问题解决方案

原文:http://www.cnblogs.com/horizonli/p/5172132.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!