IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
- New TransferManager::Datastore class with confine helpers
- "Confinement" methods for backup file preparation and backup:
* ionice/nice
* systemd slice
- IONICE/NICE
* Execute commands under a given nice and ionice (class 2)
* The following variables can be set
- RESTIC_NICE
- RESTIC_IONICE
- RSYNC_NICE
- RSYNC_IONICE
- Systemd Slice
* A user slice is created for each datastore that set:
- CPUQuota
- IOReadIOPSMax
- IOWriteIOPSMax
This requires delegation of io/cpu/cpuset controllers to oneadmin
Also VM folder needs to be local (e.g. not an NFS volume).
* Commands are passed specific environment (e.g. SSH agent socket)
* The following variables can be set:
- RESTIC_MAX_RIOPS
- RESTIC_MAX_WIOPS
- RESTIC_CPU_QUOTA
- RSYNC_MAX_RIOPS
- RSYNC_MAX_WIOPS
- RSYNC_CPU_QUOTA
The new interface is added to file (qcow2/shared/ssh) and ceph TM
drivers.
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
(cherry picked from commit afc90f70fe54f0f2b63df147fe23662faa2c9732)
(cherry picked from commit 462e888259363b1fd4c590d77c5c7b561b340856)
The schema for vm and snapshots does not correctly deserialize
the raw xml because the snapshot field in VM struct is not an array.
This change fixes the snapshot field, and adds DiskID to DiskSnapshot
struct so that after unmarshalling the snapshots are grouped by disk
Signed-off-by: Rafael Lopez <rafael.lopez@softiron.com>
(cherry picked from commit 278b14930bf1409f4dc5c844bad47e359240f3ca)
(cherry picked from commit 647a4851b8fe16590c7d9badec399992fc9f5253)
* This commit syncs oned and API specification for the ALL flag. The internal defines were not consistent with the API specification.
(cherry picked from commit 82d2191dfda8d4ef031223929a6a76949ae050aa)
following the domain XML definition https://libvirt.org/formatdomain.html
```
_source_
Representation of the _disk source_ depends on the _disk type_ attribute value as follows:
_file_
The _file_ attribute specifies the fully-qualified path to the file holding the disk. Since 0.0.3
_block_
The _dev_ attribute specifies the fully-qualified path to the host device to serve as the disk. Since 0.0.3
```
Also, I took the liberty to remove the _Image::FILE_ case form the switch as it is the default one.
(cherry picked from commit 83404b5ec29e537665c7c80950bd26ed1c240812)