- 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 extends the KVM domain probe to monitor NVIDIA GPUs:
* GPU metrics: GPU_UTILIZATION, GPU_MEMORY_UTILIZATION, GPU_MEMORY_FREE,
GPU_POWER_USAGE, GPU_COUNT
* Implements method for NVIDIA GPUs. The code is prepared to add AMD
vendor in the future
* NVIDIA monitor uses nvidia-smi through qemu guest-agent those are
requirements for the VM to report metrics
* oned now adds PCI information (vendor, device and class) to all PCI
devices (i.e. even if using SHORT_ADDRESS).
* KVM metadata include PCI devices in the VM to skip VMs not using
supported GPU's
Signed-off-by: josepselga <jselga@opennebula.io>
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
This should be a safety net against thin pools becoming active in more than one host in some
scenarios such as HA/fencing or unclean host reboots.
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
This commit reverts the backup_incremental test. Now we check for not supported
configurations:
- qcow2 disks with snapshots
- raw disks in local/shared TM's
- lvm with lvm thin disabled
(cherry picked from commit 5c693d6741)
LVM drivers require that the frontend has filesystem access to base images. As it's a common point
of confusion during manual setup, check it specifically to ease troubleshooting.
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>