diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs_staticroutes.py b/systemvm/patches/debian/config/opt/cloud/bin/cs_staticroutes.py index 98244db03c8..d5ffae15cbb 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/cs_staticroutes.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/cs_staticroutes.py @@ -23,7 +23,10 @@ def merge(dbag, staticroutes): key = route['ip_address'] revoke = route['revoke'] if revoke: - del dbag[key] + try: + del dbag[key] + except KeyError: + pass else: dbag[key] = route