7af0b713ff
Router_info class and metadata agent's driver are using same instance of the iptables manager class and it could happend that sometimes e.g. nat rule which packets send to 169.254.169.254:80 redirects to the port 9697 so haproxy can process them, can be missed as they will be overwritten by the Router_info class manipulating other rules in the same 'nat' rules list. This patch fixed that by adding lock for methods which are changing rules in iptables_manager's nat table in both router_info and the metadata agent's driver. Conflicts: neutron/agent/metadata/driver.py Closes-Bug: #1920778 Change-Id: Ic3a324c0e608c7afc4b15dbc8becd33b75ee78f6 (cherry picked from commit |
||
---|---|---|
.. | ||
__init__.py | ||
agent.py | ||
driver.py |