mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
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:
parent
7c981f9322
commit
3df3aa84ff
@ -649,13 +649,13 @@ class VMwareVM(BaseNode):
|
|||||||
:param enable_remote_console: boolean
|
:param enable_remote_console: boolean
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if enable_remote_console:
|
# if enable_remote_console:
|
||||||
log.info("VMware VM '{name}' [{id}] has enabled the console".format(name=self.name, id=self.id))
|
# log.info("VMware VM '{name}' [{id}] has enabled the console".format(name=self.name, id=self.id))
|
||||||
if self._started:
|
# if self._started:
|
||||||
self._start_remote_console()
|
# self._start_remote_console()
|
||||||
else:
|
# else:
|
||||||
log.info("VMware VM '{name}' [{id}] has disabled the console".format(name=self.name, id=self.id))
|
# log.info("VMware VM '{name}' [{id}] has disabled the console".format(name=self.name, id=self.id))
|
||||||
self._stop_remote_console()
|
# self._stop_remote_console()
|
||||||
self._enable_remote_console = enable_remote_console
|
self._enable_remote_console = enable_remote_console
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
@ -386,7 +386,10 @@ class Node:
|
|||||||
"""
|
"""
|
||||||
Start a node
|
Start a node
|
||||||
"""
|
"""
|
||||||
|
try:
|
||||||
yield from self.post("/start")
|
yield from self.post("/start")
|
||||||
|
except asyncio.TimeoutError:
|
||||||
|
raise aiohttp.web.HTTPRequestTimeout(text="Timeout when starting {}".format(self._name))
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def stop(self):
|
def stop(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user