2141dba99c
It can happen that during the cleanup of KuryrPort when Pod is already gone we'll fail trying to find the parent port ID. We have a bug that in this case finalizing of KuryrPort fails. This commit changes the way we look for the hostIP of the pod to actually look up a node using the info from KuryrPort CRD. If this fails (node removed?) we try querying OpenStack API to get this information. If this fails too, we just don't pass hostIP to mocked Pod. Change-Id: I72aea5713f90c8df2f5d0269fa83b8fdd5220c59 |
||
---|---|---|
.. | ||
unit | ||
__init__.py | ||
base.py | ||
fake.py |