Hello guys,
i spent the whole day searching (maybe the wrong thing) without any success.
I have two PVE nodes, fresh installed with the 8.1 ISO, but one of them is having issues performing apt update. basically it looks like unable to reach
This is the config of
first, when it was
and his apt update output
here's the
with his apt update output
they are in the absolutely same network, same switch, same vlan, same wan... it's driving me crazy to figure it out why one is able to reach italian debian mirror and the other one not
it doesn't make any sense to me, same network, same iso, same image but totally different result
i tried some stuff to troubleshoot it
sorry for the long post but it's the whole day i'm facing this
i hope it's something stupid i missed, but i need help
thanks in advance!
i spent the whole day searching (maybe the wrong thing) without any success.
I have two PVE nodes, fresh installed with the 8.1 ISO, but one of them is having issues performing apt update. basically it looks like unable to reach
download.proxmox.com
and ftp.it.debian.org
. on the other node everything looks fineThis is the config of
/etc/apt/sources.list
of the non-working node (pve)
Code:
deb http://ftp.de.debian.org/debian bookworm main contrib
deb http://ftp.de.debian.org/debian bookworm-updates main contrib
# security updates
deb http://security.debian.org bookworm-security main contrib
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
ftp.it.debian.org
it was unable to reach it too, i had to change it to ftp.de.debian.org
to let it reach at least debian repos, but for the proxmox one there is no mirror so i can't change the addressand his apt update output
Code:
root@pve:~# apt update
Get:1 http://security.debian.org bookworm-security InRelease [48.0 kB]
Get:2 http://security.debian.org bookworm-security/main amd64 Packages [137 kB]
Get:3 http://ftp.de.debian.org/debian bookworm InRelease [151 kB]
Get:4 http://ftp.de.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:5 http://ftp.de.debian.org/debian bookworm/main amd64 Packages [8,787 kB]
Get:6 http://ftp.de.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:7 http://ftp.de.debian.org/debian bookworm/contrib amd64 Packages [54.1 kB]
Get:8 http://ftp.de.debian.org/debian bookworm/contrib Translation-en [48.7 kB]
Get:9 http://ftp.de.debian.org/debian bookworm-updates/main amd64 Packages [12.7 kB]
Get:10 http://ftp.de.debian.org/debian bookworm-updates/main Translation-en [13.8 kB]
Ign:11 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:12 http://download.proxmox.com/debian/ceph-reef bookworm InRelease
Ign:11 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:12 http://download.proxmox.com/debian/ceph-reef bookworm InRelease
Ign:11 http://download.proxmox.com/debian/pve bookworm InRelease
Ign:12 http://download.proxmox.com/debian/ceph-reef bookworm InRelease
Err:11 http://download.proxmox.com/debian/pve bookworm InRelease
Connection failed [IP: 212.224.123.70 80]
Err:12 http://download.proxmox.com/debian/ceph-reef bookworm InRelease
Connection failed [IP: 212.224.123.70 80]
Fetched 203 kB in 8min 1s (422 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bookworm/InRelease Connection failed [IP: 212.224.123.70 80]
W: Failed to fetch http://download.proxmox.com/debian/ceph-reef/dists/bookworm/InRelease Connection failed [IP: 212.224.123.70 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
here's the
/etc/apt/sources.list
of the working node (pve2)
Code:
deb http://ftp.it.debian.org/debian bookworm main contrib
deb http://ftp.it.debian.org/debian bookworm-updates main contrib
# security updates
deb http://security.debian.org bookworm-security main contrib
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
Bash:
root@pve2:~# apt update
Get:1 http://security.debian.org bookworm-security InRelease [48.0 kB]
Hit:2 http://download.proxmox.com/debian/pve bookworm InRelease
Hit:3 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Get:4 http://security.debian.org bookworm-security/main amd64 Packages [137 kB]
Hit:5 http://ftp.it.debian.org/debian bookworm InRelease
Get:6 http://ftp.it.debian.org/debian bookworm-updates InRelease [52.1 kB]
Fetched 237 kB in 1s (249 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
they are in the absolutely same network, same switch, same vlan, same wan... it's driving me crazy to figure it out why one is able to reach italian debian mirror and the other one not
/etc/network/interfaces
of pve (non-working)
Code:
root@pve:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface xxxxxxxxxxxxxxx inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports xxxxxxxxxxxxxxx eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
iface yyyyyyyyyyyyyyyy inet manual
iface eno1 inet manual
auto vmbr0.1
iface vmbr0.1 inet static
address 10.8.92.141/24
gateway 10.8.92.1
#source /etc/network/interfaces.d/*
/etc/network/interfaces
of pve2 (working)
Code:
root@pve2:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface enp2s0 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.1
iface vmbr0.1 inet static
address 10.8.92.142/24
gateway 10.8.92.1
#source /etc/network/interfaces.d/*
it doesn't make any sense to me, same network, same iso, same image but totally different result
i tried some stuff to troubleshoot it
Code:
root@pve:~# curl -vvv download.proxmox.com
* Trying 212.224.123.70:80...
* Connected to download.proxmox.com (212.224.123.70) port 80 (#0)
> GET / HTTP/1.1
> Host: download.proxmox.com
> User-Agent: curl/7.88.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx
< Date: Fri, 09 Feb 2024 00:12:30 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
<
<html>
<head><title>Index of /</title></head>
<body>
<h1>Index of /</h1><hr><pre><a href="../">../</a>
<a href="debian/">debian/</a> 08-Sep-2023 11:47 -
<a href="images/">images/</a> 08-Feb-2024 11:49 -
<a href="iso/">iso/</a> 07-Feb-2024 16:05 -
<a href="temp/">temp/</a> 01-Feb-2024 08:53 -
</pre><hr></body>
</html>
* Connection #0 to host download.proxmox.com left intact
root@pve:~# wget http://download.proxmox.com/debian/pve/dists/bookworm/InRelease
--2024-02-09 01:18:31-- http://download.proxmox.com/debian/pve/dists/bookworm/InRelease
Resolving download.proxmox.com (download.proxmox.com)... 212.224.123.70, 2a01:7e0:0:424::249
Connecting to download.proxmox.com (download.proxmox.com)|212.224.123.70|:80... connected.
HTTP request sent, awaiting response...
Code:
root@pve2:~# curl -vvv download.proxmox.com
* Trying 51.91.38.34:80...
* Connected to download.proxmox.com (51.91.38.34) port 80 (#0)
> GET / HTTP/1.1
> Host: download.proxmox.com
> User-Agent: curl/7.88.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx
< Date: Fri, 09 Feb 2024 00:12:51 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
<
<html>
<head><title>Index of /</title></head>
<body>
<h1>Index of /</h1><hr><pre><a href="../">../</a>
<a href="debian/">debian/</a> 08-Sep-2023 11:47 -
<a href="images/">images/</a> 08-Feb-2024 11:49 -
<a href="iso/">iso/</a> 07-Feb-2024 16:05 -
<a href="temp/">temp/</a> 01-Feb-2024 08:53 -
</pre><hr></body>
</html>
* Connection #0 to host download.proxmox.com left intact
root@pve2:~# wget http://download.proxmox.com/debian/pve/dists/bookworm/InRelease
--2024-02-09 01:18:26-- http://download.proxmox.com/debian/pve/dists/bookworm/InRelease
Resolving download.proxmox.com (download.proxmox.com)... 212.224.123.70, 2a01:7e0:0:424::249
Connecting to download.proxmox.com (download.proxmox.com)|212.224.123.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2768 (2.7K) [application/octet-stream]
Saving to: ‘InRelease’
InRelease 100%[=====================================================================================================================================>] 2.70K --.-KB/s in 0s
2024-02-09 01:18:26 (197 MB/s) - ‘InRelease’ saved [2768/2768]
sorry for the long post but it's the whole day i'm facing this
i hope it's something stupid i missed, but i need help
thanks in advance!
Last edited: