Closed anipad closed 9 months ago
rm -rf /var/lib/rrdcached/db/pve2-node
systemctl restart pvedaemon pvestatd pveproxy pve-cluster
Hi,
i've got the following while starting VM.
TASK ERROR: EFI base image '/usr/share/pve-edk2-firmware//AAVMF_CODE.fd' not found
actually installed is pve-edk2-firmware/unbekannt,now 4.2023.08-2 all
tried this on RPi 4 hardware with 6.5 backports kernel 6.5.0-0.deb12.1-arm64 #1 SMP Debian 6.5.3-1~bpo12+1
There was a missing package for Raspberry Pi 4 System.
Fix: apt install pve-edk2-firmware-aarch64
regards Bea
The Summary Status is not loading while the code for the Kernel Name Reading is changed and not working on RPI. I have patched the "/usr/share/pve-manager/js/pvemanagerlib.js" file and now its working fine.
@@ -43266,7 +43247,13 @@
return data.kversion;
}
let kernel = data['current-kernel'];
- let buildDate = kernel.version.match(/\((.+)\)\s*$/)[1] ?? 'unknown';
+ let buildDate;
+ try {
+ buildDate = kernel.version.match(/\((.+)\)\s*$/)[1] ?? 'unknown';
+ } catch {
+ // Patch for RPI Kernel Naming
+ buildDate = kernel.version ?? 'unknown';
+ }
return `${kernel.sysname} ${kernel.release} (${buildDate})`;
},
value: '',
The Summary Status is not loading while the code for the Kernel Name Reading is changed and not working on RPI. I have patched the "/usr/share/pve-manager/js/pvemanagerlib.js" file and now its working fine.
@@ -43266,7 +43247,13 @@ return data.kversion; } let kernel = data['current-kernel']; - let buildDate = kernel.version.match(/\((.+)\)\s*$/)[1] ?? 'unknown'; + let buildDate; + try { + buildDate = kernel.version.match(/\((.+)\)\s*$/)[1] ?? 'unknown'; + } catch { + // Patch for RPI Kernel Naming + buildDate = kernel.version ?? 'unknown'; + } return `${kernel.sysname} ${kernel.release} (${buildDate})`; }, value: '',
I understand now what the problem is, because I don't have a pi and don't know what's going on.
Yes original Proxmox Kernel Naming is:
uname -a
Linux proxmox 6.5.11-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-6 (2023-11-29T08:32Z) x86_64 GNU/Linux
Build Date in ().
RPI Kernel:
uname -a
Linux proxmox4 6.1.64-v8-16k+ #1702 SMP PREEMPT Wed Nov 29 14:26:42 GMT 2023 aarch64 GNU/Linux
So the Code greps the () for the Buildate ... this is not working on RPI.
Have you tried with backport 6.5 kernel for RPI ?
No i have not. But i have a mixed Cluster of Proxmox Machines X64 and arm64. With my Patch it will work with any Kernel Naming.
The Summary Status is not loading while the code for the Kernel Name Reading is changed and not working on RPI. I have patched the "/usr/share/pve-manager/js/pvemanagerlib.js" file and now its working fine.
@@ -43266,7 +43247,13 @@ return data.kversion; } let kernel = data['current-kernel']; - let buildDate = kernel.version.match(/\((.+)\)\s*$/)[1] ?? 'unknown'; + let buildDate; + try { + buildDate = kernel.version.match(/\((.+)\)\s*$/)[1] ?? 'unknown'; + } catch { + // Patch for RPI Kernel Naming + buildDate = kernel.version ?? 'unknown'; + } return `${kernel.sysname} ${kernel.release} (${buildDate})`; }, value: '',
Fix works fine. Thank you again.
A new package pve-manager_8.1.3+pve1_arm64.deb has been upload .
When rsync done, we can do apt upgrade pve-manager
First, thank you for porting pve 8.1.3 to ARM.
After upgrading one has to install
pve-edk2-firmware-aarch64
or VMs won't start. See https://forum.proxmox.com/threads/proxmox-ve-8-1-released.136960/post-609269 And https://pve.proxmox.com/wiki/Roadmap#8.1-known-issuesAfter that most things run smoothly, except all the summary status information won't load to completion of all my nodes, see: It was working in 8.0.8-1.
pvesh get nodes/pve2/rrddata --timeframe hour
returnsRRD error: rrdcached@unix:/var/run/rrdcached.sock: rrd_fetch_r failed: opening '/var/lib/rrdcached/db/pve2-node/pve2': No such file or directory
Any help is very much appreciated.