← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1632110] [NEW] failure to add ipv6 address to interface causes backtrace

 

Public bug reported:

I have a v6 only subnet attached to a router who's gateway is v4
(doesn't seem to hurt anything)...

Anyway, I interface-delete and add the subnet to the router, waiting til
l3-agent is done in-between and sometimes on of the commands will error
out.  For example...

2016-10-10 15:42:05.149 6116 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-60d35bac-2b25-4a62-9a10-b22b89f6abab', 'ip', '-6', 'addr', 'add', '::8/64', 'scope', 'global', 'dev', 'qr-8a08f142-a6'] create_process /usr/lib64/python2.7/site-packages/neutron/agent/linux/utils.py:83
2016-10-10 15:42:06.035 6116 ERROR neutron.agent.linux.utils [-] Exit code: 2; Stdin: ; Stdout: ; Stderr: RTNETLINK answers: File exists

What I find odd is that it doesn't try to add the interface again after
the l3-agent restarts.  It does try and remove it after (which
succeeds).

Also, It tries to add the address and succeeds earlier, so it seems to
be trying to add the address twice

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

Title:
  failure to add ipv6 address to interface causes backtrace

Status in neutron:
  New

Bug description:
  I have a v6 only subnet attached to a router who's gateway is v4
  (doesn't seem to hurt anything)...

  Anyway, I interface-delete and add the subnet to the router, waiting
  til l3-agent is done in-between and sometimes on of the commands will
  error out.  For example...

  2016-10-10 15:42:05.149 6116 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-60d35bac-2b25-4a62-9a10-b22b89f6abab', 'ip', '-6', 'addr', 'add', '::8/64', 'scope', 'global', 'dev', 'qr-8a08f142-a6'] create_process /usr/lib64/python2.7/site-packages/neutron/agent/linux/utils.py:83
  2016-10-10 15:42:06.035 6116 ERROR neutron.agent.linux.utils [-] Exit code: 2; Stdin: ; Stdout: ; Stderr: RTNETLINK answers: File exists

  What I find odd is that it doesn't try to add the interface again
  after the l3-agent restarts.  It does try and remove it after (which
  succeeds).

  Also, It tries to add the address and succeeds earlier, so it seems to
  be trying to add the address twice

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


Follow ups