← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1618878] [NEW] Disabling IPv6 on an interface fails if IPv6 is completely disabled in the kernel

 

Public bug reported:

Neutron Mitaka.

>From linuxbridge-agent.log:

ERROR neutron.agent.linux.ip_lib [req-7d62c8de-1678-4b17-b568-b2a9a938c97c - - - - -] Failed running ['sysctl', '-w', u'net.ipv6.conf.brqc766b4dc-d2.disable_ipv6=1']
ERROR neutron.agent.linux.ip_lib Traceback (most recent call last):
ERROR neutron.agent.linux.ip_lib   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 335, in _sysctl
ERROR neutron.agent.linux.ip_lib     check_exit_code=True)
ERROR neutron.agent.linux.ip_lib   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 927, in execute
ERROR neutron.agent.linux.ip_lib     log_fail_as_error=log_fail_as_error, **kwargs)
ERROR neutron.agent.linux.ip_lib   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 140, in execute
ERROR neutron.agent.linux.ip_lib     raise RuntimeError(msg)
ERROR neutron.agent.linux.ip_lib RuntimeError: Exit code: 255; Stdin: ; Stdout: ; Stderr: sysctl: cannot stat /proc/sys/net/ipv6/conf/brqc766b4dc-d2/disable_ipv6: No such file or directory

Indeed:
# ls /proc/sys/net/ipv6/
ls: cannot access /proc/sys/net/ipv6/: No such file or directory

This is because the system was started with the ipv6.disable=1 Linux
kernel boot option.

** Affects: neutron
     Importance: Undecided
     Assignee: Adrien Cunin (adri2000)
         Status: In Progress

** Changed in: neutron
       Status: New => In Progress

** Changed in: neutron
     Assignee: (unassigned) => Adrien Cunin (adri2000)

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

Title:
  Disabling IPv6 on an interface fails if IPv6 is completely disabled in
  the kernel

Status in neutron:
  In Progress

Bug description:
  Neutron Mitaka.

  From linuxbridge-agent.log:

  ERROR neutron.agent.linux.ip_lib [req-7d62c8de-1678-4b17-b568-b2a9a938c97c - - - - -] Failed running ['sysctl', '-w', u'net.ipv6.conf.brqc766b4dc-d2.disable_ipv6=1']
  ERROR neutron.agent.linux.ip_lib Traceback (most recent call last):
  ERROR neutron.agent.linux.ip_lib   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 335, in _sysctl
  ERROR neutron.agent.linux.ip_lib     check_exit_code=True)
  ERROR neutron.agent.linux.ip_lib   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 927, in execute
  ERROR neutron.agent.linux.ip_lib     log_fail_as_error=log_fail_as_error, **kwargs)
  ERROR neutron.agent.linux.ip_lib   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 140, in execute
  ERROR neutron.agent.linux.ip_lib     raise RuntimeError(msg)
  ERROR neutron.agent.linux.ip_lib RuntimeError: Exit code: 255; Stdin: ; Stdout: ; Stderr: sysctl: cannot stat /proc/sys/net/ipv6/conf/brqc766b4dc-d2/disable_ipv6: No such file or directory

  Indeed:
  # ls /proc/sys/net/ipv6/
  ls: cannot access /proc/sys/net/ipv6/: No such file or directory

  This is because the system was started with the ipv6.disable=1 Linux
  kernel boot option.

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


Follow ups