From 3e725244d01c56af2c6097f84df0e4ffe1da0479 Mon Sep 17 00:00:00 2001 From: Kevin Adams Date: Tue, 23 Jun 2026 14:00:46 -0400 Subject: [PATCH] fix: bump api() to 15 to match PVE 9 APIVER, silencing storage API warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PVE 9.2.3 sets APIVER=15 in PVE::Storage. Our plugin was returning 14, triggering "implementing an older storage API" on every pvedaemon/pveproxy restart. No functional change — plugin loaded and worked correctly at 14. Closes #282 Co-Authored-By: Claude Sonnet 4.6 --- packaging/DEBIAN-multipath/changelog.Debian | 6 ++++++ packaging/DEBIAN-transitional/changelog.Debian | 6 ++++++ packaging/changelog.Debian | 7 +++++++ perl5/PVE/Storage/Custom/TrueNAS.pm | 4 ++-- 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/packaging/DEBIAN-multipath/changelog.Debian b/packaging/DEBIAN-multipath/changelog.Debian index d20d8ca..7b202ec 100644 --- a/packaging/DEBIAN-multipath/changelog.Debian +++ b/packaging/DEBIAN-multipath/changelog.Debian @@ -1,3 +1,9 @@ +truenas-proxmox-multipath (3.2.2-1) bookworm; urgency=low + + * Version bump to match truenas-proxmox 3.2.2; api() fix inherited from TrueNAS.pm + + -- KSA Technologies, LLC Mon, 23 Jun 2026 00:00:00 +0000 + truenas-proxmox-multipath (3.2.1-1) bookworm; urgency=low * Version bump to match truenas-proxmox 3.2.1; no functional changes diff --git a/packaging/DEBIAN-transitional/changelog.Debian b/packaging/DEBIAN-transitional/changelog.Debian index 0b10872..ad3459d 100644 --- a/packaging/DEBIAN-transitional/changelog.Debian +++ b/packaging/DEBIAN-transitional/changelog.Debian @@ -1,3 +1,9 @@ +freenas-proxmox (3.2.2-1) bookworm; urgency=low + + * Version bump to match truenas-proxmox 3.2.2; no functional changes + + -- KSA Technologies, LLC Mon, 23 Jun 2026 00:00:00 +0000 + freenas-proxmox (3.2.1-1) bookworm; urgency=low * Version bump to match truenas-proxmox 3.2.1; no functional changes diff --git a/packaging/changelog.Debian b/packaging/changelog.Debian index 0144abc..29710f9 100644 --- a/packaging/changelog.Debian +++ b/packaging/changelog.Debian @@ -1,3 +1,10 @@ +truenas-proxmox (3.2.2-1) bookworm; urgency=low + + * Bump api() return value from 14 to 15 to match PVE 9 APIVER — silences + "implementing an older storage API" warning on every daemon restart + + -- KSA Technologies, LLC Mon, 23 Jun 2026 00:00:00 +0000 + truenas-proxmox (3.2.1-1) bookworm; urgency=low * Fix apt codename alias 'error' — dists/error was never created because diff --git a/perl5/PVE/Storage/Custom/TrueNAS.pm b/perl5/PVE/Storage/Custom/TrueNAS.pm index f5113d0..3b33151 100644 --- a/perl5/PVE/Storage/Custom/TrueNAS.pm +++ b/perl5/PVE/Storage/Custom/TrueNAS.pm @@ -29,14 +29,14 @@ use PVE::Storage::Plugin; use base qw(PVE::Storage::Plugin); -our $VERSION = '3.2.1'; +our $VERSION = '3.2.2'; # Per-host runtime state cache my $state = {}; # ── Plugin identity ─────────────────────────────────────────────────────────── -sub api { return 14; } +sub api { return 15; } sub type { return 'truenas'; } sub plugindata {