码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-01-30 22:46:15      阅读:393      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!