This commit introduces a multi-tier caching mechanism for local drivers, to reduce transfer times for non-persistent images.
Features:
---------
- Enabled via the ENABLE_CACHE flag; applies to non-persistent images
only.
- Multi-Tier Architecture: Supports local hypervisor-level caches and upstream shared cache servers (CACHE_CENTRAL_HOSTS).
- Configurable Parameters:
- CACHE_PATH: Custom path for cached images (default: /var/lib/one/cache).
- CACHE_MAX_SIZE: Limit total cache size.
- CACHE_MIN_AGE: Prevent eviction of recently cached images.
The system uses a simple Least Recently Used (LRU) policy for cache eviction.
co-authored-by: MarioRobres <mrobres@opennebula.io>
co-authored-by: Guillemo Ramos <gramos@opennebula.io>
This small change avoids errors in the numa_host.rb probe when executed on
systems without NUMA support, such as Raspberry Pi or other ARM64 SBCs.
The probe now exits cleanly if NUMA::NODE_PATH does not exist.
Co-authored-by: Pablo del Arco <pdelarco@opennebula.io>
* Merges user/group labels separately in useAuth hook
* Updates labels create form to not include "$" in display value of parent selector
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
* LABELING - Settings: Stuck Sidebar -> Pin Sidebar
* Users: Showback -> Show months instead numbers
* Service templates: Create form when selecting template, instead “Template ID” -> “Select a template”
* Vrouter templates: “Download Default Image” -> “Download Default Virtual Router Image”
* LABELING - VALIDATION: Hosts: Validation error about that Hypervisor is mandatory, instead “vmmMad is a required field” -> “Hypervisor type is a required field”
* GENERIC Modal: "Review why there is an error message when entering in modals that have mandatory fields.
* GENERIC App Attributes panel must admit only alpha numeric values and underscore in names
* USERS Details full mode Label button in full mode on user details should be in the right, like in other resources.
* HOST Table Confirmation modal when click on Offline, Flush and Disable buttons
* HOST Table Coordinate refresh of details with pool refresh. The problem is the same that with vm, if the user has full mode, the actions of the toolbar are not refreshed
* DATASTORE Details Select a datastore, go to images and change to List view. The images tables still displaying card view
* DATASTORE Create/Update Enable LVM thin by default
* SIDEBAR Sidebar Change in sidebar
* VROUTER TEMPLATES Dwnload default image Create form, when select an image, there is no change when you select the image
* VM TEMPLATES Create/Update Memory use default GB
* VM TEMPLATES Create/Update Check behavior with disk cost input. When you type 2 and try to delete the value, focus is lost. When a disk is attached
* VM TEMPLATES Create/Update Change Add button of the User Inputs form to the end
* VM TEMPLATES Create/Update Name of user inputs must be only alpha numeric values and underscore
* VIRTUAL MACHINES Instantiate When select a range for vpcu, the slider is using decimals, like 4.5, but should be only integers
* VIRTUAL MACHINES Table App button -> Should be fixed now after synchronize status of pool.
* VIRTUAL MACHINES Snapshots After create a snapshot, appears a confusing message saying that Taking Snapshots is not available
* GENERIC Table Remove "labels" filter from filter button in all tables
* F #-: Fix local/postbackup cleanup
* M #-: Typo
Correct the previous behavior, illustrated here as an example:
- Create the datastore with some options, e.g., NFS_AUTO_PATH=p1
- Deploy some VM, automatically mounting it on (say) h2 and adding "h1:p1 <local_path>..." to fstab
- Modify datastore attributes, setting e.g., NFS_AUTO_PATH=p2
- Deploy another VM does not replace previous entries on fstab, leaving both "h1:p1 <local_path>..."
and "h1:p2 <local_path>...".
After this fix, only "h1:p2 <local_path>..." will be persisted in fstab.
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>