mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-30 08:03:54 +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
21ec2a6271
commit
7c981f9322
@ -442,15 +442,15 @@ class VMwareVM(BaseNode):
|
|||||||
if nio:
|
if nio:
|
||||||
yield from self._add_ubridge_connection(nio, adapter_number)
|
yield from self._add_ubridge_connection(nio, adapter_number)
|
||||||
|
|
||||||
if self._enable_remote_console and self._console is not None:
|
# if self._enable_remote_console and self._console is not None:
|
||||||
try:
|
# try:
|
||||||
if sys.platform.startswith("win"):
|
# if sys.platform.startswith("win"):
|
||||||
yield from wait_for_named_pipe_creation(self._get_pipe_name())
|
# yield from wait_for_named_pipe_creation(self._get_pipe_name())
|
||||||
else:
|
# else:
|
||||||
yield from wait_for_file_creation(self._get_pipe_name()) # wait for VMware to create the pipe file.
|
# yield from wait_for_file_creation(self._get_pipe_name()) # wait for VMware to create the pipe file.
|
||||||
except asyncio.TimeoutError:
|
# except asyncio.TimeoutError:
|
||||||
raise VMwareError('Pipe file "{}" for remote console has not been created by VMware'.format(self._get_pipe_name()))
|
# raise VMwareError('Pipe file "{}" for remote console has not been created by VMware'.format(self._get_pipe_name()))
|
||||||
self._start_remote_console()
|
# self._start_remote_console()
|
||||||
except VMwareError:
|
except VMwareError:
|
||||||
yield from self.stop()
|
yield from self.stop()
|
||||||
raise
|
raise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user