l3 ha router use host proc filesystem

Bug #1641946 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Invalid
High
Unassigned
Newton
Invalid
High
Unassigned

Bug Description

after enabled l3 ha router, got following error, need map the host /proc folder to l3 container.

2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent [-] Failed to process compatible router: bad9c8c1-628e-4093-8b0c-447a0a8500e9
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent Traceback (most recent call last):
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 508, in _process_router_update
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent self._process_router_if_compatible(router)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 445, in _process_router_if_compatible
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent self._process_updated_router(router)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 460, in _process_updated_router
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent ri.process(self)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/ha_router.py", line 386, in process
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent super(HaRouter, self).process(agent)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/common/utils.py", line 242, in call
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent self.logger(e)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent self.force_reraise()
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent six.reraise(self.type_, self.value, self.tb)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/common/utils.py", line 239, in call
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent return func(*args, **kwargs)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 1062, in process
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent self.process_external(agent)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 840, in process_external
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent self._process_external_gateway(ex_gw_port, agent.pd)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 714, in _process_external_gateway
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent self.external_gateway_added(ex_gw_port, interface_name)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/ha_router.py", line 356, in external_gateway_added
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent self._enable_ra_on_gw(ex_gw_port, self.ns_name, interface_name)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 623, in _enable_ra_on_gw
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent self.driver.configure_ipv6_ra(ns_name, interface_name)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/interface.py", line 220, in configure_ipv6_ra
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent ['sysctl', '-w', 'net.ipv6.conf.%s.accept_ra=2' % dev_name])
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 885, in execute
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent log_fail_as_error=log_fail_as_error, **kwargs)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 138, in execute
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent raise RuntimeError(msg)
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent RuntimeError: Exit code: 255; Stdin: ; Stdout: ; Stderr: sysctl: cannot stat /proc/sys/net/ipv6/conf/qg-79ecb185-50/accept_ra: No such file or directory
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent
2016-11-15 21:21:21.211 7 ERROR neutron.agent.l3.agent

Changed in kolla:
milestone: none → ocata-1
summary: - l3 ha router need access /proc filesystem
+ l3 ha router use host proc filesystem
Changed in kolla:
milestone: ocata-1 → ocata-2
Changed in kolla:
status: New → Triaged
importance: Undecided → High
Changed in kolla:
milestone: ocata-2 → ocata-3
Changed in kolla:
milestone: ocata-3 → ocata-rc1
Changed in kolla:
milestone: ocata-rc1 → pike-1
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

can not reproduce, mark as invalid.

Changed in kolla:
status: Triaged → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (master)

Change abandoned by Jeffrey Zhang (jeffrey.zhang@99cloud.net) on branch: master
Review: https://review.openstack.org/397738

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.