Services: Rollback openstack resources in case of annotation failure
Upon K8S service creation the LBaaS handler creates all LB resources
at neutron (LB,Listener,Pool,etc) and store them at K8S resource
using annotation.
When K8S service is deleted, the LBaaS handler retrieves LB
resources details from annotation and release them at neutron.
This patch handles the case in which K8S service resource was deleted
before LBaaS handler stored openstack resource details.
Reviewed: https:/ /review. openstack. org/546784 /git.openstack. org/cgit/ openstack/ kuryr-kubernete s/commit/ ?id=2e6c7eaae7a 198cc169f060351 b54e9c0586de11
Committed: https:/
Submitter: Zuul
Branch: master
commit 2e6c7eaae7a198c c169f060351b54e 9c0586de11
Author: Yossi Boaron <email address hidden>
Date: Wed Feb 21 23:54:52 2018 +0200
Services: Rollback openstack resources in case of annotation failure
Upon K8S service creation the LBaaS handler creates all LB resources Pool,etc) and store them at K8S resource
at neutron (LB,Listener,
using annotation.
When K8S service is deleted, the LBaaS handler retrieves LB
resources details from annotation and release them at neutron.
This patch handles the case in which K8S service resource was deleted
before LBaaS handler stored openstack resource details.
Closes-Bug: 1748890
Change-Id: Iea806d32c99cd3 cf51a832b576ff4 054fc522bd3