BRIDGE_TYPE can be now a comma separated list "openvswitch,
openvswitch_dpdk". When created a VNET any value from the list for that
driver can be set.
NOTE: This commit includes oned.conf changes
(cherry picked from commit aa33731c288ca928c9d13c18e1ca5a67ff692262)
add oned.conf
The following TM's now support storage live migrations:
- File system based (local and shared variants)
- LVM based (pure LVM, and LVM thin)
The LVM TM's does not support migrating a VM with disk snapshots.
co-authored-by: Guillermo Ramos <gramos@opennebula.io>
co-authored-by: josepselga <jselga@opennebula.io>
Author: Guillermo Ramos <gramos@opennebula.io>
- support for SUSE in install_gems, update locks
- don't install prometheus systemd services in install.sh
we handle that in packages
- various minor issues: bashisms, sudoers paths
- Lint
- Add bash completion for oneform commands
- Driver state is now stored in /var/lib/one/oneform
- Improve rendering of descriptions in CLI (HTML/MD support)
- Move cloud providers to oneform registry
- Disable dummy driver by default
- Qeury paths for driver/provider list
co-authored-by: vickmp <vpalma@opennebula.io>
This commit replaces {{user_inputs.<input>}} strings in OpenNebula
template: sections. This way common parameters for datastores and
networks can be defined by the user.
Change "force" message in API error message
Fix onecluster show
OnPrem clusters:
- Improve naming and descriptions
- Add method to precreate datastore folder dirs
- Adjust site.yaml
This commit introduces a new API server based on the gRPC/Protobuf. The
API follow the design of the existing xml-rpc to ease the transition to
the new server and support the current state management engine.
Both API servers can be run in parallel.
Main changes:
- Decouple Generic and XMLRPC specific logic and add gRPC classes.
- Source code re-structure to include logic for each server
- New compilation options to generate gRPC stubs
- Client code for C++, Ruby, Python and Go
co-authored-by: Jan Orel <jorel@opennebula.io>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: MarioRobres <mrobres@opennebula.io>
- pf-440 VMs uses IDE
- virt and q35 uses SATA/iSCSI
- arm64/vmm_exec_kvm.conf defaults ARCH set to aarch64
IMPORTANT: DEV_PREFIX in CD-ROM Images is now ignored and cleared for
new images. Users can still force a CD-ROM bus/prefix by setting it in the
DISK/CONTEXT attribute.
This commit adds support for memory encryption. It includes:
* A new VM template attribute to set memory encryption
* A host probe to gather the memory extensions available (SEV,
SEV-ES...)
* When selected AUTOMATIC_REQUIREMENTS include memory encryption as a
requirement
* Domain XML generation has been updated to include memory encryption
attributes
* A kvm.conf attribute MEMORY_TUNE_OFFSET to add an additional memory
offset for encryption.
Author: MarioRobres <mrobres@opennebula.io>
Author: Daniel Clavijo Coca <dclavijo@opennebula.io>
This commit adds support for remote execution of commands in a VM through qemu Guest Agent (GA). The feature includes:
* New API calls so create, cancel and retry command execution
* Command results are included in VM information
* Command line tool exposing this functionality
* Monitor probe to reap execution of commands
* Supports for regular (veth) and PCI NIC devices
* Live context updates (for configuring the NIC devices)
* Supports Linux bridges, OVS and OVS DPDK
* Initial support for disk hotplugging (disabled)
Author: Daniel Clavijo Coca <dclavijo@opennebula.io>
* xs:any element in sequence is non-deterministic, basically all other elements in the sequence are ignored because of the xs:any
Signed-off-by: Pavel Czerny <pczerny@opennebula.io>
Add library updates to improve LVM-based drivers code.
This introduces the support needed for using a Volume Group (VG)
as the backing store for an image datastore. Current version of the driver only
supports filesystem-based approach (fs_lvm_ssh).
Author: Guillermo Ramos <gramos@opennebula.io>
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
- xmlrpc-c is no longer needed to be built from sources, the version is sufficient in all distros
- XML_PARSE_HUGE patch is also unnecessary
- pick `pkg-config` vs `xmlrpc-c-config` library dependency detection based on new `xmlrpc_pkgconf` scons parameter, with following options:
- `el10` for pkg-config on RHEL/AlmaLinux 10
- `el9` for pkg-config on RHEL/AlmaLinux 8/9
- `no` for xmlrpc-c-config on Debian/Ubuntu and others (default)
This commit add support for vTPM devices:
* TPM devices can be enabled by adding TPM = [ MODEL = "..." attribute to the VM. Only model is supported
* vTPM data is saved (and restored) as part of the backup information for the VM. The TPM data is saved as a tarball with the special name disk.tpm.0. This way backup drivers manage this as another disk. When restoring from a backup, the saved TPM state is stored into the new VM template using the attribute "TPM_STATE" (base64 encoded).
* A new sudo action has been added to the kvm driver to prepare the tpm folder
Note: Packages setup TPM permissions to oneadmin in libvirtd configuration files.
This commit adds support for PCI device quotas. It includes the following new attributes:
- PCI_NIC (and RUNNING_PCI_NIC), to account for PCI devices of TYPE = NIC
- PCI_DEV (and RUNNING_PCI_DEV), to account for generic PCI devices
This commits also includes:
- Simpler naming of the onegroup/oneuser quota names (RUNNING is now just label as RUN and SYSTEM_DISK_SIZE is now DISK SIZE)
- Consolidation of some duplicated logic in oned
- Golang bindings has been extended to include the new quota
- fsck update for the new quotas
- migrator for 7.2.0 release
Add LAST_BRIDGE To the backup operation. OpenNebula oned selects and stores the bridge in the BACKUP metadata. The drivers can use the selected bridge to perform the different backup phases (on the same bridge)