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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了部署OpenStack问题汇总--openstack dashboard 问题解决方案相关的知识,希望对你有一定的参考价值。

 

在打开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 问题解决方案的主要内容,如果未能解决你的问题,请参考以下文章

esxi 部署fuel openstack

OpenStack多节点一键部署(超详细)

openstack Rocky 社区版部署1.3 安装OpenStack packages

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

部署OpenStack问题汇总--使用packstack安装openstack:源问题的处理

部署OpenStack问题汇总--Failed to add image