From 8fd59c7967fc3d764e052e0713e88c90dd90b911 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 27 Feb 2017 12:03:26 +0100 Subject: [PATCH] If the GNS3 VM as failed to start reset his status --- gns3server/controller/gns3vm/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gns3server/controller/gns3vm/__init__.py b/gns3server/controller/gns3vm/__init__.py index f72c7aec..e069e2dc 100644 --- a/gns3server/controller/gns3vm/__init__.py +++ b/gns3server/controller/gns3vm/__init__.py @@ -278,6 +278,7 @@ class GNS3VM: except Exception as e: yield from self._controller.delete_compute("vm") log.error("Can't start the GNS3 VM: {}", str(e)) + yield from compute.update(name="GNS3 VM ({})".format(engine.vmname)) raise e yield from compute.update(name="GNS3 VM ({})".format(engine.vmname), protocol=self.protocol,