[openstack-dev] [Neutron][horizon][neutron][L3][dvr][fwaas] FWaaS

Eichberger, German german.eichberger at hp.com
Wed Sep 2 21:28:04 UTC 2015


Hi Bharath,

I am wondering if you can file this as a launchpad bug, please.

Thanks,
German

From: bharath <bharath at brocade.com<mailto:bharath at brocade.com>>
Reply-To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Date: Wednesday, September 2, 2015 at 9:21 AM
To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: [openstack-dev] [Neutron][horizon][neutron][L3][dvr][fwaas] FWaaS

Hi,

Horizon seems to be broken.

When i try to add new firewall rule , horizon broken with "'NoneType' object has no attribute 'id'" Error.
This was fine about 10 hours back. Seems one of the  latest commit broken it.


Traceback in horizon:


2015-09-02 16:15:35.337872     return nodelist.render(context)
2015-09-02 16:15:35.337877   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 903, in render
2015-09-02 16:15:35.337893     bit = self.render_node(node, context)
2015-09-02 16:15:35.337899   File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 79, in render_node
2015-09-02 16:15:35.337903     return node.render(context)
2015-09-02 16:15:35.337908   File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 89, in render
2015-09-02 16:15:35.337913     output = self.filter_expression.resolve(context)
2015-09-02 16:15:35.337917   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 647, in resolve
2015-09-02 16:15:35.337922     obj = self.var.resolve(context)
2015-09-02 16:15:35.337927   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 787, in resolve
2015-09-02 16:15:35.337931     value = self._resolve_lookup(context)
2015-09-02 16:15:35.337936   File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 825, in _resolve_lookup
2015-09-02 16:15:35.337940     current = getattr(current, bit)
2015-09-02 16:15:35.337945   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/html.py", line 59, in attr_string
2015-09-02 16:15:35.337950     return flatatt(self.get_final_attrs())
2015-09-02 16:15:35.337954   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/html.py", line 42, in get_final_attrs
2015-09-02 16:15:35.337959     final_attrs['class'] = self.get_final_css()
2015-09-02 16:15:35.337964   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/html.py", line 47, in get_final_css
2015-09-02 16:15:35.337981     default = " ".join(self.get_default_classes())
2015-09-02 16:15:35.337986   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", line 792, in get_default_classes
2015-09-02 16:15:35.337991     if not self.url:
2015-09-02 16:15:35.337995   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", line 756, in url
2015-09-02 16:15:35.338000     url = self.column.get_link_url(self.datum)
2015-09-02 16:15:35.338004   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", line 431, in get_link_url
2015-09-02 16:15:35.338009     return self.link(datum)
2015-09-02 16:15:35.338014   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/firewalls/tables.py", line 261, in get_policy_link
2015-09-02 16:15:35.338019     kwargs={'policy_id': datum.policy.id})
2015-09-02 16:15:35.338023 AttributeError: 'NoneType' object has no attribute 'id'



Thanks,
bharath



More information about the OpenStack-dev mailing list