** Also affects: neutron/icehouse
   Importance: Undecided
       Status: New

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

Title:
  ipv6 cannot be disabled for ovs agent

Status in OpenStack Neutron (virtual network service):
  Fix Released
Status in neutron icehouse series:
  New

Bug description:
  If ipv6 module is not loaded in kernel ip6tables command doesn't work
  and fails  in openvswitch-agent when processing ports:

  2014-08-05 15:20:57.089 3944 ERROR 
neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Error while processing 
VIF ports
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call 
last):
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
 line 1262, in rpc_loop
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent     ovs_restarted)
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
 line 1090, in process_network_ports
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent     
port_info.get('updated', set()))
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 
247, in setup_port_filters
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent     
self.prepare_devices_filter(new_devices)
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 
164, in prepare_devices_filter
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent     
self.firewall.prepare_port_filter(device)
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib64/python2.7/contextlib.py", line 24, in __exit__
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent     self.gen.next()
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/firewall.py", line 108, in 
defer_apply
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent     
self.filter_defer_apply_off()
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py", 
line 370, in filter_defer_apply_off
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent     
self.iptables.defer_apply_off()
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_manager.py", 
line 353, in defer_apply_off
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent     self._apply()
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_manager.py", 
line 369, in _apply
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent     return 
self._apply_synchronized()
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_manager.py", 
line 400, in _apply_synchronized
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent     
root_helper=self.root_helper)
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent   File 
"/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 76, in 
execute
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent     raise RuntimeError(m)
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent RuntimeError:
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent Command: ['sudo', 
'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip6tables-restore', '-c']
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent Exit code: 2
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent Stdout: ''
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent Stderr: "ip6tables-restore 
v1.4.21: ip6tables-restore: unable to initialize table 'filter'\n\nError 
occurred at line: 2\nTry `ip6tables-restore -h' or 'ip6tables-restore --help' 
for more information.\n"
  2014-08-05 15:20:57.089 3944 TRACE 
neutron.plugins.openvswitch.agent.ovs_neutron_agent
  2014-08-05 15:20:58.261 3944 INFO 
neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Agent out of sync with 
plugin!
  2014-08-05 15:20:58.749 3944 INFO neutron.agent.securitygroups_rpc [-] 
Preparing filters for devices set([u'5e646c57-0ce4-4705-9281-2cf991cd4135', 
u'1e0ea538-74a4-429d-97fb-08fbae37ad47'])

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to