Changelog
All notable changes to the pve-storpool project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
0.2.4 - 2024-03-29
Fixes
- documentation:
- correct the project's GitHub repository URL
Additions
- plugin:
- when attaching VM-related StorPool volumes to a Proxmox VE hypervisor, force-detach the volumes from any other hypervisors or StorPool clients except during a live migration
- add the
PVE::HA::Resources::Custom::StorPoolPluginmodule to allow the Proxmox VE HA services to migrate VMs with StorPool-backed volumes - add a
Makefilefor easier installation
Other changes
- documentation:
- use
mkdocstrings0.24 with no changes - add configuration for the
publynctool for easier publishing
- use
- test suite:
- add Tox environment tags for use with the
tox-stagestool
- add Tox environment tags for use with the
0.2.3 - 2023-12-11
Fixes
- plugin:
- grow or shrink a volume as needed when reverting to a snapshot
0.2.2 - 2023-09-06
Fixes
- plugin:
- ignore already-deleted StorPool snapshots - ones with names starting with the asterisk character
- correct the Perl prototype of the
sp_request()internal function
Additions
- plugin:
- log the request method and URL, as well as part of the response, for
all requests sent to the StorPool API, to the new
/var/log/storpool/pve-storpool-query.logfile. For the present this is unconditional, it may be made configurable in the future.
- log the request method and URL, as well as part of the response, for
all requests sent to the StorPool API, to the new
Other changes
- plugin:
- correct two typographical errors in source code comments
- documentation:
- point to version 1.1.0 of the "Keep a Changelog" specification
- config validator:
- add SPDX copyright and license tags to all the Rust source files
- also keep the
Cargo.lockfile under version control
- test suite:
- also run the
reuseTox environment by default - use reuse 2.x with no changes
- ignore the
rust/target/build directory in the SPDX tags check
- also run the
0.2.1 - 2023-07-12
Fixes
- plugin:
- fix a race when resizing a locally-attached volume
Additions
- config validator:
- add an experimental Rust tool, not distributed yet, for validating the current configuration of StorPool volumes attached to Proxmox virtual machines
Other changes
- documentation:
- installation instructions:
- note that the
pvedaemon,pveproxy, andpvestatdservices need to be restarted after installing the StorPool plugin's Perl source file - provide installation instructions for the Debian package of the StorPool Proxmox plugin
- drop some sections that did not really serve a useful purpose
- note that the
- drop the to-do list, it is tracked elsewhere at StorPool
- installation instructions:
0.2.0 - 2023-06-01
Incompatible changes
- plugin:
- do not declare support for OpenVZ templates (the
vztmplcontent type) - use the StorPool
VolumeTemplatesStatus(template status) API query to determine the amount of used and free disk space for each storage - use the Proxmox cluster name (as returned by the
pvesh get /cluster/statuscommand) as the value for thepve-locStorPool volume and snapshot tag; no longer look at the/etc/pve/storpool/proxmox.cfgfile - use the configuration of the StorPool block client (as obtained by
the
storpool_confgetcommand) for access to the StorPool API; no longer look at the/etc/pve/storpool/api.cfgfile - remove (and do not automatically set) the
pathproperty of the storage; this changes the way Proxmox invokes the plugin's methods in several ways, among them the correct operation of backing a VM up and restoring it
- do not declare support for OpenVZ templates (the
Additions
- plugin:
- partially implement the
list_images()plugin method so that e.g. unreferenced disk images may be found when destroying a VM
- partially implement the
- documentation:
- add this changelog file
Fixes
- plugin:
- use the
namefield of the StorPool volumes instead of theirglobalIdfield, since the latter may change when the volume is reverted to a snapshot - when reverting a volume to a snapshot, always detach it from all the hosts it is currently attached to; Proxmox does not do that beforehand for a currently running VM
- validate ("untaint" in Perl-speak) the total size and stored size of a volume so that it may be used when migrating a volume to a different storage from the web UI
- do not try to parse the internal value "state" for the
pve-disktag when looking for an available number to use as a VM disk "ID"
- use the
Other changes
- documentation:
- installation instructions:
- remove the mention of the
vztmplcontent type
- remove the mention of the
- update the to-do list
- installation instructions:
0.1.0 - 2023-05-28
Started
- Initial pre-release