Commit Graph
21761 Commits
Author SHA1 Message Date
Victor Palma bfec95bb27 B OpenNebula/one#1176: Syncing drivers before onprem check creation (#4012) 2026-01-19 12:00:58 +01:00
Pavel Czerný 56e71e9da5 F #6778: Fix list method for onevnet, onemarketapp and oneimage (#4010) 2026-01-19 09:15:17 +01:00
Pavel Czerný 321007c48d F #6995: onedb fsck returns non-zero code in case of DB issues (#4005) 2026-01-16 14:56:21 +01:00
Victor Palma c0eff3c0cd F OpenNebula/one-infra#1176: Create onprem provider by default when server starts (#4007) 2026-01-16 14:55:34 +01:00
Guillermo Ramos 3584e66449 F OpenNebula/one#7226: fix mkfs for volatiles + missing SSH agent forward
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2026-01-16 12:19:50 +01:00
vichansson 3c3f14a238 M #-: Fix zone connection handler (#4008) 2026-01-15 16:01:22 +01:00
Pavel Czerný 975ae1217a F #6778: Fix ruby GRPC maps (VRouter, VMGroup) (#4006) 2026-01-15 12:43:43 +01:00
vichansson e07b4cf303 M #-: Reset cache state on token expiration (#4004) 2026-01-14 18:02:28 +01:00
Jan Orel 2e57d28c6c M #-: Bump bundler, refresh locks (#4003) 2026-01-14 14:03:19 +01:00
Guillermo Ramos d53926e09d F OpenNebula/one#7226: look for mkswap in sbin (#4001)
Some distributions like Debian don't add sbin directories in non-root users PATH. But apparently
mkswap does not require root privileges. 

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2026-01-13 17:35:54 +01:00
Victor Palma 368bc2b56b B #-: Add JSON lib to oneform ruby client (#4002) 2026-01-13 16:02:11 +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
Pavel Czerný a3485d2265 F #7428: Fix fsck for vrouter with floating IP (#3993)
* Fix fsck for vrouter with floating IP
* Fsck checks conflicting leases
* Fix fsck SYSTEM_DISK_SIZE

(cherry picked from commit 72ce11971e4522cde72b0559e74c47f1c171a62c)
2026-01-12 14:47:05 +01:00
Daniel Clavijo Coca 45a6cd6647 M #: Fix opennebula_vm dependency loading (#3991) 2026-01-12 11:53:03 +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
vichansson 6a438ee982 F OpenNebula/one#6774: Add 2FA enforcement (#3984) 2026-01-09 15:28:53 +01:00
Jorge Miguel Lobo Escalona 52922b09d2 F OpenNebula/One#7421: Sunstone is not able to connect to a vm via SSH (#3998) 2026-01-09 15:12:05 +01:00
Pavel Czerný 6828b3c962 F #7355: Do not allow space in group name (#3996) 2026-01-09 14:20:35 +01:00
Ruben S. Montero 46558d2beb F #7323: Fix SATA support in aarch64 for libvirt/qemu stack on RHEL
RHEL-family on ARM64 does not support SATA bus in the stock libvirt/qemu stack
2026-01-09 13:27:10 +01:00
Guillermo Ramos c6a7e0c77e F OpenNebula/one#7226: LVMng bugfixes (II) (#3997)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2026-01-09 13:08:33 +01:00
Neal 61905fc3d6 M #-: purefa and scsi changes (#3995) 2026-01-08 18:10:09 +01:00
Ruben S. Montero 8e68590cee F #7323: Use SATA or IDE bus for CDROM devices
On q35 machines, OpenNebula < 7.0 sets the hd bus to IDE or SATA.
As a side effect, CDROM devices using the hd prefix (e.g. context disks)
were not attached to the SCSI bus.

In some cases, virtio-scsi fails to initialize during boot due to
resource exhaustion, causing CDROM devices on that bus not being
detected.

Observed kernel errors:
  scsi host6: error handler thread failed to spawn, error = -11
  virtio_scsi: probe of virtio1 failed with error -12

