mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 22:04:43 +03:00
fix-ci-tf-elastx_cleanup (#10133)
This commit is contained in:
@@ -59,6 +59,9 @@ def main():
|
|||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
print("Failed to delete subnet from router as %s", ex)
|
print("Failed to delete subnet from router as %s", ex)
|
||||||
|
|
||||||
|
for ip in conn.network.ips():
|
||||||
|
fn_if_old(conn.network.delete_ip, ip)
|
||||||
|
|
||||||
# After removing unnecessary subnet from router, retry to delete ports
|
# After removing unnecessary subnet from router, retry to delete ports
|
||||||
map_if_old(conn.network.delete_port,
|
map_if_old(conn.network.delete_port,
|
||||||
conn.network.ports())
|
conn.network.ports())
|
||||||
|
|||||||
Reference in New Issue
Block a user