← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1510680] Re: Obscure error message if missing 'ipset' utility

 

Also, because this issue involves packages, it isn't a neutron bug.
Moving to openstack-manuals as we can at least provide a workaround for
it.

** Project changed: neutron => openstack-manuals

** Changed in: openstack-manuals
       Status: Fix Released => In Progress

** Changed in: openstack-manuals
   Importance: Undecided => Medium

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

Title:
  Obscure error message if missing 'ipset' utility

Status in openstack-manuals:
  In Progress

Bug description:
  In Liberty (7.0.0) and possibly prior releases, if you enable 'ipset'
  via the 'enable_ipset' option in the [securitygroup] section, a node
  running the Linux bridge agent that lacks the 'ipset' utility (e.g.,
  due to a dependency issue) produces a rather obscure error message
  when attempting to launch an instance. Consider making this error
  message more useful.

  INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [req-daeebd97-58ba-4f30-8184-9db4b54110d9 - - - - -] Agent out of sync with plugin!
  INFO neutron.agent.securitygroups_rpc [req-daeebd97-58ba-4f30-8184-9db4b54110d9 - - - - -] Preparing filters for devices set(['tap7bdfbc9d-f6'])
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [req-daeebd97-58ba-4f30-8184-9db4b54110d9 - - - - -] Error in agent loop. Devices info: {'current': set(['tap7bdfbc9d-f6']), 'removed': set([]), 'added': set(['tap7bdfbc9d-f6']), 'updated': set([])}
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent Traceback (most recent call last):
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 1105, in daemon_loop
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     sync = self.process_network_devices(device_info)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 947, in process_network_devices
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     device_info.get('updated'))
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 286, in setup_port_filters
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     self.prepare_devices_filter(new_devices)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 142, in decorated_function
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     *args, **kwargs)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 167, in prepare_devices_filter
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     security_groups, security_group_member_ips)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib64/python2.7/contextlib.py", line 24, in __exit__
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     self.gen.next()
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/firewall.py", line 110, in defer_apply
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     self.filter_defer_apply_off()
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py", line 792, in filter_defer_apply_off
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     self.unfiltered_ports)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py", line 210, in _setup_chains_apply
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     self._setup_chain(port, firewall.INGRESS_DIRECTION)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py", line 237, in _setup_chain
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     self._add_rules_by_security_group(port, DIRECTION)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py", line 479, in _add_rules_by_security_group
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     self._update_ipset_members(remote_sg_ids)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py", line 515, in _update_ipset_members
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     self.ipset.set_members(sg_id, ip_version, current_ips)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 254, in inner
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     return f(*args, **kwargs)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ipset_manager.py", line 87, in set_members
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     self._create_set(set_name, ethertype)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ipset_manager.py", line 133, in _create_set
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     self._apply(cmd)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ipset_manager.py", line 143, in _apply
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     check_exit_code=fail_on_errors)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 117, in execute
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     execute_rootwrap_daemon(cmd, process_input, addl_env))
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 103, in execute_rootwrap_daemon
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     return client.execute(cmd, process_input)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib/python2.7/site-packages/oslo_rootwrap/client.py", line 137, in execute
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     res = proxy.run_one_command(cmd, stdin)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "<string>", line 2, in run_one_command
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent     raise convert_to_error(kind, result)
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent RemoteError:
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent ---------------------------------------------------------------------------
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent Unserializable message: ('#ERROR', FilterMatchNotExecutable())
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent ---------------------------------------------------------------------------
  ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-manuals/+bug/1510680/+subscriptions


References