commit efae1f5211e3907ff58853155b785f0e8fb34e9b
Author: Luis Tomas Bolivar <email address hidden>
Date: Wed Oct 9 11:41:37 2019 +0200
Avoid namespace deletion error if processing a duplicated event
In case of a kuryr-controller restart, if the namespace deletion
event was already executed and it is retriggered, it can make the
kuryr-controller fail as the kuryrnet CRD would have been already
deleted and we cannot obtain the subnet id from it. In that case
the event just need to be skip.
Reviewed: https:/ /review. opendev. org/687520 /git.openstack. org/cgit/ openstack/ kuryr-kubernete s/commit/ ?id=efae1f5211e 3907ff58853155b 785f0e8fb34e9b
Committed: https:/
Submitter: Zuul
Branch: master
commit efae1f5211e3907 ff58853155b785f 0e8fb34e9b
Author: Luis Tomas Bolivar <email address hidden>
Date: Wed Oct 9 11:41:37 2019 +0200
Avoid namespace deletion error if processing a duplicated event
In case of a kuryr-controller restart, if the namespace deletion controller fail as the kuryrnet CRD would have been already
event was already executed and it is retriggered, it can make the
kuryr-
deleted and we cannot obtain the subnet id from it. In that case
the event just need to be skip.
Change-Id: I14fcf820d94319 541dd7bf13893e8 2cf0373969c
Closes-Bug: 1847453