-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when starting dockers in GNS3 in Opensuse TW #2419
Comments
Hi again, I have just done more tests. Dockers works in 2.2.47 versión, but it fails in laters. I don't know if is related, but Dockers dont get a ip en dhcp |
Do you have any If yes, what is the result of the following commands?
Thanks 👍 |
Thanks, I also need the output of the following commands please:
|
Ok, I think I understand the problem now. Please can you edit Let me know if this solves the issue. Thanks. |
Hello, However, Docker does not obtain an IP automatically. I don't know if it's related or not, or if it's a bug in the templates. Just in case: The config is in DHCP: This is a sample network config, please uncomment lines to configure the networkUncomment this line to load custom interface filessource /etc/network/interfaces.d/*Static config for eth0#auto eth0 address 192.168.0.2netmask 255.255.255.0gateway 192.168.0.1up echo nameserver 192.168.0.1 > /etc/resolv.confDHCP config for eth0auto eth0 hostname UbuntuDockerGuest-1**` Thanks!!!!! |
Hum strange. What if you execute the init.sh script from the container? Also, can you share your busybox executable |
Hi again, I manually replace this file with busybox-static from Ububuntu 24.04LTS. Now Its working again.... I can do any test you need. Thanks again!!! |
Yes, somehow some things don't work well with the BusyBox static shipped with Tumbleweed ;) |
I found the reason. The busybox v1.36.1 shipped in Opensuse TW does not have the
While busybox v1.30.1 shipped in Ubuntu has it.
In our init.sh script, we use this The script then cannot find commands like |
Fixed |
Hello,
A few months ago the dockers in GNS3 worked perfectly on my PC.
Now, they refuse to start.
I don't know if it was an update, a new dependency, my fault,... The truth is that I updated from Opensuse 15.5 to Tumbleweed.
I get "--install: applet not found
sh: invalid number '0.5'" in every docker I try.
I also add the complete gns3server log in case you can help, thank you.
I can do all the tests you need.
Thank you.
`2024-09-29 07:57:05 ERROR docker_vm.py:500 Container OpenvSwitch-1 failed to start
2024-09-29 07:57:05 INFO base_node.py:715 Stopping uBridge hypervisor localhost:36139
2024-09-29 07:57:05 INFO hypervisor.py:208 Stopping uBridge process PID=99812
2024-09-29 07:57:06 ERROR docker_vm.py:506 --install: applet not found
2024-09-29 07:57:06 ERROR docker_vm.py:506 sh: invalid number '0.5'
2024-09-29 07:57:06 ERROR docker_vm.py:506
2024-09-29 07:57:06 ERROR route.py:221 Node error detected: DockerError
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/gns3server/compute/base_node.py", line 677, in _ubridge_send
await self._ubridge_hypervisor.send(command)
File "/usr/lib/python3.11/site-packages/gns3server/utils/asyncio/init.py", line 164, in wrapper
return await f(oself, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gns3server/ubridge/ubridge_hypervisor.py", line 259, in send
raise UbridgeError(data[-1][4:])
gns3server.ubridge.ubridge_error.UbridgeError: could not complete netlink transaction
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/gns3server/compute/docker/docker_vm.py", line 921, in _add_ubridge_connection
await self._ubridge_send('docker move_to_ns {ifc} {ns} eth{adapter}'.format(ifc=adapter.host_ifc,
File "/usr/lib/python3.11/site-packages/gns3server/compute/base_node.py", line 679, in _ubridge_send
raise UbridgeError("Error while sending command '{}': {}: {}".format(command, e, self._ubridge_hypervisor.read_stdout()))
gns3server.ubridge.ubridge_error.UbridgeError: Error while sending command 'docker move_to_ns tap-gns3-e1 99792 eth0': could not complete netlink transaction: uBridge version 0.9.18 running with libpcap version 1.10.5 (with TPACKET_V3)
Hypervisor TCP control server started (IP localhost port 36139).
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/gns3server/compute/docker/docker_vm.py", line 498, in start
await self._add_ubridge_connection(nio, adapter_number)
File "/usr/lib/python3.11/site-packages/gns3server/compute/docker/docker_vm.py", line 925, in _add_ubridge_connection
raise UbridgeNamespaceError(e)
gns3server.ubridge.ubridge_error.UbridgeNamespaceError: Error while sending command 'docker move_to_ns tap-gns3-e1 99792 eth0': could not complete netlink transaction: uBridge version 0.9.18 running with libpcap version 1.10.5 (with TPACKET_V3)
Hypervisor TCP control server started (IP localhost port 36139).
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/gns3server/web/route.py", line 200, in control_schema
await func(request, response)
File "/usr/lib/python3.11/site-packages/gns3server/handlers/api/compute/docker_handler.py", line 89, in start
await container.start()
File "/usr/lib/python3.11/site-packages/gns3server/compute/docker/docker_vm.py", line 507, in start
raise DockerError(logdata)
gns3server.compute.docker.docker_error.DockerError: --install: applet not found
sh: invalid number '0.5'
`
The text was updated successfully, but these errors were encountered: