← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1582807] [NEW] neutron-rootwrap-daemon explodes because of misbehaving "ip rule"

 

Public bug reported:

Somehow, one of my deployments (ubuntu trusty64 based)

root@devstack:~# uname -a
Linux devstack 3.19.0-37-generic #42~14.04.1-Ubuntu SMP Mon Nov 23 15:13:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

results on never-ending output of "ip rule"

# ip rule
0:	from all lookup local
0:	from all lookup local
0:	from all lookup local
0:	from all lookup local
[...]
runs for ever... (apparently because of a kernel bug)

As a result of that, when neutron-l3-agent calls "ip rule" via rootwrap-
deamon, the daemon eventually takes all the VM memory, and explodes.

I believe we should include some sort of limit on the rootwrap-daemon
command response collection to avoid crashing the system on conditions
like this.

** Affects: neutron
     Importance: Undecided
         Status: New

** Affects: oslo.rootwrap
     Importance: Undecided
         Status: New

** Project changed: neutron => oslo.rootwrap

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

Title:
  neutron-rootwrap-daemon explodes because of misbehaving "ip rule"

Status in neutron:
  New
Status in oslo.rootwrap:
  New

Bug description:
  Somehow, one of my deployments (ubuntu trusty64 based)

  root@devstack:~# uname -a
  Linux devstack 3.19.0-37-generic #42~14.04.1-Ubuntu SMP Mon Nov 23 15:13:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

  results on never-ending output of "ip rule"

  # ip rule
  0:	from all lookup local
  0:	from all lookup local
  0:	from all lookup local
  0:	from all lookup local
  [...]
  runs for ever... (apparently because of a kernel bug)

  As a result of that, when neutron-l3-agent calls "ip rule" via
  rootwrap-deamon, the daemon eventually takes all the VM memory, and
  explodes.

  I believe we should include some sort of limit on the rootwrap-daemon
  command response collection to avoid crashing the system on conditions
  like this.

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


Follow ups