← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1369877] [NEW] AttributeError: 'NoopFirewallDriver' object has no attribute 'update_security_group_rules'

 

Public bug reported:

When using NoopFirewallDriver there seems to be a missing method
'update_security_group_rule'

2014-09-15 16:54:38.167 1069 CRITICAL neutron [req-b671b223-1d0c-4545-a9e3-f1d84561762e None] AttributeError: 'NoopFirewallDriver' object has no attribute 'update_security_group_rules'
2014-09-15 16:54:38.167 1069 TRACE neutron Traceback (most recent call last):
2014-09-15 16:54:38.167 1069 TRACE neutron   File "/usr/local/bin/neutron-linuxbridge-agent", line 10, in <module>
2014-09-15 16:54:38.167 1069 TRACE neutron     sys.exit(main())
2014-09-15 16:54:38.167 1069 TRACE neutron   File "/opt/stack/neutron/neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py", line 1041, in main
2014-09-15 16:54:38.167 1069 TRACE neutron     agent.daemon_loop()
2014-09-15 16:54:38.167 1069 TRACE neutron   File "/opt/stack/neutron/neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py", line 999, in daemon_loop
2014-09-15 16:54:38.167 1069 TRACE neutron     device_info.get('updated', set())
2014-09-15 16:54:38.167 1069 TRACE neutron   File "/opt/stack/neutron/neutron/agent/securitygroups_rpc.py", line 312, in setup_port_filters
2014-09-15 16:54:38.167 1069 TRACE neutron     self.prepare_devices_filter(new_devices)
2014-09-15 16:54:38.167 1069 TRACE neutron   File "/opt/stack/neutron/neutron/agent/securitygroups_rpc.py", line 207, in prepare_devices_filter
2014-09-15 16:54:38.167 1069 TRACE neutron     security_groups, security_group_member_ips)
2014-09-15 16:54:38.167 1069 TRACE neutron   File "/opt/stack/neutron/neutron/agent/securitygroups_rpc.py", line 213, in _update_security_group_info
2014-09-15 16:54:38.167 1069 TRACE neutron     self.firewall.update_security_group_rules(sg_id, sg_rules)
2014-09-15 16:54:38.167 1069 TRACE neutron AttributeError: 'NoopFirewallDriver' object has no attribute 'update_security_group_rules'
2014-09-15 16:54:38.167 1069 TRACE neutron

** Affects: neutron
     Importance: Undecided
         Status: Confirmed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1369877

Title:
  AttributeError: 'NoopFirewallDriver' object has no attribute
  'update_security_group_rules'

Status in OpenStack Neutron (virtual network service):
  Confirmed

Bug description:
  When using NoopFirewallDriver there seems to be a missing method
  'update_security_group_rule'

  2014-09-15 16:54:38.167 1069 CRITICAL neutron [req-b671b223-1d0c-4545-a9e3-f1d84561762e None] AttributeError: 'NoopFirewallDriver' object has no attribute 'update_security_group_rules'
  2014-09-15 16:54:38.167 1069 TRACE neutron Traceback (most recent call last):
  2014-09-15 16:54:38.167 1069 TRACE neutron   File "/usr/local/bin/neutron-linuxbridge-agent", line 10, in <module>
  2014-09-15 16:54:38.167 1069 TRACE neutron     sys.exit(main())
  2014-09-15 16:54:38.167 1069 TRACE neutron   File "/opt/stack/neutron/neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py", line 1041, in main
  2014-09-15 16:54:38.167 1069 TRACE neutron     agent.daemon_loop()
  2014-09-15 16:54:38.167 1069 TRACE neutron   File "/opt/stack/neutron/neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py", line 999, in daemon_loop
  2014-09-15 16:54:38.167 1069 TRACE neutron     device_info.get('updated', set())
  2014-09-15 16:54:38.167 1069 TRACE neutron   File "/opt/stack/neutron/neutron/agent/securitygroups_rpc.py", line 312, in setup_port_filters
  2014-09-15 16:54:38.167 1069 TRACE neutron     self.prepare_devices_filter(new_devices)
  2014-09-15 16:54:38.167 1069 TRACE neutron   File "/opt/stack/neutron/neutron/agent/securitygroups_rpc.py", line 207, in prepare_devices_filter
  2014-09-15 16:54:38.167 1069 TRACE neutron     security_groups, security_group_member_ips)
  2014-09-15 16:54:38.167 1069 TRACE neutron   File "/opt/stack/neutron/neutron/agent/securitygroups_rpc.py", line 213, in _update_security_group_info
  2014-09-15 16:54:38.167 1069 TRACE neutron     self.firewall.update_security_group_rules(sg_id, sg_rules)
  2014-09-15 16:54:38.167 1069 TRACE neutron AttributeError: 'NoopFirewallDriver' object has no attribute 'update_security_group_rules'
  2014-09-15 16:54:38.167 1069 TRACE neutron

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1369877/+subscriptions


Follow ups

References