Commit Graph
2159 Commits
Author SHA1 Message Date
Ruben S. Montero 36ac49b8d6 M #-: Support multiple BRIDGE_TYPES in VN_MAD
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
2026-02-18 16:09:14 +01:00
MarioRobres 9c360a6ea6 M #-: add DS_MIGRATE_SNAP to XSD schema (#4069) 2026-02-18 11:21:55 +01:00
Ruben S. Montero 9609192e0f F #913: oned.conf changes (separate to cherry-pick to one-7.0) 2026-02-17 09:45:33 +01:00
bffbecedc0 F #913: Storage live migration
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>
2026-02-17 09:45:33 +01:00
Jan Orel f42bd9cd0a F #7450: support SUSE build (#4057)
- 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
2026-02-12 09:24:59 +01:00
MarioRobres 21f550e9f8 M #-: fix AR Shared xsd schema (#4056) 2026-02-11 13:13:48 +01:00
Pavel Czerný 52d6ec7e07 B #7254: Fix quotas for CLI oneuser and onegroup list (#4035) (#4040)
* Fix `onegroup list` for cluster quota
* Fix `onegroup list` and `oneuser list` for duplicit VM_QUOTA
* Linting
2026-02-03 10:23:00 +01:00
Ruben S. Monteroandvickmp baae300fb8 F #7460: Updates to oneform server
- 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>
2026-02-02 19:50:01 +01:00
Miguel E. Ruizanddcarracedo eb890be80c F OpenNebula/one#7466: Changes for OneForm Sunstone integration (#4039)
Co-authored-by: dcarracedo <dcarracedo@opennebula.io>
2026-02-02 18:08:29 +01:00
rpetrescu-oneandTino Vázquez 21052930f3 F OpenNebula/one#7430: Add oneswap to man/build.sh (#4022)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2026-01-27 17:10:40 +01:00
Miguel E. Ruiz 52ccc2d67e F OpenNebula/one-form#62: Sunstone integration with OpenNebula Form (#4026) 2026-01-27 10:22:55 +01:00
Ruben S. Montero 6be7ed9362 M #- [OneForm]: Add support for user inputs in templates
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
2026-01-23 21:19:21 +01:00
Ruben S. Montero 04aa734e62 F #7361: Update on-prem NFS cluster to use generic DS form 2026-01-22 17:50:37 +01:00
Ruben S. Montero 448044ffbc F #7361: Update on-prem clusters
- Removed vxlan template
- Updated description and user inputs for ssh cluster
- Added NFS cluster
- Added simple task to create datastore folder in NFS Clusters
- Removed uneended tasks
2026-01-22 13:37:32 +01:00
Jan Orel 2e57d28c6c M #-: Bump bundler, refresh locks (#4003) 2026-01-14 14:03:19 +01:00
8f57c337e1 F OpenNebula/one#6778: Introduces a gRPC API server for OpenNebula Demon
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>
2026-01-12 14:58:55 +01:00
Guillermo Ramos 90a7acd4b5 F OpenNebula/one#7226: fix sysds monitoring (#3999)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2026-01-12 11:50:27 +01:00
Neal 61905fc3d6 M #-: purefa and scsi changes (#3995) 2026-01-08 18:10:09 +01:00
Victor Palma 56725a659a B #-: Wait until oneform net is ready (#3983)
* Improve AWS ipam resource naming
2025-12-18 13:30:07 +01:00
Ruben S. Montero 7c6445c13c F #7323: Update CD-ROM dev prefix based on VM chipset
- 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.
2025-12-18 13:13:41 +01:00
Ruben S. Montero bebf710f8a F #7331: Add support for memory encryption
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>
2025-12-17 09:46:23 +01:00
Tino Vázquez af892bbd9a M #-: Adjust cop namespace 2025-12-15 19:21:51 +01:00
MarioRobresandPavel Czerny a156d7a354 F OpenNebula/one#7299: fix HookAPI and add QEMU_GA_EXEC to VM xml (#3974)
Co-authored-by: Pavel Czerny <pczerny@opennebula.io>
2025-12-11 09:02:08 +01:00
Victor Palma 8b2747ccf4 M #-: Minor OneForm adjustments (#3973) 2025-12-10 14:19:45 +01:00
MarioRobres 826f630f00 F OpenNebula/one#7299: Add new API calls to execute commands on a Virtual Machine (#3954)
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
2025-12-10 09:41:07 +01:00
Victor Palma abbc5940b7 F OpenNebula/one-infra#1096: Add bridge network to oneform onprem driver (#3964) 2025-12-09 12:15:08 +01:00
Ruben S. Montero 6893ef40c8 F OpenNebula/one#7052: Add support for hotplug NIC devices
* 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>
2025-12-02 16:38:13 +01:00
Pavel Czerný b004d76154 B #7278: Fix xml-schemas for newer xmllint (#3909)
* 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>
2025-11-24 09:36:31 +01:00
Ruben S. Montero 0c286f962b F #7226: Update TM lib files to support LVM
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>
2025-11-20 18:02:02 +01:00
Jan Orel 434e079e7b M #-: Add gem deps for ruby 3.4 (#3911) 2025-11-20 09:59:07 +01:00
Jan Orel 3835634a9d M #-: OneForm: unify one_version variable (#3945)
Although this variable is redundant, since the positional parameter
takes precedence anyway.
2025-11-20 09:58:07 +01:00
Tino Vázquez 9b99da24d5 M #-: Fix syntax error 2025-11-17 18:33:10 +01:00
Ruben S. Montero 27554da00c M #-: Add missing arguments to sudoers 2025-11-15 09:42:55 +01:00
Ruben S. Montero ea69b4070d F #7282: Add dmidecode to sudoers
This is used by the onefabric script to map GPU PCI addresses to
NVSwitch partitions
2025-11-14 18:13:37 +01:00
Ruben S. Montero b340d48a58 F OpenNebula/one#7361: Support oneform and local driver paths 2025-11-13 17:35:15 +01:00
bfccb59244 F OpenNebula/one#7361: Introduce OneForm (#3930)
Co-authored-by: Victor Palma <vpalma@opennebula.io>
Co-authored-by: Miguel E. Ruiz <mruiz@opennebula.io>
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2025-11-13 17:06:42 +01:00
Jan Orel 7ae9e6269a M #-: Add Debian13 Gemfile.lock (#3864) 2025-10-07 19:27:09 +02:00
Ruben S. Montero 3b7ac7f70e Revert "B OpenNebula/one#7231: Add host_authorization config on OneGate server (#3806)"
This reverts commit 7b3b082738.
2025-09-26 15:15:56 +02:00
Jan Orel 796e023af3 M #-: Add AlmaLinux10 Gemfile.lock and adjust xmlrpc deps (#3819) 2025-09-24 17:45:28 +02:00
Miguel E. Ruiz 7b3b082738 B OpenNebula/one#7231: Add host_authorization config on OneGate server (#3806)
- Also fix `content-type` for OneGate CLI