(Probably EAGAIN / ENOMEM errors)
2025-12-24 19:48:21 +01:00
Ruben S. Montero e98b5ed593 L #-: Lint shadowing variable 2025-12-23 13:08:02 +01:00
Ko dd820f44a7 F OpenNebula/one#7331: remove SEV-SNP and TDX in sev types (#3992) 2025-12-23 10:53:44 +01:00
Ruben S. Montero 0e18f96f87 F #7323: Get OS/MACHINE from vmm_kvm_exec.conf when parsing VM
Setting the MACHINE default when parsing VM attributes make the default
available when assigning the CD-ROM prefix.

NOTE: This prvents to set MACHINE at host or cluster level.
2025-12-22 17:22:45 +01:00
Ko 02a44527b8 F OpenNebula/one#7348: add explanation message (#3989) 2025-12-19 14:32:52 +01:00
KoandTino Vázquez 441a35201e F OpenNebula/one#7331: Add Confidential Computing in Vm template (#3955)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-12-19 10:16:54 +01:00
KoandTino Vázquez 2dcef6d98c F OpenNebula/one#7348: add Routes field in Vnet (#3986)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-12-18 14:02:03 +01:00
Guillermo Ramos 0aa721c377 F #7226: Stabilize LVMpure (#3987)
* Fix VM pool growing during disk-attach
* Fix persistent image handling

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2025-12-18 14:01:31 +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
Jan Orel ccf64ca6e2 M #-: Add missing load_opennebula_paths section (#3985) 2025-12-18 08:45:44 +01:00
Tino Vázquez 0df0ddefa9 L #-: Fix memory encryption file linting 2025-12-17 19:44:16 +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
Jan Orel 2d1bcc28ca M #-: Refresh onecfg migrators (#3981) 2025-12-15 17:26:51 +01:00
DavidandTino Vázquez 7d4bb5be4a F OpenNebula/one#7397: Tab to display virtual machine logs (#3967)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-12-15 16:50:06 +01:00
DavidandTino Vázquez d15b90931b F OpenNebula/one#7363: Add tabs to user and groupadmin views (#3972)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-12-15 16:48:02 +01:00
Ruben S. Montero a3644152c7 M #-: Add missing folders 2025-12-15 16:33:48 +01:00
DavidandTino Vázquez 6cae8cb139 F OpenNebula/one#7235: Unify logic with core when creatinv vm as persistent (#3978)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-12-15 11:43:20 +01:00
Jan Orel a438e27541 M #-: Refresh onecfg migrators (#3979) 2025-12-15 08:52:29 +01:00
Ruben S. Montero 5d2d4b6588 B #7348: Add ROUTES as a context attribute ETHx_ROUTES
(cherry picked from commit c625914f87723a6c97be0a64d8594bd83c34e8f8)
2025-12-12 10:42:03 +01:00
Ruben S. Montero 3582f79c2c B #7408: Fix PCI device to virtual NUMA node mapping
When using q35 machines and NUMA pinning a specialized PCIe topology is
generated to resemble the one presented by the host. In this case PCI
devices can be mapped to the incorrect node, missmatching CPU+Mem and PCI pinning.

(cherry picked from commit 52ba320d0dd27f85131da7e681d98dbef748eaeb)
2025-12-11 18:31:02 +01:00
MarioRobres c36da69562 M #-: fix linting issue (#3976) 2025-12-11 11:57:45 +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
Daniel Clavijo Coca d4dc5c02e4 F OpenNebula/one#7049 fix inverted container command execution condition (#3975) 2025-12-11 08:35:49 +01:00
Victor Palma 8b2747ccf4 M #-: Minor OneForm adjustments (#3973) 2025-12-10 14:19:45 +01:00
Mirko Stojiljković 9252033332 B OpenNebula/one#7369: Limit Blas to use a single thread if not set otherwise (#3971)
Signed-off-by: Mirko Stojiljkovic <mstojiljkovic@opennebula.io>
2025-12-10 11:22:39 +01:00
Guillermo Ramos 6d6caf74fb F #-: Fix disk ID parsing for qcow2 snapshots (#3969)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2025-12-10 10:03:55 +01:00
Mirko Stojiljković cb61d59ce7 B OpenNebula/one#7396: Limit Blas to a single thread (#3960)
Signed-off-by: Mirko Stojiljkovic <mstojiljkovic@opennebula.io>
2025-12-10 09:57:08 +01:00