Warn to use 64-bit IOU images. Fixes #2716

32-bit IOU image support has been removed from the GNS3 VM.
This commit is contained in:
grossmj 2026-05-08 16:37:06 +08:00
parent cd03abb7ed
commit 72f64ee60b
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -578,7 +578,7 @@ class IOUVM(BaseNode):
callback = functools.partial(self._termination_callback, "IOU") callback = functools.partial(self._termination_callback, "IOU")
gns3server.utils.asyncio.monitor_process(self._iou_process, callback) gns3server.utils.asyncio.monitor_process(self._iou_process, callback)
except FileNotFoundError as e: except FileNotFoundError as e:
raise IOUError("Could not start IOU: {}: 32-bit binary support is probably not installed".format(e)) raise IOUError("Could not start IOU: {}: 32-bit binary support is probably not installed, it is recommended to use a 64-bit image instead".format(e))
except (OSError, subprocess.SubprocessError) as e: except (OSError, subprocess.SubprocessError) as e:
iou_stdout = self.read_iou_stdout() iou_stdout = self.read_iou_stdout()
log.error("Could not start IOU {}: {}\n{}".format(self._path, e, iou_stdout)) log.error("Could not start IOU {}: {}\n{}".format(self._path, e, iou_stdout))