[SOLVED] Checksum errors downloading LXC templates

SysAdman

New Member
May 17, 2021
8
2
3
44
Hi all,

I have a recent Proxmox 6.4-6 installation and when trying to download any container template it results in checksum errors like below:

May 17 16:09:03 pve pvedaemon[15978]: wrong checksum: 6d6bccf107938757b7b87322b4669f743a3b54c1e6df9c7a691d641c0b1b63ef049cc084a5602770cb8b1b64ea5317db7ab1d7f622b34646ed1be15ac4de1de6 != 20abf18e40be931a71ec77fac4bc55cc1d87a826e96f7ab9a4f5bc24016533c20992fb0646810dff510c806080a244231d7f3e7d0b94775ddecfb0618a15eedd May 17 16:09:03 pve pvedaemon[1008]: <root@pam> end task UPID:pve:00003E6A:0009441C:60A285D9:download::root@pam: wrong checksum: 6d6bccf107938757b7b87322b4669f743a3b54c1e6df9c7a691d641c0b1b63ef049cc084a5602770cb8b1b64ea5317db7ab1d7f622b34646ed1be15ac4de1de6 != 20abf18e40be931a71ec77fac4bc55cc1d87a826e96f7ab9a4f5bc24016533c20992fb0646810dff510c806080a244231d7f3e7d0b94775ddecfb0618a15eedd

Any ideas why I'm unable to download templates from the built in repos?

I've also tried the same with:
pveam download local <packagename>.tar.gz

Any help much appreciated.
 
hi,

* which template are you trying to download?

* does this happen with all templates or only that one?

* have you also run pveam update?

and it would help a lot if you could post the output of pveversion -v
 
Hi Oguz, thanks for your reply.

Output of pveversion -v

Bash:
root@pve:/var/lib/vz/template/iso# pveversion -v
proxmox-ve: 6.4-1 (running kernel: 5.4.114-1-pve)
pve-manager: 6.4-6 (running version: 6.4-6/be2fa32c)
pve-kernel-5.4: 6.4-2
pve-kernel-helper: 6.4-2
pve-kernel-5.4.114-1-pve: 5.4.114-1
pve-kernel-5.4.106-1-pve: 5.4.106-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.2-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 3.0.0-1+pve3
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.20-pve1
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.0.3-1
libpve-access-control: 6.4-1
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.4-3
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-2
libpve-storage-perl: 6.4-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.1.6-2
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.5-4
pve-cluster: 6.4-1
pve-container: 3.3-5
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.2-3
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-6
pve-xtermjs: 4.7.0-3
qemu-server: 6.4-2
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.4-pve1


Yes, I ran pveam update before every download attempt.

1621345421645.png

It's happening for any template in the list. See below trying to download the ubuntu LXC template. I got the faded debian10 package in that storage backend via another method so please ignore that.

1621345481464.png


The download proceeds but errors on checksum at the very end, as per the CLI method also:

1621345582466.png

1621345881333.png


Since initially logging this post, I actually think I have a bigger issue as I'm also struggling to SCP an ISO file from another LAN machine, and also when trying to wget/curl an ISO from proxmox to the internet, both crash after 5 seconds.

Happy to log these other issues separately if necessary but I think that's why the template downloads are failing as it feels like an SSL issue.


1621345060367.png

None of these wget/SCP issues happen with wget on a LIVE CD so I know the hardware/NIC and home network are good.
 
SOLVED!

I've resolved this myself.

I swapped the bridge port to a spare realtek based PCI NIC and everything works perfectly.

The issue was with the onboard NIC drivers being set to "forcedeth" when running proxmox, instead of the NForce Nvidia chipset drivers.

The live CD I tested the onboard NIC with obviously used different drivers, which worked better - although I didn't check which drivers it used.

You can see the successfully downloaded LXC template below. I also had no issues pulling ISOs with wget, nor using SCP from another LAN machine.


1621377319198.png

I'm going to try and use the NVIDIA nforce drivers instead on the onboard NIC, as per this guide:

I have NVIDIA legacy 340.x drivers installed so I can use the GPU to transcode in a debian LXC container running Jellyfin. I've not got IOMMU on this old motherboard.

If I can't get the nforce drivers to work I'll just throw another PCI NIC into the computer as I want 2 NICs for my networking requirements.
 
  • Like
Reactions: oguz
great, and thank you for sharing the solution! please mark the thread [SOLVED] so others know what to expect :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!