diff options
| author | Trey Morris <trey.morris@rackspace.com> | 2011-06-22 17:36:09 -0500 |
|---|---|---|
| committer | Trey Morris <trey.morris@rackspace.com> | 2011-06-22 17:36:09 -0500 |
| commit | 61da39ecfefe441d352e72c99884157c5df8173e (patch) | |
| tree | 56f37dd51367a7e12a1d4082a71c5deb2cf01ad0 | |
| parent | 614ab3d0e68a7998d77da1f39d1fe9bd5b080972 (diff) | |
| download | nova-61da39ecfefe441d352e72c99884157c5df8173e.tar.gz nova-61da39ecfefe441d352e72c99884157c5df8173e.tar.xz nova-61da39ecfefe441d352e72c99884157c5df8173e.zip | |
better debug statement around associating floating ips when multiple fixed_ips exist
| -rw-r--r-- | nova/compute/api.py | 3 |
1 files changed, 2 insertions, 1 deletions
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]) |
