commit 4adbc85de70f106e7b358a62f2d9a715bc8701ca
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Aug 23 00:19:24 2023 +0000
Check the device ID and host ID during virtual port binding
If a port receives a device ID and a binding profile host ID
fields update, at the same time, this is because Nova is trying
to bind the port to a VM (device ID) in a host (host ID). In
ML2/OVN, a virtual port cannot be bound to a VM.
NOTE:
* A virtual port can receive a host ID update. That happens when
the fixed IP port that has the virtual port IP address as
allowed address pair is bound.
* A virtual port can receive a devide ID update. Octavia uses
the devide ID to identify to what load balancer the virtual
port belongs.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/895433 /opendev. org/openstack/ neutron/ commit/ 4adbc85de70f106 e7b358a62f2d9a7 15bc8701ca
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit 4adbc85de70f106 e7b358a62f2d9a7 15bc8701ca
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Aug 23 00:19:24 2023 +0000
Check the device ID and host ID during virtual port binding
If a port receives a device ID and a binding profile host ID
fields update, at the same time, this is because Nova is trying
to bind the port to a VM (device ID) in a host (host ID). In
ML2/OVN, a virtual port cannot be bound to a VM.
NOTE:
* A virtual port can receive a host ID update. That happens when
the fixed IP port that has the virtual port IP address as
allowed address pair is bound.
* A virtual port can receive a devide ID update. Octavia uses
the devide ID to identify to what load balancer the virtual
port belongs.
This check was introduced in [1].
[1]https:/ /review. opendev. org/c/openstack /neutron/ +/882588
Closes-Bug: #2028651 b91d43323771e6f 30fa8e8e506 034a4e834875fc4 586655787c)
Related-Bug: #2018529
Change-Id: I8784c6716f5a53
(cherry picked from commit a3b00768d648742