]> 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)
committerJakub Libosvar <libosvar@redhat.com>
Mon, 5 Oct 2015 10:54:23 +0000 (10:54 +0000)
commita7fa6f9a37c976d971b1be5896ebb6241c815475
tree5bc0f825eb305ba650ae3168115460a7dacede1b
parent83885dee209f65265388046a16d651b6d393179d
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
(cherry picked from commit 473c338ff8c5526157d297b7e90d5e4f5e94cbb9)
neutron/agent/linux/dhcp.py
neutron/tests/unit/agent/linux/test_dhcp.py