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!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Fixes a bug where the guacamole RDP/SSH connection buttons would not be rendered in cloud views for hypervisors where VMRC was enabled
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
(cherry picked from commit 7b52b1af953c9c1a377006d388da4ac2beab3c0d)
This properly loads kvmrc values on attach nic, in particular DEFAULT_ATTACH_NIC_MODEL
(cherry picked from commit cd5527e7d6e89d721938331a56d1679a1c85af4d)
The Template::remove could crash if user assign Single value to attribute, which is expected to be a Vector, e.g. SCHED_ACTION, PCI, ...
Other minor changes:
* refactor the 'set' method - no need to call private _set
* Simplify some callers of the Template::remove method
* GO api, including backup struct and VM states
* Java api
* remove snapshots on restore_success callback
* fix xmlrpc response in case VM doesn't exists
The issue is caused by a wrong handling of hash keys in oneflow logic
that assumes vnet IDs are stored in the first position.
co-authored-by: Victor Palma <vpalma@opennebula.io>
co-authored-by: shurkys <shurkys@gmail.com>
in TM cloning script
- Added function get_ds_attribute to tm_common.sh to get a given attribute from a Datastore
- Using falloc preallocation mode on the qemu-img commands since it is faster than using full preallocation
- Note the cloning script when using the TM_MAD = ssh does not use qemu-img command. Instead it uses the tar command, hence it ignores the QCOW2_OPTIONS parameter
- Deleted get_ds_attribute function since it is no longer needed
- SPARSE is inherited from Datastore on oned.conf
- Changed resize statement so it uses same syntax as the clone statement
Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
- 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)
* Applies to all apps [Sunstone, OneProvision]
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
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.