commit b3f32e190090dc7fa922ef4d7c88e3510c6b3c7b
Author: Harald Jensås <email address hidden>
Date: Wed Jan 16 02:44:32 2019 +0100
Fix port update deferred IP allocation with host_id + new MAC
IP allocation was initially deffered due to lack of binding
information. On port update the 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.
Closes-Bug: #1811905
Change-Id: If98a82f8432b09a29f9d0cc6627e9649b43bc4a1
(cherry picked from commit b0d758e1b4af9aed8c2da6e0bac4723d8e4f5443)
Reviewed: https:/ /review. openstack. org/634111 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=b3f32e19009 0dc7fa922ef4d7c 88e3510c6b3c7b
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit b3f32e190090dc7 fa922ef4d7c88e3 510c6b3c7b
Author: Harald Jensås <email address hidden>
Date: Wed Jan 16 02:44:32 2019 +0100
Fix port update deferred IP allocation with host_id + new MAC
IP allocation was initially deffered due to lack of binding host_id` ` in the request 'fixed_ips: []' was ips_requested to return True, which in turn cause ip_allocation to evaluates False.
information. On port update the with both `mac_address` and
`binding_
appended to the new_port data. This caused the check for
fixed_
deferred_
Only set the new_port default fixed_ips to original_ips if
the original port had fixed_ips.
Closes-Bug: #1811905 a29f9d0cc6627e9 649b43bc4a1 d8c2da6e0bac472 3d8e4f5443)
Change-Id: If98a82f8432b09
(cherry picked from commit b0d758e1b4af9ae