From 7c981f9322b0879cf39b9d284b275742c6d646b2 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 2 Nov 2016 18:59:09 +0100 Subject: [PATCH] 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 --- gns3server/compute/vmware/vmware_vm.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gns3server/compute/vmware/vmware_vm.py b/gns3server/compute/vmware/vmware_vm.py index f43bbe1d..49b45469 100644 --- a/gns3server/compute/vmware/vmware_vm.py +++ b/gns3server/compute/vmware/vmware_vm.py @@ -442,15 +442,15 @@ class VMwareVM(BaseNode): if nio: yield from self._add_ubridge_connection(nio, adapter_number) - if self._enable_remote_console and self._console is not None: - try: - if sys.platform.startswith("win"): - yield from wait_for_named_pipe_creation(self._get_pipe_name()) - else: - yield from wait_for_file_creation(self._get_pipe_name()) # wait for VMware to create the pipe file. - except asyncio.TimeoutError: - raise VMwareError('Pipe file "{}" for remote console has not been created by VMware'.format(self._get_pipe_name())) - self._start_remote_console() + # if self._enable_remote_console and self._console is not None: + # try: + # if sys.platform.startswith("win"): + # yield from wait_for_named_pipe_creation(self._get_pipe_name()) + # else: + # yield from wait_for_file_creation(self._get_pipe_name()) # wait for VMware to create the pipe file. + # except asyncio.TimeoutError: + # raise VMwareError('Pipe file "{}" for remote console has not been created by VMware'.format(self._get_pipe_name())) + # self._start_remote_console() except VMwareError: yield from self.stop() raise