Public bug reported: 2016-01-29 03:06:46.251227 Internal Server Error: /dashboard/project/network_topology/json 2016-01-29 03:06:46.251248 Traceback (most recent call last): 2016-01-29 03:06:46.251253 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response 2016-01-29 03:06:46.251256 response = wrapped_callback(request, *callback_args, **callback_kwargs) 2016-01-29 03:06:46.251259 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec 2016-01-29 03:06:46.251262 return view_func(request, *args, **kwargs) 2016-01-29 03:06:46.251265 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 52, in dec 2016-01-29 03:06:46.251268 return view_func(request, *args, **kwargs) 2016-01-29 03:06:46.251270 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec 2016-01-29 03:06:46.251273 return view_func(request, *args, **kwargs) 2016-01-29 03:06:46.251276 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 84, in dec 2016-01-29 03:06:46.251278 return view_func(request, *args, **kwargs) 2016-01-29 03:06:46.251281 File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 71, in view 2016-01-29 03:06:46.251283 return self.dispatch(request, *args, **kwargs) 2016-01-29 03:06:46.251286 File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch 2016-01-29 03:06:46.251288 return handler(request, *args, **kwargs) 2016-01-29 03:06:46.251291 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/network_topology/views.py", line 409, in get 2016-01-29 03:06:46.251294 'ports': self._get_ports(request), 2016-01-29 03:06:46.251296 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/network_topology/views.py", line 369, in _get_ports 2016-01-29 03:06:46.251528 print self.trans.port[port.status] 2016-01-29 03:06:46.251534 KeyError: u'N/A' ^Chorizon failed to start
the reason is that status of port is N/A, but self.trans.port don't include this key. ubuntu@wyl-neutron-fun2:/opt/stack/networking-odl$ neutron port-show c3114c65-c5da-4f89-a311-31add977cce1 +-----------------------+-----------------------------------------------------------------------------------------------------------+ | Field | Value | +-----------------------+-----------------------------------------------------------------------------------------------------------+ | admin_state_up | True | | allowed_address_pairs | | | binding:host_id | | | binding:profile | {} | | binding:vif_details | {} | | binding:vif_type | unbound | | binding:vnic_type | normal | | device_id | 0550f6e2-763b-408f-8af9-0609c6320642 | | device_owner | network:floatingip | | dns_assignment | {"hostname": "host-172-24-4-5", "ip_address": "172.24.4.5", "fqdn": "host-172-24-4-5.openstacklocal."} | | | {"hostname": "host-2001-db8--6", "ip_address": "2001:db8::6", "fqdn": "host-2001-db8--6.openstacklocal."} | | dns_name | | | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "bac86baa-388d-445d-8d59-3cf7407affee", "ip_address": "172.24.4.5"} | | | {"subnet_id": "58e9aedf-495e-45a2-8099-a1f535abfe3b", "ip_address": "2001:db8::6"} | | id | c3114c65-c5da-4f89-a311-31add977cce1 | | mac_address | fa:16:3e:e4:ae:bc | | name | | | network_id | 3b1b3397-eac7-48a8-9839-612b342e0f25 | | port_security_enabled | False | | security_groups | | | status | N/A | | tenant_id | | +-----------------------+-----------------------------------------------------------------------------------------------------------+ ** Affects: horizon Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1539358 Title: internal exception when show network topology Status in OpenStack Dashboard (Horizon): New Bug description: 2016-01-29 03:06:46.251227 Internal Server Error: /dashboard/project/network_topology/json 2016-01-29 03:06:46.251248 Traceback (most recent call last): 2016-01-29 03:06:46.251253 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response 2016-01-29 03:06:46.251256 response = wrapped_callback(request, *callback_args, **callback_kwargs) 2016-01-29 03:06:46.251259 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec 2016-01-29 03:06:46.251262 return view_func(request, *args, **kwargs) 2016-01-29 03:06:46.251265 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 52, in dec 2016-01-29 03:06:46.251268 return view_func(request, *args, **kwargs) 2016-01-29 03:06:46.251270 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec 2016-01-29 03:06:46.251273 return view_func(request, *args, **kwargs) 2016-01-29 03:06:46.251276 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 84, in dec 2016-01-29 03:06:46.251278 return view_func(request, *args, **kwargs) 2016-01-29 03:06:46.251281 File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 71, in view 2016-01-29 03:06:46.251283 return self.dispatch(request, *args, **kwargs) 2016-01-29 03:06:46.251286 File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch 2016-01-29 03:06:46.251288 return handler(request, *args, **kwargs) 2016-01-29 03:06:46.251291 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/network_topology/views.py", line 409, in get 2016-01-29 03:06:46.251294 'ports': self._get_ports(request), 2016-01-29 03:06:46.251296 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/network_topology/views.py", line 369, in _get_ports 2016-01-29 03:06:46.251528 print self.trans.port[port.status] 2016-01-29 03:06:46.251534 KeyError: u'N/A' ^Chorizon failed to start the reason is that status of port is N/A, but self.trans.port don't include this key. ubuntu@wyl-neutron-fun2:/opt/stack/networking-odl$ neutron port-show c3114c65-c5da-4f89-a311-31add977cce1 +-----------------------+-----------------------------------------------------------------------------------------------------------+ | Field | Value | +-----------------------+-----------------------------------------------------------------------------------------------------------+ | admin_state_up | True | | allowed_address_pairs | | | binding:host_id | | | binding:profile | {} | | binding:vif_details | {} | | binding:vif_type | unbound | | binding:vnic_type | normal | | device_id | 0550f6e2-763b-408f-8af9-0609c6320642 | | device_owner | network:floatingip | | dns_assignment | {"hostname": "host-172-24-4-5", "ip_address": "172.24.4.5", "fqdn": "host-172-24-4-5.openstacklocal."} | | | {"hostname": "host-2001-db8--6", "ip_address": "2001:db8::6", "fqdn": "host-2001-db8--6.openstacklocal."} | | dns_name | | | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "bac86baa-388d-445d-8d59-3cf7407affee", "ip_address": "172.24.4.5"} | | | {"subnet_id": "58e9aedf-495e-45a2-8099-a1f535abfe3b", "ip_address": "2001:db8::6"} | | id | c3114c65-c5da-4f89-a311-31add977cce1 | | mac_address | fa:16:3e:e4:ae:bc | | name | | | network_id | 3b1b3397-eac7-48a8-9839-612b342e0f25 | | port_security_enabled | False | | security_groups | | | status | N/A | | tenant_id | | +-----------------------+-----------------------------------------------------------------------------------------------------------+ To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1539358/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp