GNS3 / gns3-server

GNS3 server
GNU General Public License v3.0
812 stars 263 forks source link

AttributeError: 'QemuVM' object has no attribute '_internal_console_port' #805

Closed julien-duponchelle closed 7 years ago

julien-duponchelle commented 7 years ago

https://sentry.io/gns3/gns3-server/issues/188526453/

AttributeError: 'QemuVM' object has no attribute '_internal_console_port'
  File "gns3server/web/route.py", line 197, in control_schema
    yield from func(request, response)
  File "gns3server/handlers/api/compute/qemu_handler.py", line 167, in start
    yield from vm.start()
  File "gns3server/compute/qemu/qemu_vm.py", line 872, in start
    command = yield from self._build_command()
  File "gns3server/compute/qemu/qemu_vm.py", line 1510, in _build_command
    command.extend(self._serial_options())
  File "gns3server/compute/qemu/qemu_vm.py", line 1261, in _serial_options
    return ["-serial", "telnet:127.0.0.1:{},server,nowait".format(self._internal_console_port)]

AttributeError: 'QemuVM' object has no attribute '_internal_console_port'
julien-duponchelle commented 7 years ago

I think the problem occur if your change the console type from VNC to telnet