From babd78625e51392733822a588f00f271f45f1f25 Mon Sep 17 00:00:00 2001 From: asarfaty Date: Mon, 15 Feb 2021 09:41:21 +0200 Subject: [PATCH] V2T migration: Add L2GW ids in validation error Change-Id: I584cd5935c4c41fbc97022968296b9a6bf42ca92 --- vmware_nsx/shell/admin/plugins/nsxv/resources/migration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vmware_nsx/shell/admin/plugins/nsxv/resources/migration.py b/vmware_nsx/shell/admin/plugins/nsxv/resources/migration.py index 9717b1220d..88c32cc4d6 100644 --- a/vmware_nsx/shell/admin/plugins/nsxv/resources/migration.py +++ b/vmware_nsx/shell/admin/plugins/nsxv/resources/migration.py @@ -281,8 +281,8 @@ def validate_config_for_migration(resource, event, trigger, **kwargs): # L2GW is not supported with the policy plugin l2gws = admin_context.session.query(l2gateway_models.L2Gateway).all() if len(l2gws): - LOG.error("ERROR: Found %s L2Gws. Networking-l2gw is not supported.", - len(l2gws)) + LOG.error("ERROR: Found %s L2Gws: %s. Networking-l2gw is not " + "supported.", len(l2gws), [l2gw.id for l2gw in l2gws]) n_errors = n_errors + 1 if n_errors > 0: