From c19e187108823f01f7e93f227e43886303c869c0 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Thu, 24 Jan 2013 18:02:16 -0500 Subject: Add debug log when call out to glance Calling out to another service may take a while, so lets log this Change-Id: I223105ee578ae82230cbc3936c096e148b07e8f1 --- nova/image/glance.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nova/image/glance.py b/nova/image/glance.py index 1a6bba62f..6eac96c35 100644 --- a/nova/image/glance.py +++ b/nova/image/glance.py @@ -485,6 +485,8 @@ def get_remote_image_service(context, image_href): :returns: a tuple of the form (image_service, image_id) """ + # Calling out to another service may take a while, so lets log this + LOG.debug(_("fetching image %s from glance") % image_href) #NOTE(bcwaldon): If image_href doesn't look like a URI, assume its a # standalone image ID if '/' not in str(image_href): -- cgit