This worked for me as well, thank you. PVE 7.4-3Yes, that's a possible reason.
I currently can't reproduce the issue, but you could try fixing it yourself by finding the following line in/usr/share/perl5/PVE/APIServer/AnyEvent.pm
and insert the linePerl:$reqstate->{hdl}->on_read(sub {
$reqstate->{hdl}->timeout(60);
so it looks like that :
This sets the server side timeout to 60 seconds, which should be plenty.Perl:$reqstate->{hdl}->timeout(60); $reqstate->{hdl}->on_read(sub {
Executesystemctl restart pveproxy.service
.
Now upload the file.
If you do, please report back whether that fixes the issue.
To undo the changes, runapt install --reinstall libpve-http-server-perl
https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
2023-06-28T19:39:22.150Z [ERROR] vertex "proxmox_virtual_environment_file.ubuntu_cloud_image" error: error uploading file to datastore local: received an HTTP 502 response - Reason: Bad Gateway
2023/06/28 15:39:21 [error] 590#590: *13424 SSL_write() failed (32: Broken pipe) while sending request to upstream, client: 10.0.0.1, server: pve.*, request: "POST /api2/json/nodes/pve-ws/storage/local/upload HTTP/1.1", upstream: "https://10.0.1.11:8006/api2/json/nodes/pve-ws/storage/local/upload", host: "pve.redacted.com"
Jun 28 15:39:21 pve-ws pveproxy[23833]: problem with client ::ffff:10.0.1.200; No space left on device
$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 745M 2.4M 743M 1% /run
/dev/sda1 31G 21G 11G 68% /
tmpfs 2.7G 0 2.7G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda15 105M 6.1M 99M 6% /boot/efi
$ df --inodes -h
Filesystem Inodes IUsed IFree IUse% Mounted on
tmpfs 931K 1.2K 930K 1% /run
/dev/sda1 4.0M 530K 3.5M 14% /
tmpfs 687K 1 687K 1% /dev/shm
tmpfs 687K 3 687K 1% /run/lock
/dev/sda15 0 0 0 - /boot/efi
/usr/share/perl5/PVE/APIServer/AnyEvent.pm
, but did not see any change in behavior.Hello, I have solved the problem with 'no space left on device' by setting correct permissions:Hi, we have the same issue as root. No ISO upload possible. Our PVE version is 8.2.4.
> chgrp www-data /var/tmp
> chmod g+w /tmp/var