Comment 5 for bug 1383927

Revision history for this message
Sunil Bakhru (sbakhru) wrote : Re: [Bug 1383927] Re: R1.06 to R1.20 upgrade:edit IP block for network throws error in horizon

Hitachi does not have 1.6 and won¹t be doing an upgrade.

Sunil

On 10/28/14, 12:19 PM, "Nagendra Prasath" <email address hidden> wrote:

>Need fix in the R1.30 branch as well.
>https://github.com/Juniper/contrail-packaging/blob/R1.30/common/debian/con
>trail-openstack-dashboard/debian/havana/changelog.in
>
>--
>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/1383927
>
>Title:
> R1.06 to R1.20 upgrade:edit IP block for network throws error in
> horizon
>
>Status in Juniper Openstack distribution:
> New
>Status in Juniper Openstack r1.1 series:
> New
>Status in Juniper Openstack r1.30 series:
> New
>Status in Juniper Openstack trunk series:
> New
>
>Bug description:
> Upgraded from 1.06(build 82) to 1.20 (build 63) havana.
>
> After creating the virtual network, I get error on clicking the "edit
>IP Bock² and I don¹t see ³add subnet² option in ³more² in horizon.
>
> Where as, same thing works in R1.10 (build 34) to R1.20 (build 63)
> havana upgrade
>
>
> root@a5s312:/var/log/apache2# tail -f error.log
> [Tue Oct 21 21:34:01 2014] [error] Internal Server Error:
>/horizon/project/networking/30c270d3-fec4-4d31-ae8e-e761be8fadd0/edit_ip_b
>lock/
> [Tue Oct 21 21:34:01 2014] [error] Traceback (most recent call last):
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line
>115, in get_response
> [Tue Oct 21 21:34:01 2014] [error] response = callback(request,
>*callback_args, **callback_kwargs)
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
> [Tue Oct 21 21:34:01 2014] [error] return view_func(request, *args,
>**kwargs)
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 54, in dec
> [Tue Oct 21 21:34:01 2014] [error] return view_func(request, *args,
>**kwargs)
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec
> [Tue Oct 21 21:34:01 2014] [error] return view_func(request, *args,
>**kwargs)
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 68,
>in view
> [Tue Oct 21 21:34:01 2014] [error] return self.dispatch(request,
>*args, **kwargs)
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 86,
>in dispatch
> [Tue Oct 21 21:34:01 2014] [error] return handler(request, *args,
>**kwargs)
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_d
>ashboard/dashboards/projects/networking/views.py", line 468, in get
> [Tue Oct 21 21:34:01 2014] [error] handled = self.construct_tables()
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 146, in
>construct_tables
> [Tue Oct 21 21:34:01 2014] [error] handled =
>self.handle_table(table)
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 118, in
>handle_table
> [Tue Oct 21 21:34:01 2014] [error] data = self._get_data_dict()
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/horizon/tables/views.py", line 182, in
>_get_data_dict
> [Tue Oct 21 21:34:01 2014] [error] self._data =
>{self.table_class._meta.name: self.get_data()}
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_d
>ashboard/dashboards/projects/networking/views.py", line 434, in get_data
> [Tue Oct 21 21:34:01 2014] [error] _('Unable to retrieve IP
>Blocks.'))
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_d
>ashboard/dashboards/projects/networking/views.py", line 429, in get_data
> [Tue Oct 21 21:34:01 2014] [error] network_id=net_id)
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_d
>ashboard/api/contrail_quantum.py", line 115, in ip_block_summary
> [Tue Oct 21 21:34:01 2014] [error] return
>[ExtensionsContrailIPBlock(i) for i in ip_blocks]
> [Tue Oct 21 21:34:01 2014] [error] File
>"/usr/lib/python2.7/dist-packages/contrail_openstack_dashboard/openstack_d
>ashboard/api/contrail_quantum.py", line 101, in __init__
> [Tue Oct 21 21:34:01 2014] [error] apiresource['inst_count'] =
>apiresource['contrail:instance_count']
> [Tue Oct 21 21:34:01 2014] [error] KeyError: Œcontrail:instance_count'
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/juniperopenstack/+bug/1383927/+subscriptions