Commit Graph
2135 Commits
Author SHA1 Message Date
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
Tino Vázquez 33ee5cd4ff L #-: Rubocop 1.78.0
(cherry picked from commit 9ac25ba555)
2025-07-08 10:51:49 +02:00
NealandTino Vázquez fd5c72aa65 B #-: fix netapp config typo (#3713)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-07-03 16:52:42 +02:00
Tino Vázquez 93aaa76c1f M #-: Bump version 7.1.80 2025-07-03 12:39:15 +02:00
Tino Vázquez a2d59b8f0c M #-: Bump version 7.0.0 2025-06-24 13:40:39 +02:00
Neal 27d93ebb69 F OpenNebula/one#6753: Modify NetApp to be shared (#3669)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2025-06-05 11:48:40 +02:00
Tino Vázquez ef8051155f L #-: Rubocop 1.76.0 2025-06-05 11:26:57 +02:00
Pavel Czerný 215d93ea56 F #7067: Add MODTIME to Images (#3655) 2025-06-04 17:59:08 +02:00
Ruben S. Montero cee0b7a75d M #-: Add VLAN_TAGGED_ID to restricted attribute set
Regular users may abuse the VLAN trunking feature to access any VLAN
network.
2025-05-27 19:31:58 +02:00
Tino Vázquez 7a6bceab44 L #-: Exclude ovirt api server scripts folder 2025-05-27 11:45:02 +02:00
Josep Selga 5c6bf3160f F OpenNebula/one#6737: Added serial attribute for disks in VM 2025-05-27 11:03:51 +02:00
Tino Vázquez 8d7f7db27d L #-: Update rubocop conf file 2025-05-26 18:40:01 +02:00
Pavel Czerny 0c9fcc010b F #6606: Add CONTEXT_ALLOW_ETH_UPDATES to oned.conf 2025-05-22 12:42:34 +02:00
Pavel Czerny 1bc799be58 F #6606: CONTEXT->ETH* updates configurable 2025-05-22 12:42:34 +02:00
Tino Vázquez 0642d83e7d M #-: Bump version 6.99.90 2025-05-22 11:30:52 +02:00
Jan Orel 502028a892 M #-: Refresh Gemfile.locks before 6.99 beta2 (#3648) 2025-05-19 15:55:53 +02:00
Neal ed3d6a3a91 F OpenNebula/one#6753: remove dd from sudoers (#3621)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2025-05-07 09:49:38 +02:00
Jan Orel 4c92499a70 M #-: Simplify ruby path setup (#3613)
- we deliver /usr/lib/ruby/load_opennebula_paths.rb
- sym-linked from known (system-wide) Ruby path
  - Debian/Ubuntu: /usr/local/lib/site_ruby/load_opennebula_paths.rb
  - RHEL/Alma:     /usr/local/share/ruby/site_ruby/load_opennebula_paths.rb
- suppress warnings from Rubygems no longer needed
2025-05-05 13:24:22 +02:00
Ruben S. Montero 98f946cb5f M #-: Remove reference to vcenter in oned.conf 2025-05-05 13:09:49 +02:00
NealandTino Vázquez 1811ae58df F OpenNebula/one#6753: update sudoers (#3611)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-04-30 17:50:01 +02:00
Pavel Czerný 48f76cdd9c F #6753: Remove useless DISK_TYPE from DS_MAD_CONF (#3609) 2025-04-30 13:47:38 +02:00
NealandTino Vázquez 6be111196b F OpenNebula/one#6753: NetApp configuration changes (#3608)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-04-29 17:57:02 +02:00
Jan OrelandTino Vázquez 1bdc73740c M #-: Add qemu-nbd for ovirtapi (#3604)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-04-29 16:29:23 +02:00
Pavel Czerný 490b847ec8 F #6937: New orphan mode LINEAR (#3597) 2025-04-28 10:53:20 +02:00
Aleix Ramírez Baena 43c7700537 B #-: Fixes onegate client vm update method (#3598)
Signed-off-by: Aleix Ramírez <aramirez@opennebula.io>
2025-04-24 19:36:29 +02:00