Skip to contentSkip to conversation

linstor-proxmox v8.4.0

DISCUSSION Roland Kammerer 1 participant 1 message Dec 2

lore
Share & tools
lore
#0 lore raw

Dear PVE users,

this is version 8.4.0 of the plugin. No changes since RC1.

The main feature of this release is integration into the PVE web UI. Starting with storage API version 17, PVE generates the add/edit dialog for third-party storage plugins from metadata the plugin provides. The plugin now does that, so LINSTOR storages can finally be created and edited in the GUI. For this to work, please make sure you use the latest PVE 9 packages. Rarely used options are in the advanced section of the dialog, and preferlocal and exactsize are not shown at all, but can still be set via storage.cfg or pvesm.

As part of that, preferlocal, exactsize and allowtwoprimaries became enums that only accept "yes" and "no" in lower case. So far values like "Yes" or "false" worked, they are now rejected. Please check your storage.cfg before you upgrade.

The second feature is the new authtoken option ("API Token" in the UI), which allows setting a LINSTOR API token per storage. It has preference over the token in /var/lib/linstor.d/auth.json. It is a sensitive property, so it is not written to storage.cfg, but to /etc/pve/priv/storage/<storage>.linstor.json. Keep in mind that token based authentication is a global setting in LINSTOR: once it is enabled, every request needs a token. For the plugin this means that you have to add a valid authtoken to *all* your LINSTOR storage sections, not just to some of them (unless you rely on auth.json).

We also fixed a "Use of uninitialized value $owner" warning when listing images (e.g., "pvesm list") if the resource group contains a pm-* resource without the Aux/pm/vmid property. Such resources are now skipped silently.

This release bumps the supported API version (APIVER) to 17.

Regards, rck

GIT: https://github.com/LINBIT/linstor-proxmox/commit/b2a35892031ad6c2e48511bc3ba59783beec76c0

TGZ: https://pkg.linbit.com/downloads/connectors/linstor-proxmox-8.4.0-rc.1.tar.gz

Changelog:
[ Roland Kammerer ]
* add web UI integration, APIVER: 17
* list_images: skip pm-* resources without vmid property
* add authtoken option
* CHANGELOG.md: add released versions
* authtoken: use "API Token" as title