lb agent: dhcp tap not plugged in bridge with vlan setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Brian Haley |
Bug Description
Commit [1] disables ipv6 on linuxbridges. On my linuxbridge vlan system, this fix causes the code ensure_bridge() to return too early without passing the bridge_name back.
The introduced method returns the output of the systcl -w call
+ def disable_ipv6(self):
+ cmd = 'net.ipv6.
+ return self._sysctl([cmd])
The sysctl always outputs the config that has been set (at least on my ubuntu):
# sudo sysctl -w net.ipv6.
net.ipv6.
The check that has been introduced assumes that on successful executing, nothing (or return code 0) is returned - but the command always returns something!
+ if bridge_
+ return
The result is, that the tap device of the dhcp server is not plugged into the bridge but instead still loosely hanging around.
Log from a lb tempest run [1]. after the sysctl command is executed, the method returns (the follow on call that sets the bridge up is missing):
2015-11-26 14:45:36.283 DEBUG neutron.
2015-11-26 14:45:36.284 DEBUG neutron.
2015-11-26 14:45:36.286 DEBUG neutron.
2015-11-26 14:45:36.286 DEBUG neutron.
2015-11-26 14:45:36.294 DEBUG neutron.
2015-11-26 14:45:36.295 DEBUG neutron.
[1] https:/
[2] http://
tags: | added: linuxbridge |
Changed in neutron: | |
importance: | Undecided → Medium |
importance: | Medium → High |
summary: |
- Revert Disable IPV6 on bridge devices. It causes dhcp tap not plugged in - bridge with vlan config + lb agent: dhcp tap not plugged in bridge with vlan setup |
Changed in neutron: | |
assignee: | Andreas Scheuring (andreas-scheuring) → Brian Haley (brian-haley) |
Fix proposed to branch: master /review. openstack. org/250855
Review: https:/