From 8fd044b9107a6f0920a5c4339745780d340e99e7 Mon Sep 17 00:00:00 2001 From: Antoine Millet Date: Thu, 7 Apr 2016 15:30:10 +0200 Subject: [PATCH] Retry storage update before to register new virtual machine --- cloudcontrol/node/hypervisor/kvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudcontrol/node/hypervisor/kvm.py b/cloudcontrol/node/hypervisor/kvm.py index 2cffad0..909cae1 100644 --- a/cloudcontrol/node/hypervisor/kvm.py +++ b/cloudcontrol/node/hypervisor/kvm.py @@ -128,7 +128,7 @@ class KVM(object): 'conflits with others cc-node objects') return # update Storage pools in case VM has volumes that were created - self.storage.update() + self.storage.update(retry=10) # if vm is redefined while running we need to refresh its devices # when stopped redefine_on_stop = False -- GitLab