← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1361542] [NEW] neutron-l3-agent does not start without IPv6

 

Public bug reported:

When testing on a one-node-cloud that had ipv6 blacklisted, I found that neutron-l3-agent does not start
because it errors out when it tries to access /proc/sys/net/ipv6/conf/default/disable_ipv6

2014-08-26 10:12:57.987 29609 TRACE neutron   File "/usr/lib64/python2.6/site-packages/neutron/service.py", line 269, in create
2014-08-26 10:12:57.987 29609 TRACE neutron     periodic_fuzzy_delay=periodic_fuzzy_delay)
2014-08-26 10:12:57.987 29609 TRACE neutron   File "/usr/lib64/python2.6/site-packages/neutron/service.py", line 202, in __init__
2014-08-26 10:12:57.987 29609 TRACE neutron     self.manager = manager_class(host=host, *args, **kwargs)
2014-08-26 10:12:57.987 29609 TRACE neutron   File "/usr/lib64/python2.6/site-packages/neutron/agent/l3_agent.py", line 916, in __init__
2014-08-26 10:12:57.987 29609 TRACE neutron     super(L3NATAgentWithStateReport, self).__init__(host=host, conf=conf)
2014-08-26 10:12:57.987 29609 TRACE neutron   File "/usr/lib64/python2.6/site-packages/neutron/agent/l3_agent.py", line 230, in __init__
2014-08-26 10:12:57.987 29609 TRACE neutron     self.use_ipv6 = ipv6_utils.is_enabled()
2014-08-26 10:12:57.987 29609 TRACE neutron   File "/usr/lib64/python2.6/site-packages/neutron/common/ipv6_utils.py", line 50, in is_enabled
2014-08-26 10:12:57.987 29609 TRACE neutron     with open(disabled_ipv6_path, 'r') as f:
2014-08-26 10:12:57.987 29609 TRACE neutron IOError: [Errno 2] No such file or directory: '/proc/sys/net/ipv6/conf/default/disable_ipv6'

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ipv6

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

Title:
  neutron-l3-agent does not start without IPv6

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When testing on a one-node-cloud that had ipv6 blacklisted, I found that neutron-l3-agent does not start
  because it errors out when it tries to access /proc/sys/net/ipv6/conf/default/disable_ipv6

  2014-08-26 10:12:57.987 29609 TRACE neutron   File "/usr/lib64/python2.6/site-packages/neutron/service.py", line 269, in create
  2014-08-26 10:12:57.987 29609 TRACE neutron     periodic_fuzzy_delay=periodic_fuzzy_delay)
  2014-08-26 10:12:57.987 29609 TRACE neutron   File "/usr/lib64/python2.6/site-packages/neutron/service.py", line 202, in __init__
  2014-08-26 10:12:57.987 29609 TRACE neutron     self.manager = manager_class(host=host, *args, **kwargs)
  2014-08-26 10:12:57.987 29609 TRACE neutron   File "/usr/lib64/python2.6/site-packages/neutron/agent/l3_agent.py", line 916, in __init__
  2014-08-26 10:12:57.987 29609 TRACE neutron     super(L3NATAgentWithStateReport, self).__init__(host=host, conf=conf)
  2014-08-26 10:12:57.987 29609 TRACE neutron   File "/usr/lib64/python2.6/site-packages/neutron/agent/l3_agent.py", line 230, in __init__
  2014-08-26 10:12:57.987 29609 TRACE neutron     self.use_ipv6 = ipv6_utils.is_enabled()
  2014-08-26 10:12:57.987 29609 TRACE neutron   File "/usr/lib64/python2.6/site-packages/neutron/common/ipv6_utils.py", line 50, in is_enabled
  2014-08-26 10:12:57.987 29609 TRACE neutron     with open(disabled_ipv6_path, 'r') as f:
  2014-08-26 10:12:57.987 29609 TRACE neutron IOError: [Errno 2] No such file or directory: '/proc/sys/net/ipv6/conf/default/disable_ipv6'

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


Follow ups

References