fix: bump api() to 15 to match PVE 9 APIVER, silencing storage API warning

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 <noreply@anthropic.com>
This commit is contained in:
Kevin Adams 2026-06-23 14:00:46 -04:00
parent 64b430f182
commit 3e725244d0
4 changed files with 21 additions and 2 deletions

View File

@ -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 <theprofessor@ksatechnologies.com> 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

View File

@ -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 <theprofessor@ksatechnologies.com> 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

View File

@ -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 <theprofessor@ksatechnologies.com> 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

View File

@ -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 {