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!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
There are two monitor scripts for Ceph datastores:
- src/tm_mad/ceph/monitor (ds SYSTEM)
- src/datastore_mad/remotes/ceph/monitor (ds IMAGE)
The two have the same logic but the first one had diverted from the
second one slightly, making it unable to handle quotas. This commit
symlinks them to avoid this happening again in the future, and fixes the
relative paths to ensure they work both from the DS and TM drivers
paths.
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
This commit implements the in-place restore of VM backups. Selected VM disks will
be replaced with the specified backup:
* A new API call has been added to the XML-RPC API (`one.vm.restore`) with
the following arguments:
- VM ID to be restored, needs to be in **poweroff** state
- IMAGE ID of the backup to restore
- INCREMENT ID, only for incremental backups, the increment to use
(defults to -1 to use the last increment available)
- DISK ID of the disk to restore (defaults to -1 to restore all VM
disks)
* Datastore drivers needs to implemente a new operation `ls`. This new
operation takes the VM, image information of the backup and datastore
information and returns the restore URL for the disks in the backup.
* This commit includes the implementation for qcow2 and ssh drivers,
ceph will be implemented in a separated PR. The new driver action is
`restore host:vm_dir vm_id img_id inc_id disk_id`
* The restore operation is performed in a new state `PROLOG_RESTORE`
rendered as `RESTORE` and `rest` in short form. State in in RSuntone.
TODO:
- Remove any existing VM snapshot (system/disk) in the VM. Note that
snapshots are not included in a backup.
- Ceph drivers
- JAVA, GO Lang API bindings
- Sunstone interface, new state and new operation. Review new state in
RSuntone.
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
* This includes
- login logo
- sidebar logo
- loading screen logo
- favicon
* The custom logo can be set in the `sunstone-views.yaml` file under the `logo:` option.
* Accepted formats are (jpg|jpeg|png|svg)
* Applies to all apps [Sunstone, OneProvision]
* Adds the sharp image processing package
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Disable update of CONTEXT->ETH* values, which leads to an inconsistent
context.sh file inside VM.
Fix re-generating of ETH values for updateconf in replace mode, when the
value NETWORK=YES wasn't change.
This commits improve non-shared storage live migration:
- The migration proccess now uses suspend to allow for additonal sync,
including snapshot defined in qcow2 disks.
- The script is now in Ruby to implement a more elaborated logic
- Sync is done through rsync
(cherry picked from commit bb9af9d029)
Change default behaviour to avoid running sysctlvm.drop_caches=3 vm.compactmemory=1
This is especially annoying when multiple VMs are rescheduled (onehost flush). Instead of global toggle for memory cleanup per VM we need per host action.
* Do not allow creating a Scheduled Action for VM in done state
* Fix removing of Scheduled Action, while terminating VM
* Fix failure output for new object types
(cherry picked from commit 0b3d6136e9)
* For majority of the API calls, the fallback ID has been set to 0, this
can cause major issues with failed request as it's potentially
redirecting API calls to unintended resources.
Signed-off-by: Victor Hansson <vhansson@opennebula.io>