From 61da39ecfefe441d352e72c99884157c5df8173e Mon Sep 17 00:00:00 2001 From: Trey Morris Date: Wed, 22 Jun 2011 17:36:09 -0500 Subject: better debug statement around associating floating ips when multiple fixed_ips exist --- nova/compute/api.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nova/compute/api.py b/nova/compute/api.py index c76a00d38..9f4d4899f 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -978,7 +978,8 @@ class API(base.Base): "unable to associate floating ip") % instance_id raise exception.ApiError(msg) if len(fixed_ip_addrs) > 1: - LOG.warning(_("multiple fixed_ips exist, using the first")) + LOG.warning(_("multiple fixed_ips exist, using the first: %s"), + fixed_ip_addrs[0]) self.network_api.associate_floating_ip(context, floating_ip=address, fixed_ip=fixed_ip_addrs[0]) -- cgit