Signed-off-by: Petr Pudlak <[email protected]>
---
 lib/backend.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/backend.py b/lib/backend.py
index 3564b8f..2122bad 100644
--- a/lib/backend.py
+++ b/lib/backend.py
@@ -2250,6 +2250,8 @@ def ModifyInstanceMetadata(metadata):
       raise TimeoutError("Connection to metadata daemon timed out")
     except (socket.error, NoMasterError), err:
       if retries == 0:
+        logging.error("Failed to connect to the metadata daemon",
+                      exc_info=True)
         raise TimeoutError("Failed to connect to metadata daemon: %s" % err)
       else:
         retries -= 1
-- 
2.4.3.573.g4eafbef

Reply via email to