]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
The option force_metadata=True breaks the dhcp agent
authorNir Magnezi <nmagnezi@redhat.com>
Thu, 24 Sep 2015 14:49:15 +0000 (17:49 +0300)
committerNir Magnezi <nmagnezi@redhat.com>
Sat, 3 Oct 2015 22:33:26 +0000 (22:33 +0000)
commit473c338ff8c5526157d297b7e90d5e4f5e94cbb9
treea1440376f65800d05a1edb8c08849c697d5d4310
parent9e4627fd359690bc904f301959bc96deb19e768b
The option force_metadata=True breaks the dhcp agent

Patch I5f6ee9788717c3d4f1f2e2a4b9734fdd8dd92b40 has an issue with
force_metadata = True.

Using the option force_metadata=True while
enable_isolated_metadata=False (which is the default), will break the
dhcp agent because the variable subnet_to_interface_ip is being
referenced before assignment.

Co-Authored-By: Jakub Libosvar <jlibosva@redhat.com>
Change-Id: I4e1d918e3a24dd483ee134021f587ae4520bf431
Closes-Bug: #1499406
neutron/agent/linux/dhcp.py
neutron/tests/unit/agent/linux/test_dhcp.py