Signed-off-by: Miguel E. Ruiz <mruiz@opennebula.io>
2025-09-18 08:56:45 +02:00
Jan Orel 2a7f32b748 M #-: Switch to ruby-augeas (#3789) 2025-09-17 13:29:22 +02:00
Jan Orel a2e3349b3f B #-: Lock thin to ~> 1.8.2 due to incompatibility issues with rack (#3798) 2025-09-17 09:17:56 +02:00
Jan Orel 93b10271c1 M #-: Drop xmlrpc-c build (#3802)
- 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)
2025-09-17 09:12:54 +02:00
Guillemo Ramos 685a21ef9d F # 5892: vTPM support (#3668)
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.
2025-09-16 14:00:43 +02:00
Pavel Czerný f68c826ac8 F #951: Quota for PCI devices (#3756)
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
2025-09-10 09:54:44 +02:00
Jorge Miguel Lobo Escalona c22c843a56 F OpenNebula/one#6496 : SAML support (#3781)
Including CLI, API and GUI

Signed-off-by: Daniel <dgarcia@opennebula.io>
2025-09-09 16:09:02 +02:00
Jan Orel c3c5758869 M #-: Limit nokogiri based on RubyGems version + refresh (#3783) 2025-09-08 16:47:32 +02:00
Tino Vázquez 099f00ab94 L #-: Rubocop 1.79.0 2025-07-24 13:57:53 +02:00
Josep SelgaandRuben S. Montero 78638dab05 F OpenNebula/one#6912: Thin LVM - incremental backups (#3734)
Signed-off-by: josepselga <jselga@opennebula.io>
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2025-07-24 13:55:13 +02:00
MarioRobres 18e251659d F OpenNebula/one#7097: Retrieve BRIDGE from Core for Backups (#3701)
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)
2025-07-14 12:54:21 +02:00