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
pull/774/head
Julien Duponchelle 8 years ago
parent 7c981f9322
commit 3df3aa84ff
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -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

@ -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):

Loading…
Cancel
Save