Merge "NSX|V3: Fix member fip error message"
This commit is contained in:
commit
fc8f5d667b
@ -45,8 +45,8 @@ class EdgeMemberManagerFromDict(base_mgr.Nsxv3LoadbalancerBaseManager):
|
|||||||
return (floating_ips[0]['fixed_ip_address'],
|
return (floating_ips[0]['fixed_ip_address'],
|
||||||
floating_ips[0]['router_id'])
|
floating_ips[0]['router_id'])
|
||||||
else:
|
else:
|
||||||
msg = (_('Cannot get floating ip %(fip)s provided from '
|
msg = (_('Member IP %(fip)s is an external IP, and is expected to '
|
||||||
'neutron db') % {'fip': fip})
|
'be a floating IP') % {'fip': fip})
|
||||||
raise n_exc.BadRequest(resource='lbaas-vip', msg=msg)
|
raise n_exc.BadRequest(resource='lbaas-vip', msg=msg)
|
||||||
|
|
||||||
@log_helpers.log_method_call
|
@log_helpers.log_method_call
|
||||||
|
Loading…
Reference in New Issue
Block a user