Skip user-provided VIP ports in maintenance backfill task
The maintenance task add_device_owner_lb_vip_ports, introduced in change [1] to backfill device_owner and device_id on legacy provider-created VIP ports (LP#2150682), did not account for user-provided ports.
Since change [2] (LP#2160551), users can pass a pre-existing port via –vip-port-id. These ports have empty device_owner/device_id by design, so the maintenance task was incorrectly overwriting them with ovn-lb:vip and lb-, altering ports the user owns.
Port provenance is now determined by the port name prefix (ovn-lb-vip-): only provider-created ports are backfilled. User-provided ports are skipped.
[1] https://review.opendev.org/c/openstack/ovn-octavia-provider/+/986730 [2] https://review.opendev.org/c/openstack/ovn-octavia-provider/+/997099
Closes-Bug: #2162146 Related-Bug: #2150682
Change-Id: I6472f472246bf52688f7de2717c1d998f82ba20c Signed-off-by: Fernando Royo froyo@redhat.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号