internal exception when show network topology
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
yalei wang |
Bug Description
2016-01-29 03:06:46.251227 Internal Server Error: /dashboard/
2016-01-29 03:06:46.251248 Traceback (most recent call last):
2016-01-29 03:06:46.251253 File "/usr/local/
2016-01-29 03:06:46.251256 response = wrapped_
2016-01-29 03:06:46.251259 File "/opt/stack/
2016-01-29 03:06:46.251262 return view_func(request, *args, **kwargs)
2016-01-29 03:06:46.251265 File "/opt/stack/
2016-01-29 03:06:46.251268 return view_func(request, *args, **kwargs)
2016-01-29 03:06:46.251270 File "/opt/stack/
2016-01-29 03:06:46.251273 return view_func(request, *args, **kwargs)
2016-01-29 03:06:46.251276 File "/opt/stack/
2016-01-29 03:06:46.251278 return view_func(request, *args, **kwargs)
2016-01-29 03:06:46.251281 File "/usr/local/
2016-01-29 03:06:46.251283 return self.dispatch(
2016-01-29 03:06:46.251286 File "/usr/local/
2016-01-29 03:06:46.251288 return handler(request, *args, **kwargs)
2016-01-29 03:06:46.251291 File "/opt/stack/
2016-01-29 03:06:46.251294 'ports': self._get_
2016-01-29 03:06:46.251296 File "/opt/stack/
2016-01-29 03:06:46.251528 print self.trans.
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@
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| device_id | 0550f6e2-
| device_owner | network:floatingip |
| dns_assignment | {"hostname": "host-172-24-4-5", "ip_address": "172.24.4.5", "fqdn": "host-172-
| | {"hostname": "host-2001-db8--6", "ip_address": "2001:db8::6", "fqdn": "host-2001-
| dns_name | |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "bac86baa-
| | {"subnet_id": "58e9aedf-
| id | c3114c65-
| mac_address | fa:16:3e:e4:ae:bc |
| name | |
| network_id | 3b1b3397-
| port_security_
| security_groups | |
| status | N/A |
| tenant_id | |
+------
Fix proposed to branch: master /review. openstack. org/273860
Review: https:/