Two fixes for temporary RBD snapshots left over by failed backups:
- Remove a stale snapshot with the same name before 'rbd snap create'
- Add an EXIT trap to the generated backup script that removes the
snapshots created by the failed run.
read the lowercase "predictive" config key while the config stores
PREDICTIVE, so the predictive factor was always 0 and forecasts were
never blended in. Also guard against a None value coming from a cluster
ONE_DRS template without PREDICTIVE defined.
(cherry picked from commit 60dfce2026dec29904f01b5b88a7174c79dbbf53)
Introduce a Restic backend abstraction with SFTP and S3-specific classes, and
route repository operations through the selected backend.
Update backup, increment_flatten, ls, monitor, restore, rm, stat, and
restic_downloader to use the backend interface.
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
- if possible use vector<unique_ptr<Attribute>> as argument for Template::remove for automatic cleanup
- if possible use 'VectorAttributeinstead ofAttributeforTemplate::remove- theremovemethod has dynamic cast to correct type and deletes attributes, which can't be casted. So no need to add loop with casting after theremove` method
- At few places added checks for empty vector to avoid very rare crashes on malformed Templates
This commit includes 3 PRs from Anton Todorov <a.todorov@storpool.com> for the following fixes:
- Default IOTHREAD no applied when attaching a virtio disk
- Queues attribute in disk driver element is only supported for virtio bus
- SD_DISK_BUS not taken in account when attaching a disk
It also adds:
- Missing drivers support (sheepdog and gluster)
- Missing functionalities that were present in LibVirtDriverKVM
- Support multi-letter target adress for sd*
* Fix default iothread on virtio disk attach
Co-authored-by: Anton Todorov <a.todorov@storpool.com>
Merge the new Sunstone UI framework and migrate resources to ComponentsV2
This change introduces the ComponentsV2 design system and migrates the Sunstone UI to the new architecture, including resource layouts, forms, dialogs, navigation, notifications, search, filtering, labels, and reusable UI components.
Co-authored-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Ross <rcanny@opennebula.io>
Co-authored-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Alejandro Aizel <aaizel@opennebula.io>
Co-authored-by: Victor Palma <vpalma@opennebula.io>
Co-authored-by: Jorge Miguel Lobo Escalona <jlobo@opennebula.io>
Co-authored-by: Miguel E. Ruiz <meruiz77@gmail.com>
oned passes the source datastore BRIDGE_LIST from ImageAPI::clone through driver
extra XML for cross-datastore image clones. When a SRC Datastore
includes a bridge list the image is copied to the front-end and
converted there. Then is moved to its final destination.
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
Add interactive OneBEX backup support for LVM datastores.
The exporter exposes prepared LVM block devices through the OneBEX image API,
supports full and incremental thin-volume exports, and uses thin-delta metadata
to report changed extents for incremental backups.
Add DISK_IDS as part of the VM backup configuration so backups can target a
subset of eligible VM disks. The configuration parser now normalizes and
validates the list against the VM and resets the incremental chain when the
selected disk set changes.
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
(cherry picked from commit 59c2cac474de545eddd642e03e3caac8fb47c1cc)