在 Ubuntu Server 13 机器上安装几个 Openstack 模块(Keystone、Glance、Nova、Neutron)后,我安装了 Horizon。
我可以毫无问题地以管理员身份登录,显示每个菜单但不显示 vm 风味菜单。
在 django 配置中启用调试后,我收到此错误:
TypeError at /admin/flavors/
list() got an unexpected keyword argument 'is_public'
Request Method: GET
Request URL: http://192.168.211.14/horizon/admin/flavors/
Django Version: 1.5.4
Exception Type: TypeError
Exception Value:
list() got an unexpected keyword argument 'is_public'
Exception Location: /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py in flavor_list, line 406
Python Executable: /usr/bin/python
Python Version: 2.7.5
Python Path:
['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/share/openstack-dashboard/',
'/usr/share/openstack-dashboard/openstack_dashboard']
跟踪错误后,我发现该方法list()
in class FlavorManager
has no argument is_public
。
这是否被视为错误或是否存在一些错误配置?