Forum archive
[Proxmox] TKL Containers Lost Networking
Good morning from NZ!
I have recently come across TKL with my quest to migrate from unRAID to Proxmox, and the work you guys do is fantastic!
However, I have recently come across a small problem. Since initially spinning up the file-server contianer and shutting down the server for the week, it has now lost its networking. I can not ping the host or the gateway, but I can ping other TKL containers.
I have spun up a debian template to test, and this works fine with static IP (on the same subnet and VLAN) and DHCP. I can ping the host, the gateway, but not the TKL containers. Therefore, this seems to be a specific problem with TKL.
Does anyone have any advice for things to check? See below for additional information.
Here is an error when the container first boots:
Apr 10 22:32:47 file-server inithooks[97]: code, output = self._perform(args, **kwargs) Apr 10 22:32:47 file-server inithooks[97]: File "/usr/lib/python3/dist-packages/dialog.py", line 1504, in _perform Apr 10 22:32:47 file-server inithooks[97]: args_file) Apr 10 22:32:47 file-server inithooks[97]: File "/usr/lib/python3/dist-packages/dialog.py", line 1469, in _handle_program_exit Apr 10 22:32:47 file-server inithooks[97]: child_output_rfd) Apr 10 22:32:47 file-server inithooks[97]: File "/usr/lib/python3/dist-packages/dialog.py", line 1421, in _wait_for_program_termination Apr 10 22:32:47 file-server inithooks[97]: child_output.strip())) Apr 10 22:32:47 file-server inithooks[97]: dialog.DialogError: dialog-like terminated due to an error: the dialog-like program exited with status 3 (which was passed to it as the DIALOG_ERROR environment variable). Sometimes, the reason is simply that dialog was given a height or width parameter that is too big for the terminal in use. Its output, with leading and trailing whitespace stripped, was: Apr 10 22:32:47 file-server inithooks: Confconsole completed, now exiting INFO: Confconsole completed, now exiting
Here is the MOTD with traceback error:
file-server login: root Password: Last login: Sat Apr 10 22:33:03 UTC 2021 on tty1 Traceback (most recent call last): File "/usr/bin/turnkey-sysinfo", line 106, in <module> main() File "/usr/bin/turnkey-sysinfo", line 92, in main print(tpl.format(row[0], row[1], col=max_col)) IndexError: list index out of range Welcome to File-server, TurnKey GNU/Linux 16.0 (Debian 10/Buster) System information for Sat Apr 10 22:58:38 2021 (UTC+0000) System load: 0.14 Memory usage: 10.7% Processes: 31 Swap usage: 0.0% Usage of /: 0.0% of 3.51TB IP address for eth0: 10.10.10.100 TKLBAM (Backup and Migration): NOT INITIALIZED To initialize TKLBAM, run the "tklbam-init" command to link this system to your TurnKey Hub account. For details see the man page or go to: /tklbam For Advanced commandline config run: confconsole For more info see: /docs/confconsole Linux file-server 5.4.106-1-pve #1 SMP PVE 5.4.106-1 (Fri, 19 Mar 2021 11:08:47 +0100) x86_64 root@file-server ~#
Here is the output of "ip a":
root@file-server ~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0@if13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 0e:a9:b3:ab:12:01 brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet 10.10.10.100/24 brd 10.10.10.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::ca9:b3ff:feab:1201/64 scope link valid_lft forever preferred_lft forever
Here is the /etc/pve/lxc/100.conf:
arch: amd64 cores: 1 hostname: file-server memory: 512 net0: name=eth0,bridge=vmbr1,gw=10.10.10.1,hwaddr=0E:A9:B3:AB:12:01,ip=10.10.10.100/24,tag=10,type=veth onboot: 1 ostype: debian rootfs: data1:subvol-100-disk-0,size=3630G swap: 512 unprivileged: 1
Yes, I have not been resizing windows :)
Yeah I came across that bug report, but the interface is here and present.
I am using pfsense as my gateway and this network setup for over a year with unRAID as well.
See below, the only difference I noticed between ours was the netmask, but this is configured through proxmox and you are still on v5:
root@file-server ~# ifconfig eth0 eth0: flags=4163 mtu 1500 inet 10.10.10.100 netmask 255.255.255.0 broadcast 10.10.10.255 inet6 fe80::ca9:b3ff:feab:1201 prefixlen 64 scopeid 0x20 ether 0e:a9:b3:ab:12:01 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 69 bytes 8547 (8.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0The TKL file-server was just an example :) I have this with all TKL containers I spin up. I have also tried core and nginx.
ifconfig eth0 output:
root@file-server ~# ifconfig eth0 eth0: flags=4163 mtu 1500 inet 10.10.10.100 netmask 255.255.255.0 broadcast 10.10.10.255 inet6 fe80::ca9:b3ff:feab:1201 prefixlen 64 scopeid 0x20 ether 0e:a9:b3:ab:12:01 txqueuelen 1000 (Ethernet) RX packets 1 bytes 70 (70.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 88 bytes 12869 (12.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0Other then the version differences, the only other differences is the VLAN. I might try without a VLAN and just DHCP.
Thanks for your replies so far :)