← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1379779] [NEW] neutron-openvswitch-agent fails to apply iptables rules

 

Public bug reported:

2014-10-10 12:49:19.947 4498 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-4865cb3b-e783-4368-82c4-6d585ba08248 None] Error while processing VIF ports
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1406, in rpc_loop
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     ovs_restarted)
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1205, in process_network_ports
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     port_info.get('updated', set()))
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 316, in setup_port_filters
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self.prepare_devices_filter(new_devices)
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 211, in prepare_devices_filter
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     security_groups, security_group_member_ips)
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self.gen.next()
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/firewall.py", line 106, in defer_apply
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self.filter_defer_apply_off()
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_firewall.py", line 557, in filter_defer_apply_off
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self.iptables.defer_apply_off()
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 373, in defer_apply_off
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self._apply()
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 389, in _apply
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     return self._apply_synchronized()
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 444, in _apply_synchronized
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     '\n'.join(log_lines))
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/excutils.py", line 82, in __exit__
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     six.reraise(self.type_, self.value, self.tb)
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 423, in _apply_synchronized
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     root_helper=self.root_helper)
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py", line 84, in execute
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     raise RuntimeError(m)
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent RuntimeError:
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'iptables-restore', '-c']
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Exit code: 2
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Stdout: ''
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Stderr: "iptables-restore v1.4.21: Set IPv4cf55331e-3b18-488d-8 doesn't exist.\n\nError occurred at line: 75\nTry `iptables-restore -h' or 'iptables-restore --help' for more information.\n"
2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: neutron-plugin-openvswitch-agent 1:2014.2~rc1-0ubuntu1
ProcVersionSignature: User Name 3.16.0-20.27-generic 3.16.3
Uname: Linux 3.16.0-20-generic x86_64
ApportVersion: 2.14.7-0ubuntu5
Architecture: amd64
Date: Fri Oct 10 12:48:27 2014
Ec2AMI: ami-000000af
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.medium
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
PackageArchitecture: all
SourcePackage: neutron
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.neutron.rootwrap.d.openvswitch.plugin.filters: [deleted]

** Affects: neutron
     Importance: Undecided
         Status: New

** Affects: neutron (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ec2-images utopic

** Summary changed:

- neutron-openvswitch-agent fails to apply iptables
+ neutron-openvswitch-agent fails to apply iptables rules

** Also affects: neutron
   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/1379779

Title:
  neutron-openvswitch-agent fails to apply iptables rules

Status in OpenStack Neutron (virtual network service):
  New
Status in “neutron” package in Ubuntu:
  New

Bug description:
  2014-10-10 12:49:19.947 4498 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-4865cb3b-e783-4368-82c4-6d585ba08248 None] Error while processing VIF ports
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Traceback (most recent call last):
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1406, in rpc_loop
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     ovs_restarted)
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 1205, in process_network_ports
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     port_info.get('updated', set()))
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 316, in setup_port_filters
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self.prepare_devices_filter(new_devices)
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 211, in prepare_devices_filter
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     security_groups, security_group_member_ips)
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self.gen.next()
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/firewall.py", line 106, in defer_apply
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self.filter_defer_apply_off()
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_firewall.py", line 557, in filter_defer_apply_off
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self.iptables.defer_apply_off()
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 373, in defer_apply_off
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     self._apply()
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 389, in _apply
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     return self._apply_synchronized()
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 444, in _apply_synchronized
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     '\n'.join(log_lines))
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/excutils.py", line 82, in __exit__
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     six.reraise(self.type_, self.value, self.tb)
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 423, in _apply_synchronized
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     root_helper=self.root_helper)
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py", line 84, in execute
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     raise RuntimeError(m)
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent RuntimeError:
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'iptables-restore', '-c']
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Exit code: 2
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Stdout: ''
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Stderr: "iptables-restore v1.4.21: Set IPv4cf55331e-3b18-488d-8 doesn't exist.\n\nError occurred at line: 75\nTry `iptables-restore -h' or 'iptables-restore --help' for more information.\n"
  2014-10-10 12:49:19.947 4498 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: neutron-plugin-openvswitch-agent 1:2014.2~rc1-0ubuntu1
  ProcVersionSignature: User Name 3.16.0-20.27-generic 3.16.3
  Uname: Linux 3.16.0-20-generic x86_64
  ApportVersion: 2.14.7-0ubuntu5
  Architecture: amd64
  Date: Fri Oct 10 12:48:27 2014
  Ec2AMI: ami-000000af
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.medium
  Ec2Kernel: aki-00000002
  Ec2Ramdisk: ari-00000002
  PackageArchitecture: all
  SourcePackage: neutron
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.neutron.rootwrap.d.openvswitch.plugin.filters: [deleted]

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


Follow ups

References