Hi Peter, This particular build R1.10/63 was for 12.04/icehouse not for 14.04. 14.04/icehouse is targeted to release with contrail 2.0
Thanks, Atul
On 12/5/14 6:53 AM, "Peter C. Norton" <email address hidden> wrote:
>Do you have version or git has info for the working fersion of >neutron/v2_0/client.py for icehouse on 12.04? I have a new 12.04 >installation and I'm seeing this problem with the following sources: > >root@kvm-openstack-5:~# cat /etc/apt/sources.list.d/opencontrail.list >deb [arch=amd64] >http://ubuntu-repo.opencontrail.org.s3-website-us-east-1.amazonaws.com >opencontrail-stock-ubuntu1204-icehouse main >deb [arch=amd64] >http://ubuntu-repo.opencontrail.org.s3-website-us-east-1.amazonaws.com >opencontrail-r120-icehouse main > >-- >You received this bug notification because you are a member of Contrail >Systems engineering, which is subscribed to Juniper Openstack. >https://bugs.launchpad.net/bugs/1390315 > >Title: > [1.10-Build 63] On Icehouse, Horizon has internal server error, when > Networking is clicked. > >Status in Juniper Openstack distribution: > New > >Bug description: > On Icehouse, Horizon has internal server error, when Networking is >clicked. Because 'Client' object has no attribute 'list_policys'. > 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_d >ashboard/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_d >ashboard/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_d >ashboard/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_d >ashboard/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' > >To manage notifications about this bug go to: >https://bugs.launchpad.net/juniperopenstack/+bug/1390315/+subscriptions
Hi Peter,
This particular build R1.10/63 was for 12.04/icehouse not for 14.04.
14.04/icehouse is targeted to release with contrail 2.0
Thanks,
Atul
On 12/5/14 6:53 AM, "Peter C. Norton" <email address hidden> wrote:
>Do you have version or git has info for the working fersion of v2_0/client. py for icehouse on 12.04? I have a new 12.04 openstack- 5:~# cat /etc/apt/ sources. list.d/ opencontrail. list ubuntu- repo.opencontra il.org. s3-website- us-east- 1.amazonaws. com stock-ubuntu120 4-icehouse main ubuntu- repo.opencontra il.org. s3-website- us-east- 1.amazonaws. com r120-icehouse main /bugs.launchpad .net/bugs/ 1390315 apache2/ error.log project/ networking/ lib/python2. 7/dist- packages/ django/ core/handlers/ base.py" , line callback( request, *callback_args, lib/python2. 7/dist- packages/ horizon/ decorators. py", line 38, in dec lib/python2. 7/dist- packages/ horizon/ decorators. py", line 54, in dec lib/python2. 7/dist- packages/ horizon/ decorators. py", line 38, in dec lib/python2. 7/dist- packages/ horizon/ decorators. py", line 86, in dec lib/python2. 7/dist- packages/ django/ views/generic/ base.py" , line 69, request, *args, **kwargs) lib/python2. 7/dist- packages/ django/ views/generic/ base.py" , line 87, lib/python2. 7/dist- packages/ horizon/ tabs/views. py", line 145, in get context_ data(** kwargs) lib/python2. 7/dist- packages/ horizon/ tables/ views.py" , line 107, in eMixin, get_context_ data(** kwargs) lib/python2. 7/dist- packages/ horizon/ tabs/views. py", line 56, in handle( self.request) lib/python2. 7/dist- packages/ horizon/ tabs/views. py", line 54, in "tab_group" ].load_ tab_data( ) lib/python2. 7/dist- packages/ horizon/ tabs/base. py", line 122, in handle( self.request) lib/python2. 7/dist- packages/ horizon/ tabs/base. py", line 119, in context_ data(self. request) lib/python2. 7/dist- packages/ horizon/ tabs/base. py", line 446, in table_data( ) lib/python2. 7/dist- packages/ horizon/ tabs/base. py", line 431, in lib/python2. 7/dist- packages/ contrail_ openstack_ dashboard/ openstack_ d dashboards/ project/ networking/ tabs.py" , line 73, in lib/python2. 7/dist- packages/ contrail_ openstack_ dashboard/ openstack_ d dashboards/ project/ networking/ tabs.py" , line 69, in summary_ for_tenant( self.request, lib/python2. 7/dist- packages/ contrail_ openstack_ dashboard/ openstack_ d api/contrail_ quantum. py", line 153, in policy_ summary_ for_tenant summary( request, id=tenant_ id, **params) lib/python2. 7/dist- packages/ contrail_ openstack_ dashboard/ openstack_ d api/contrail_ quantum. py", line 142, in policy_summary request) .list_policys( **params) .get('policys' ) /bugs.launchpad .net/juniperope nstack/ +bug/1390315/ +subscriptions
>neutron/
>installation and I'm seeing this problem with the following sources:
>
>root@kvm-
>deb [arch=amd64]
>http://
>opencontrail-
>deb [arch=amd64]
>http://
>opencontrail-
>
>--
>You received this bug notification because you are a member of Contrail
>Systems engineering, which is subscribed to Juniper Openstack.
>https:/
>
>Title:
> [1.10-Build 63] On Icehouse, Horizon has internal server error, when
> Networking is clicked.
>
>Status in Juniper Openstack distribution:
> New
>
>Bug description:
> On Icehouse, Horizon has internal server error, when Networking is
>clicked. Because 'Client' object has no attribute 'list_policys'.
> This error is not seen on Havana.
>
> The test environment:
> Base OS: Ubuntu 1204/1404
>
> here is /var/log/
> [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/
>112, in get_response
> [Fri Nov 07 04:59:56.395180 2014] [:error] [pid 5086:tid
>140562634581760] response = wrapped_
>**callback_kwargs)
> [Fri Nov 07 04:59:56.395290 2014] [:error] [pid 5086:tid
>140562634581760] File
>"/usr/
> [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/
> [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/
> [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/
> [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/
>in view
> [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/
>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/
> [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/
>get_context_data
> [Fri Nov 07 04:59:56.396690 2014] [:error] [pid 5086:tid
>140562634581760] context = super(MultiTabl
>self).
> [Fri Nov 07 04:59:56.396695 2014] [:error] [pid 5086:tid
>140562634581760] File
>"/usr/
>get_context_data
> [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/
>get_context_data
> [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/
>load_tab_data
> [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/
>load_tab_data
> [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/
>get_context_data
> [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/
>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/
>ashboard/
>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/
>ashboard/
>get_policy_data
> [Fri Nov 07 04:59:56.396825 2014] [:error] [pid 5086:tid
>140562634581760] policy = policy_
>tenant_id)
> [Fri Nov 07 04:59:56.396830 2014] [:error] [pid 5086:tid
>140562634581760] File
>"/usr/
>ashboard/
> [Fri Nov 07 04:59:56.396834 2014] [:error] [pid 5086:tid
>140562634581760] policies = policy_
>tenant_
> [Fri Nov 07 04:59:56.396847 2014] [:error] [pid 5086:tid
>140562634581760] File
>"/usr/
>ashboard/
> [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'
>
>To manage notifications about this bug go to:
>https:/