Try to disable enable remote console for VMware to see if it's the source of timeout errors

Ref https://github.com/GNS3/gns3-gui/issues/1632
This commit is contained in:
Julien Duponchelle committed 2016-11-03 10:40:00 +01:00
1 parent 7c981f9322
commit 3df3aa84ff
2 files changed
+11 -8

No files matched your search

+7 -7
View File
@@ -649,13 +649,13 @@ class VMwareVM(BaseNode):
:param enable_remote_console: boolean
"""
if enable_remote_console:
log.info("VMware VM '{name}' [{id}] has enabled the console".format(name=self.name, id=self.id))
if self._started:
self._start_remote_console()
else:
log.info("VMware VM '{name}' [{id}] has disabled the console".format(name=self.name, id=self.id))
self._stop_remote_console()
# if enable_remote_console:
# log.info("VMware VM '{name}' [{id}] has enabled the console".format(name=self.name, id=self.id))
# if self._started:
# self._start_remote_console()
# else:
# log.info("VMware VM '{name}' [{id}] has disabled the console".format(name=self.name, id=self.id))
# self._stop_remote_console()
self._enable_remote_console = enable_remote_console
@property
+4 -1
View File
@@ -386,7 +386,10 @@ class Node:
"""
Start a node
"""
yield from self.post("/start")
try:
yield from self.post("/start")
except asyncio.TimeoutError:
raise aiohttp.web.HTTPRequestTimeout(text="Timeout when starting {}".format(self._name))
@asyncio.coroutine
def stop(self):