On Icehouse, Horizon has internal server error, when Networking is clicked. Because 'Client' object has no attribute 'list_ipams'.
This error is not seen on Havana.
The test environment:
Base OS: Ubuntu 1204/1404
here is /var/log/apache2/error.log
[Fri Nov 07 04:59:56.394414 2014] [:error] [pid 5086:tid 140562634581760] Internal Server Error: /horizon/project/networking/
[Fri Nov 07 04:59:56.394935 2014] [:error] [pid 5086:tid 140562634581760] Traceback (most recent call last):
[Fri Nov 07 04:59:56.395014 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response
[Fri Nov 07 04:59:56.395180 2014] [:error] [pid 5086:tid 140562634581760] response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Fri Nov 07 04:59:56.395290 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Fri Nov 07 04:59:56.395441 2014] [:error] [pid 5086:tid 140562634581760] return view_func(request, *args, **kwargs)
[Fri Nov 07 04:59:56.395543 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 54, in dec
[Fri Nov 07 04:59:56.395694 2014] [:error] [pid 5086:tid 140562634581760] return view_func(request, *args, **kwargs)
[Fri Nov 07 04:59:56.395772 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
[Fri Nov 07 04:59:56.396041 2014] [:error] [pid 5086:tid 140562634581760] return view_func(request, *args, **kwargs)
[Fri Nov 07 04:59:56.396120 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 86, in dec
[Fri Nov 07 04:59:56.396211 2014] [:error] [pid 5086:tid 140562634581760] return view_func(request, *args, **kwargs)
[Fri Nov 07 04:59:56.396283 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in view
[Fri Nov 07 04:59:56.396355 2014] [:error] [pid 5086:tid 140562634581760] return self.dispatch(request, *args, **kwargs)
[Fri Nov 07 04:59:56.396426 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 87, in dispatch
[Fri Nov 07 04:59:56.396498 2014] [:error] [pid 5086:tid 140562634581760] return handler(request, *args, **kwargs)
[Fri Nov 07 04:59:56.396598 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/tabs/views.py", line 145, in get
[Fri Nov 07 04:59:56.396672 2014] [:error] [pid 5086:tid 140562634581760] context = self.get_context_data(**kwargs)
[Fri Nov 07 04:59:56.396684 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 107, in get_context_data
[Fri Nov 07 04:59:56.396690 2014] [:error] [pid 5086:tid 140562634581760] context = super(MultiTableMixin, self).get_context_data(**kwargs)
[Fri Nov 07 04:59:56.396695 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/tabs/views.py", line 56, in get_context_data
[Fri Nov 07 04:59:56.396700 2014] [:error] [pid 5086:tid 140562634581760] exceptions.handle(self.request)
[Fri Nov 07 04:59:56.396704 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/tabs/views.py", line 54, in get_context_data
[Fri Nov 07 04:59:56.396709 2014] [:error] [pid 5086:tid 140562634581760] context["tab_group"].load_tab_data()
[Fri Nov 07 04:59:56.396713 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/tabs/base.py", line 122, in load_tab_data
[Fri Nov 07 04:59:56.396777 2014] [:error] [pid 5086:tid 140562634581760] exceptions.handle(self.request)
[Fri Nov 07 04:59:56.396783 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/tabs/base.py", line 119, in load_tab_data
[Fri Nov 07 04:59:56.396788 2014] [:error] [pid 5086:tid 140562634581760] tab._data = tab.get_context_data(self.request)
[Fri Nov 07 04:59:56.396792 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/tabs/base.py", line 446, in get_context_data
[Fri Nov 07 04:59:56.396797 2014] [:error] [pid 5086:tid 140562634581760] self.load_table_data()
[Fri Nov 07 04:59:56.396801 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/horizon/tabs/base.py", line 431, in load_table_data
[Fri Nov 07 04:59:56.396806 2014] [:error] [pid 5086:tid 140562634581760] table.data = data_func()
[Fri Nov 07 04:59:56.396810 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/dashboards/project/networking/tabs.py", line 73, in get_policy_data
[Fri Nov 07 04:59:56.396815 2014] [:error] [pid 5086:tid 140562634581760] _('Unable to retrieve network policies.'))
[Fri Nov 07 04:59:56.396820 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/dashboards/project/networking/tabs.py", line 69, in get_policy_data
[Fri Nov 07 04:59:56.396825 2014] [:error] [pid 5086:tid 140562634581760] policy = policy_summary_for_tenant(self.request, tenant_id)
[Fri Nov 07 04:59:56.396830 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/api/contrail_quantum.py", line 153, in policy_summary_for_tenant
[Fri Nov 07 04:59:56.396834 2014] [:error] [pid 5086:tid 140562634581760] policies = policy_summary(request, tenant_id=tenant_id, **params)
[Fri Nov 07 04:59:56.396847 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_dashboard/api/contrail_quantum.py", line 142, in policy_summary
[Fri Nov 07 04:59:56.396852 2014] [:error] [pid 5086:tid 140562634581760] policies = neutronclient(request).list_policys(**params).get('policys')
[Fri Nov 07 04:59:56.396857 2014] [:error] [pid 5086:tid 140562634581760] AttributeError: 'Client' object has no attribute 'list_policys'
On Icehouse, Horizon has internal server error, when Networking is clicked. Because 'Client' object has no attribute 'list_ipams'.
This error is not seen on Havana.
The test environment:
Base OS: Ubuntu 1204/1404
here is /var/log/ apache2/ error.log project/ networking/ python2. 7/dist- packages/ django/ core/handlers/ base.py" , line 112, in get_response callback( request, *callback_args, **callback_kwargs) python2. 7/dist- packages/ horizon/ decorators. py", line 38, in dec python2. 7/dist- packages/ horizon/ decorators. py", line 54, in dec python2. 7/dist- packages/ horizon/ decorators. py", line 38, in dec python2. 7/dist- packages/ horizon/ decorators. py", line 86, in dec python2. 7/dist- packages/ django/ views/generic/ base.py" , line 69, in view request, *args, **kwargs) python2. 7/dist- packages/ django/ views/generic/ base.py" , line 87, in dispatch python2. 7/dist- packages/ horizon/ tabs/views. py", line 145, in get context_ data(** kwargs) python2. 7/dist- packages/ horizon/ tables/ views.py" , line 107, in get_context_data eMixin, self).get_ context_ data(** kwargs) python2. 7/dist- packages/ horizon/ tabs/views. py", line 56, in get_context_data handle( self.request) python2. 7/dist- packages/ horizon/ tabs/views. py", line 54, in get_context_data "tab_group" ].load_ tab_data( ) python2. 7/dist- packages/ horizon/ tabs/base. py", line 122, in load_tab_data handle( self.request) python2. 7/dist- packages/ horizon/ tabs/base. py", line 119, in load_tab_data context_ data(self. request) python2. 7/dist- packages/ horizon/ tabs/base. py", line 446, in get_context_data table_data( ) python2. 7/dist- packages/ horizon/ tabs/base. py", line 431, in load_table_data python2. 7/dist- packages/ contrail_ openstack_ dashboard/ openstack_ dashboard/ dashboards/ project/ networking/ tabs.py" , line 73, in get_policy_data python2. 7/dist- packages/ contrail_ openstack_ dashboard/ openstack_ dashboard/ dashboards/ project/ networking/ tabs.py" , line 69, in get_policy_data summary_ for_tenant( self.request, tenant_id) python2. 7/dist- packages/ contrail_ openstack_ dashboard/ openstack_ dashboard/ api/contrail_ quantum. py", line 153, in policy_ summary_ for_tenant summary( request, tenant_ id=tenant_ id, **params) python2. 7/dist- packages/ contrail_ openstack_ dashboard/ openstack_ dashboard/ api/contrail_ quantum. py", line 142, in policy_summary request) .list_policys( **params) .get('policys' )
[Fri Nov 07 04:59:56.394414 2014] [:error] [pid 5086:tid 140562634581760] Internal Server Error: /horizon/
[Fri Nov 07 04:59:56.394935 2014] [:error] [pid 5086:tid 140562634581760] Traceback (most recent call last):
[Fri Nov 07 04:59:56.395014 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.395180 2014] [:error] [pid 5086:tid 140562634581760] response = wrapped_
[Fri Nov 07 04:59:56.395290 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.395441 2014] [:error] [pid 5086:tid 140562634581760] return view_func(request, *args, **kwargs)
[Fri Nov 07 04:59:56.395543 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.395694 2014] [:error] [pid 5086:tid 140562634581760] return view_func(request, *args, **kwargs)
[Fri Nov 07 04:59:56.395772 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396041 2014] [:error] [pid 5086:tid 140562634581760] return view_func(request, *args, **kwargs)
[Fri Nov 07 04:59:56.396120 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396211 2014] [:error] [pid 5086:tid 140562634581760] return view_func(request, *args, **kwargs)
[Fri Nov 07 04:59:56.396283 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396355 2014] [:error] [pid 5086:tid 140562634581760] return self.dispatch(
[Fri Nov 07 04:59:56.396426 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396498 2014] [:error] [pid 5086:tid 140562634581760] return handler(request, *args, **kwargs)
[Fri Nov 07 04:59:56.396598 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396672 2014] [:error] [pid 5086:tid 140562634581760] context = self.get_
[Fri Nov 07 04:59:56.396684 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396690 2014] [:error] [pid 5086:tid 140562634581760] context = super(MultiTabl
[Fri Nov 07 04:59:56.396695 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396700 2014] [:error] [pid 5086:tid 140562634581760] exceptions.
[Fri Nov 07 04:59:56.396704 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396709 2014] [:error] [pid 5086:tid 140562634581760] context[
[Fri Nov 07 04:59:56.396713 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396777 2014] [:error] [pid 5086:tid 140562634581760] exceptions.
[Fri Nov 07 04:59:56.396783 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396788 2014] [:error] [pid 5086:tid 140562634581760] tab._data = tab.get_
[Fri Nov 07 04:59:56.396792 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396797 2014] [:error] [pid 5086:tid 140562634581760] self.load_
[Fri Nov 07 04:59:56.396801 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396806 2014] [:error] [pid 5086:tid 140562634581760] table.data = data_func()
[Fri Nov 07 04:59:56.396810 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396815 2014] [:error] [pid 5086:tid 140562634581760] _('Unable to retrieve network policies.'))
[Fri Nov 07 04:59:56.396820 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396825 2014] [:error] [pid 5086:tid 140562634581760] policy = policy_
[Fri Nov 07 04:59:56.396830 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396834 2014] [:error] [pid 5086:tid 140562634581760] policies = policy_
[Fri Nov 07 04:59:56.396847 2014] [:error] [pid 5086:tid 140562634581760] File "/usr/lib/
[Fri Nov 07 04:59:56.396852 2014] [:error] [pid 5086:tid 140562634581760] policies = neutronclient(
[Fri Nov 07 04:59:56.396857 2014] [:error] [pid 5086:tid 140562634581760] AttributeError: 'Client' object has no attribute 'list_policys'