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

Bug #1374362 reported by Wang Bo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned

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.

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

requirements.txt is for python dependencies; ipset is not a python package and need to be distributed via the distro's package manager of your choice. This bug is invalid.

Changed in neutron:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.