From 1257d3e7f0fa2466b85119cfcef6899c31618e7c Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Sun, 28 Oct 2018 09:36:57 +0200 Subject: [PATCH] NSX|V3: Fix member fip error message Change-Id: I86f92baec2ba1c29d6cec0c18fbd4c4fc958c1f6 --- vmware_nsx/services/lbaas/nsx_v3/implementation/member_mgr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vmware_nsx/services/lbaas/nsx_v3/implementation/member_mgr.py b/vmware_nsx/services/lbaas/nsx_v3/implementation/member_mgr.py index 7ab0df6e72..d943161bf8 100644 --- a/vmware_nsx/services/lbaas/nsx_v3/implementation/member_mgr.py +++ b/vmware_nsx/services/lbaas/nsx_v3/implementation/member_mgr.py @@ -45,8 +45,8 @@ class EdgeMemberManagerFromDict(base_mgr.Nsxv3LoadbalancerBaseManager): return (floating_ips[0]['fixed_ip_address'], floating_ips[0]['router_id']) else: - msg = (_('Cannot get floating ip %(fip)s provided from ' - 'neutron db') % {'fip': fip}) + msg = (_('Member IP %(fip)s is an external IP, and is expected to ' + 'be a floating IP') % {'fip': fip}) raise n_exc.BadRequest(resource='lbaas-vip', msg=msg) @log_helpers.log_method_call