You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GNS3 version 1.5.0dev1 on Darwin (64-bit) with Python 3.5.1 Qt 5.6.0, docker in GNS3 VM.
After moving a docker VM into a topology and then configuring the network of this VM, the aux console is no longer available. In the log I see INFO docker_vm.py:141 tools-1: updating aux from '5001' to 'None' after the network configuration.
Here the full debug log:
2016-04-04 10:44:03 INFO __init__.py:137 creating node <class 'gns3.modules.docker.docker_vm.DockerVM'>
2016-04-04 10:44:03 INFO docker_vm.py:48 Docker image instance is being created
2016-04-04 10:44:03 INFO __init__.py:147 configuring node Docker container with id 1
2016-04-04 10:44:03 INFO http_client.py:419 Connection to http://192.168.1.99:3080
2016-04-04 10:44:03 DEBUG http_client.py:574 GET http://192.168.1.99:3080/v1/version {}
2016-04-04 10:44:03 DEBUG http_client.py:708 Decoding response from http://192.168.1.99:3080/v1/version response 200
2016-04-04 10:44:03 DEBUG http_client.py:715 {
"local": false,
"version": "1.5.0dev1"
}
2016-04-04 10:44:03 DEBUG http_client.py:574 POST http://192.168.1.99:3080/v1/projects {'name': 'unsaved', 'temporary': True, 'project_id': None}
2016-04-04 10:44:03 DEBUG http_client.py:708 Decoding response from http://192.168.1.99:3080/v1/projects response 201
2016-04-04 10:44:03 DEBUG http_client.py:715 {
"location": "/opt/gns3/projects",
"name": "unsaved",
"path": "/opt/gns3/projects/62dc8448-68ae-48cb-9ce6-015a98b08247",
"project_id": "62dc8448-68ae-48cb-9ce6-015a98b08247",
"temporary": true
}
2016-04-04 10:44:03 DEBUG http_client.py:574 GET http://192.168.1.99:3080/v1/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/notifications {}
2016-04-04 10:44:03 DEBUG http_client.py:574 POST http://192.168.1.99:3080/v1/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/docker/vms {'image': 'toolbox:latest', 'name': 'tools-1', 'console_type': 'telnet', 'adapters': 1}
2016-04-04 10:44:04 DEBUG http_client.py:708 Decoding response from http://192.168.1.99:3080/v1/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/docker/vms response 201
2016-04-04 10:44:04 DEBUG http_client.py:715 {
"adapters": 1,
"aux": 5001,
"console": 5000,
"console_type": "telnet",
"container_id": "ff27276493d22811f06f7e44350162259d3ad900fcfad516a04afffa9ae01837",
"environment": null,
"image": "toolbox:latest",
"name": "tools-1",
"project_id": "62dc8448-68ae-48cb-9ce6-015a98b08247",
"start_command": null,
"vm_directory": "/opt/gns3/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/project-files/docker/2b53421c-7ea2-46bc-a6fb-4d3cc42e2278",
"vm_id": "2b53421c-7ea2-46bc-a6fb-4d3cc42e2278"
}
2016-04-04 10:44:04 INFO vm.py:184 tools-1 setting up and updating environment from '' to 'None'
2016-04-04 10:44:04 INFO vm.py:184 tools-1 setting up and updating aux from 'None' to '5001'
2016-04-04 10:44:04 INFO vm.py:184 tools-1 setting up and updating start_command from '' to 'None'
2016-04-04 10:44:04 INFO vm.py:184 tools-1 setting up and updating console from 'None' to '5000'
2016-04-04 10:44:04 DEBUG docker_vm.py:74 Adapter Ethernet0 has been added
2016-04-04 10:44:04 INFO docker_vm.py:120 Docker container tools-1 has been created
2016-04-04 10:44:04 DEBUG project.py:382 Event received: {'event': {'memory_usage_percent': 2.0, 'cpu_usage_percent': 0.1}, 'action': 'ping'}
2016-04-04 10:44:09 DEBUG project.py:382 Event received: {'event': {'memory_usage_percent': 2.0, 'cpu_usage_percent': 0.2}, 'action': 'ping'}
2016-04-04 10:44:11 DEBUG analytics.py:77 Stats is turn off ignore call Node Properties Dialog
2016-04-04 10:44:12 DEBUG analytics.py:77 Stats is turn off ignore call File Editor Dialog
2016-04-04 10:44:12 DEBUG http_client.py:574 GET http://192.168.1.99:3080/v1/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/files/project-files/docker/2b53421c-7ea2-46bc-a6fb-4d3cc42e2278/etc/network/interfaces {}
2016-04-04 10:44:12 DEBUG http_client.py:708 Decoding response from http://192.168.1.99:3080/v1/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/files/project-files/docker/2b53421c-7ea2-46bc-a6fb-4d3cc42e2278/etc/network/interfaces response 200
2016-04-04 10:44:12 DEBUG http_client.py:715 #
# This is a sample network config uncomment lines to configure the network
#
# Static config for eth0
#auto eth0
#iface eth0 inet static
# address 192.168.0.2
# netmask 255.255.255.0
# gateway 192.168.0.1
# up echo nameserver 192.168.0.1 > /etc/resolv.conf
# DHCP config for eth0
# auto eth0
# iface eth0 inet dhcp
2016-04-04 10:44:14 DEBUG project.py:382 Event received: {'event': {'memory_usage_percent': 2.0, 'cpu_usage_percent': 0.1}, 'action': 'ping'}
2016-04-04 10:44:19 DEBUG project.py:382 Event received: {'event': {'memory_usage_percent': 2.0, 'cpu_usage_percent': 0.0}, 'action': 'ping'}
2016-04-04 10:44:23 DEBUG http_client.py:574 POST http://192.168.1.99:3080/v1/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/files/project-files/docker/2b53421c-7ea2-46bc-a6fb-4d3cc42e2278/etc/network/interfaces #
# This is a sample network config uncomment lines to configure the network
#
# Static config for eth0
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
# up echo nameserver 192.168.0.1 > /etc/resolv.conf
# DHCP config for eth0
# auto eth0
# iface eth0 inet dhcp
2016-04-04 10:44:23 DEBUG http_client.py:708 Decoding response from http://192.168.1.99:3080/v1/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/files/project-files/docker/2b53421c-7ea2-46bc-a6fb-4d3cc42e2278/etc/network/interfaces response 200
2016-04-04 10:44:23 DEBUG http_client.py:715
2016-04-04 10:44:24 DEBUG project.py:382 Event received: {'event': {'memory_usage_percent': 2.0, 'cpu_usage_percent': 0.0}, 'action': 'ping'}
2016-04-04 10:44:24 DEBUG docker_vm.py:168 tools-1 is updating settings: {'environment': '', 'start_command': ''}
2016-04-04 10:44:24 DEBUG http_client.py:574 PUT http://192.168.1.99:3080/v1/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/docker/vms/2b53421c-7ea2-46bc-a6fb-4d3cc42e2278 {'environment': '', 'start_command': ''}
2016-04-04 10:44:25 DEBUG http_client.py:708 Decoding response from http://192.168.1.99:3080/v1/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/docker/vms/2b53421c-7ea2-46bc-a6fb-4d3cc42e2278 response 200
2016-04-04 10:44:25 DEBUG http_client.py:715 {
"adapters": 1,
"aux": null,
"console": 5000,
"console_type": "telnet",
"container_id": "5fed823af71ed2061e18a9d4ca5ddf605ffa614cfa87463cff22779d0a89d653",
"environment": "",
"image": "toolbox:latest",
"name": "tools-1",
"project_id": "62dc8448-68ae-48cb-9ce6-015a98b08247",
"start_command": null,
"vm_directory": "/opt/gns3/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/project-files/docker/2b53421c-7ea2-46bc-a6fb-4d3cc42e2278",
"vm_id": "2b53421c-7ea2-46bc-a6fb-4d3cc42e2278"
}
2016-04-04 10:44:25 INFO docker_vm.py:141 tools-1: updating environment from 'None' to ''
2016-04-04 10:44:25 INFO docker_vm.py:141 tools-1: updating aux from '5001' to 'None'
2016-04-04 10:44:25 INFO docker_vm.py:149 Docker VM tools-1 has been updated
2016-04-04 10:44:29 DEBUG project.py:382 Event received: {'event': {'memory_usage_percent': 2.0, 'cpu_usage_percent': 0.3}, 'action': 'ping'}
2016-04-04 10:44:30 DEBUG vm.py:133 tools-1 is starting
2016-04-04 10:44:30 DEBUG http_client.py:574 POST http://192.168.1.99:3080/v1/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/docker/vms/2b53421c-7ea2-46bc-a6fb-4d3cc42e2278/start {}
2016-04-04 10:44:30 DEBUG http_client.py:708 Decoding response from http://192.168.1.99:3080/v1/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/docker/vms/2b53421c-7ea2-46bc-a6fb-4d3cc42e2278/start response 204
2016-04-04 10:44:30 DEBUG http_client.py:715
2016-04-04 10:44:30 INFO vm.py:148 tools-1 has started
2016-04-04 10:44:30 DEBUG project.py:382 Event received: {'action': 'vm.started', 'event': {'environment': '', 'adapters': 1, 'project_id': '62dc8448-68ae-48cb-9ce6-015a98b08247', 'vm_id': '2b53421c-7ea2-46bc-a6fb-4d3cc42e2278', 'aux': None, 'image': 'toolbox:latest', 'name': 'tools-1', 'container_id': '5fed823af71ed2061e18a9d4ca5ddf605ffa614cfa87463cff22779d0a89d653', 'start_command': None, 'console_type': 'telnet', 'console': 5000, 'vm_directory': '/opt/gns3/projects/62dc8448-68ae-48cb-9ce6-015a98b08247/project-files/docker/2b53421c-7ea2-46bc-a6fb-4d3cc42e2278'}}
2016-04-04 10:44:35 DEBUG project.py:382 Event received: {'event': {'memory_usage_percent': 2.2, 'cpu_usage_percent': 1.0}, 'action': 'ping'}
2016-04-04 10:44:37 CRITICAL __init__.py:116 Cannot start console application: AUX console port not allocated for tools-1
Stack (most recent call last):
File "/usr/local/bin/gns3", line 9, in <module>
load_entry_point('gns3-gui==1.5.0.dev1', 'gui_scripts', 'gns3')()
File "/usr/local/lib/python3.5/site-packages/gns3_gui-1.5.0.dev1-py3.5.egg/gns3/main.py", line 269, in main
exit_code = app.exec_()
File "/usr/local/lib/python3.5/site-packages/gns3_gui-1.5.0.dev1-py3.5.egg/gns3/qt/__init__.py", line 228, in partial
return func(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/gns3_gui-1.5.0.dev1-py3.5.egg/gns3/graphics_view.py", line 1018, in consoleToNode
QtWidgets.QMessageBox.critical(self, "Console", "Cannot start console application: {}".format(e))
File "/usr/local/lib/python3.5/site-packages/gns3_gui-1.5.0.dev1-py3.5.egg/gns3/qt/__init__.py", line 116, in critical
log.critical(message, stack_info=LogQMessageBox.stack_info())
2016-04-04 10:44:40 DEBUG project.py:382 Event received: {'event': {'memory_usage_percent': 2.2, 'cpu_usage_percent': 0.0}, 'action': 'ping'}
2016-04-04 10:44:45 DEBUG project.py:382 Event received: {'event': {'memory_usage_percent': 2.2, 'cpu_usage_percent': 0.0}, 'action': 'ping'}
The text was updated successfully, but these errors were encountered:
GNS3 version 1.5.0dev1 on Darwin (64-bit) with Python 3.5.1 Qt 5.6.0, docker in GNS3 VM.
After moving a docker VM into a topology and then configuring the network of this VM, the aux console is no longer available. In the log I see
INFO docker_vm.py:141 tools-1: updating aux from '5001' to 'None'
after the network configuration.Here the full debug log:
The text was updated successfully, but these errors were encountered: