1e76ddf711
IP allocation was initially deffered due to lack of binding
information. On port update with both `mac_address` and
`binding_host_id`` in the request, 'fixed_ips: []' was
appended to the new_port data. This caused the check for
fixed_ips_requested to return True, which in turn cause
deferred_ip_allocation to evaluates False.
Only set the new_port default fixed_ips to original_ips if
the original port had fixed_ips.
Conflicts:
test_segment.py
Closes-Bug: #1811905
Change-Id: If98a82f8432b09a29f9d0cc6627e9649b43bc4a1
(cherry picked from commit b0d758e1b4
)
11 lines
503 B
YAML
11 lines
503 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes an issue causing IP allocation on port update to fail when the
|
|
initial IP allocation was deferred due to lack of binding info. If both the
|
|
port mac_address and binding info (binding_host_id) were updated in the
|
|
same request, the fixed_ips field was added to the request internally. The
|
|
code to complete the deferred allocation failed to execute in that case.
|
|
(For more information see bug `1811905
|
|
<https://bugs.launchpad.net/neutron/+bug/1811905>`_.)
|