← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1374362] [NEW] Need add "ipset" into requirements.txt because it's enabled default

 

Public bug reported:

Since this patch https://review.openstack.org/#/c/111877 has been
merged. Neutron ovs-agent used ipset to apply securitygroup rules on
compute node now.  If ipset was not installed on compute node, it will
report this error:

File "/usr/lib/python2.6/site-packages/neutron/agent/linux/iptables_manager.py", line 424, in _apply_synchronized
2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     root_helper=self.root_helper)
2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py", line 81, in execute
2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     raise RuntimeError(m)
2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent RuntimeError: 
2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'iptables-restore', '-c']
2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Exit code: 1
2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Stdout: ''
2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Stderr: 'iptables-restore v1.4.7: Kernel module ip_set is not loaded in.\n\n'

I think it need to add ipset into requirements.txt to ensure it could be
installed when neutron ovs-agent installed.

** 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/1374362

Title:
  Need add "ipset" into requirements.txt because it's enabled default

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Since this patch https://review.openstack.org/#/c/111877 has been
  merged. Neutron ovs-agent used ipset to apply securitygroup rules on
  compute node now.  If ipset was not installed on compute node, it will
  report this error:

  File "/usr/lib/python2.6/site-packages/neutron/agent/linux/iptables_manager.py", line 424, in _apply_synchronized
  2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     root_helper=self.root_helper)
  2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent   File "/usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py", line 81, in execute
  2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent     raise RuntimeError(m)
  2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent RuntimeError: 
  2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'iptables-restore', '-c']
  2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Exit code: 1
  2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Stdout: ''
  2014-09-25 02:15:20.668 18151 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent Stderr: 'iptables-restore v1.4.7: Kernel module ip_set is not loaded in.\n\n'

  I think it need to add ipset into requirements.txt to ensure it could
  be installed when neutron ovs-agent installed.

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


Follow ups

References