linstor-proxmox v8.4.0-rc.1
Dear PVE users,
this is release candidate 1 of version 8.4.0 of the plugin. Please test it and report any issues before the final release, which will happen in about a week from now.
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/9f156c4d4d8053893c17f30d7d0e63c515bf112d
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