22339 Commits
Author SHA1 Message Date
ArnauGabrielAtienza 33daaf765f M #-: Update transfer finalize workflow (#4650)
Signed-off-by: ArnauGabrielAtienza <agabriel@opennebula.io>
2026-10-27 15:34:24 +01:00
ArnauGabrielAtienza 1401b579c8 B OpenNebula/one#8220: Reject RAW disk backups (#4649)
Signed-off-by: ArnauGabrielAtienza <agabriel@opennebula.io>
2026-10-27 15:34:05 +01:00
Ruben S. Montero 1098e13f0b Revert "F OpenNebula/one#8165: disk attach and detach on VM in HOLD state"
This reverts commit 9a1002b378.
2026-10-27 14:34:01 +01:00
Ruben S. Montero aca953af84 B OpenNebula/one#7952: Update VM deploy workflow
Fix the incompatible system datastore by updating the VM creation workflow like follows:

1. Create all VMs on Hold
2. If we get a disk attachment request, update the SCHED_DS_REQUIREMENT from the VM to
match the TM_MAD from the uploaded image and deploy the VM (still without disk).
Afterwards, attach the disk and leave the VM deployed (in poweroff state)
3. If we get a nic attachment request and the VM is still undeployed, deploy it, attach the NIC and then undeploy.

Additionally, removed the OG_ID logic from disks, as it was a legacy part from the early days of the integration. No longer needed.
2026-10-27 13:10:41 +01:00
Ruben S. Montero 66ff2dfb05 B OpenNebula/one#8163: Fix live migration with fs_lvm_ssh thin volumes
Pause the source VM and flush its disks before destination activation.
Keep the destination suspended until source volumes and thin pools are
deactivated, and resume the source after destination cleanup on failure.

Coordinate cleanup across disk drivers before resuming mixed-driver VMs.
Preserve existing behavior for linear volumes and datastore migrations.

(cherry picked from commit 2a8b03ccbcfafecd6cdf0c33561479cd0e2a1aa8)
2026-10-26 22:01:20 +01:00
Jan OrelandMarioRobres 88bc080b2b B OpenNebula/one#8062: mark cancelled checkpoints as invalid (#417) (#4645)
and reset chain after an invalid checkpoint

Co-authored-by: MarioRobres <mrobres@opennebula.io>
2026-10-26 18:33:22 +01:00
ArnauGabrielAtienza ef06201dba M #-: Add vcpu.delay metric to libvirt collector (#4591)
Signed-off-by: ArnauGabrielAtienza <agabriel@opennebula.io>
2026-10-26 18:10:34 +01:00
Pavel Czerny 8f35e92d60 M #-: Fix auto completion for directories and names with spaces 2026-10-26 18:04:01 +01:00
Daniel Clavijo Coca cd139167f8 M #: Update bash completion for missing onevm commands 2026-10-26 18:04:01 +01:00
Jan Orel b8a7145194 M #-: Run ovirtapi under Puma instead of Apache/Passenger
The oVirt API server no longer runs under Apache/Passenger but as a
dedicated opennebula-ovirtapi.service on top of Puma (from
opennebula-rubygems), listening on ports 80/443 as oneadmin with
CAP_NET_BIND_SERVICE:

  - share/pkgs/services/systemd/opennebula-ovirtapi.service
  - etc/ovirtapi-puma.rb: Puma configuration (threads, binds, TLS cert),
    installed to /etc/one
  - config.ru: the HTTP to HTTPS redirect (except for the PKI resource)
    that the Apache vhost used to do is now a Rack middleware
  - logs go to /var/log/one/ovirtapi.log, logrotate entry added

The PStore databases are opened thread safe, Puma serves requests from
multiple threads (Passenger used one process per request).

Apache/Passenger only files (apache/, bin/, scripts/configure_apache.sh)
are dropped and config/ is renamed to etc/. Certificate generation is
unchanged.
2026-10-26 17:28:48 +01:00
Jan Orel 60c6df2f6a M #-: Move ovirtapi from one-ee-tools 2026-10-26 17:28:48 +01:00
Jan Orel 565e301fc4 M #-: Move netapp, purefa, and onefabric from one-ee-tools 2026-10-26 17:28:48 +01:00
Pavel Czerný a7e6fa1e8c B #8201: Release reserved VNC port when removing graphics (#4626) 2026-10-26 17:18:51 +01:00
Pavel Czerný f1394f7118 M #-: Use specific error message for restic failures (#4641) 2026-10-26 17:11:27 +01:00
Victor Palma 1c5b8e8e44 B OpenNebula/one#8081: Fix OneKS image placement and network references (#4628)
Signed-off-by: Jaime Conchello <jconchello@opennebula.io>
Co-authored-by: Jaime Conchello <jconchello@opennebula.io>
(cherry picked from commit edb77f5655eff641b261340bc2abd292e6f14718)
2026-10-26 16:54:08 +01:00
Ruben S. Montero ada066d631 B #8162: Fix LVM live migration storage handover
Pause the VM and flush its LVM disks before destination activation.
Deactivate source storage before resuming the destination, and restore
source operation when migration or destination network setup fails.

co-auuthored-by: MarioRobres <mrobres@opennebula.io>
2026-10-26 14:44:51 +01:00
Jan Orel 9cb79eb74e B #-: Fix scheduler state in the OpenNebula exporter (#4619) 2026-10-26 09:58:23 +01:00
Jan Orel 33b88cd766 B #7899: Move the remaining driver lock files out of /tmp (#4595) 2026-10-26 09:57:48 +01:00
Jan Orel e99d31d147 B #-: Fixup arm64 Gemfile.lock (#4638) 2026-10-23 12:54:38 +02:00
Jorge Miguel Lobo Escalona 93d9cb2f45 F #8208: fix allocated CPU slider (#4629)
- Fixes host allocated-capacity editing so values above the current physical capacity can be entered manually.
- Keeps the visual slider constrained to its displayed range while allowing the numeric input to represent overcommit values.

(cherry picked from commit 6111f4e5403779335f70308fa5e94390f9076113)
2026-10-23 09:53:52 +02:00
Alejandro f8f0a07c11 F #8065: Allow cluster selection when instantiating vnet templates (#4624) 2026-10-23 09:51:47 +02:00
Jorge Miguel Lobo Escalona f8c279563c F #7715: support Dummy and Custom VN_MAD in FireEdge (#4592)
- Adds `Dummy Bridged` and `Custom` network driver support to the Virtual Network and Virtual Network Template forms.
- Builds the available driver list from `VN_MAD_CONF`, while always exposing the generic custom-driver option.
- Preserves unknown or custom `VN_MAD` values when loading, editing, creating, or instantiating resources.
2026-10-23 09:50:45 +02:00
Jorge Miguel Lobo Escalona 14a0bfa4b8 F #8189: fix cluster row in nodegrups (#4605)
- Fixes the **Cluster** column in the OneKE Node Groups VM table.
- Resolves each VM cluster ID to its corresponding cluster name before rendering the table.
2026-10-23 09:50:15 +02:00
Jan Orel 7ba0fdca60 M #-: Add missing fiddle gem, bump ruby, update gems (#4633) 2026-10-22 16:33:39 +02:00
DavidandAlejandro Aizel 0c77555022 M #: Adding dataCy for testing components (#4631)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: Alejandro Aizel <aaizel@opennebula.io>
2026-10-22 12:45:59 +02:00
vichansson c2565bcdd4 M #-: Add oneks recover dialog (#4627)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-10-21 18:46:07 +02:00
Jorge Miguel Lobo Escalona c24d40a383 M #~: Fix SSH tunnels for Guacamole (#4613)
- Reworks Guacamole SSH forwarding around dedicated OpenSSH `ControlMaster` sessions with private control sockets and explicit readiness checks.
- Adds safe concurrent port allocation, strict hostname/IP validation, IPv6 forwarding support, and managed tunnel cleanup.
- Validates encrypted Guacamole tokens before accepting WebSocket upgrades.
- Uses the system SSH host-key policy instead of disabling host-key verification.
2026-10-20 16:45:52 +02:00
Jan OrelandTino Vázquez a402ec89cf M #-: Require single approval for protected files (#4621)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2026-10-20 16:35:20 +02:00
Daniel Clavijo Coca 751dad67ff F #7671: CLI formatter and --pf option for nic-attach (#4620) 2026-10-20 16:27:44 +02:00
Jan OrelandTino Vázquez e005161150 B #7759: Run lvm_exporter as oneadmin (#4618)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2026-10-20 13:59:23 +02:00
Jorge Miguel Lobo Escalona c6f0cbf5a2 F OpenNebula/One#7310: VNC in federated zones (#4558)
- Adds federation-aware CLI execution for Marketplace application exports and imports by forwarding the selected zone endpoint and authenticated credentials.
- Hardens Guacamole SSH tunnels by removing `bash -c`, validating forwarding destinations, and correctly formatting IPv6 addresses.
- Improves SSH tunnel startup handling by tracking the real SSH process, detecting early failures, and reporting stderr output.
2026-10-20 12:51:39 +02:00
Jorge Miguel Lobo Escalona bed3fa2ee1 F OpenNebula/One#6813: message LDAP server is not reachable (#4573)
- Improves failed LDAP login feedback by distinguishing invalid credentials from unreachable LDAP servers.
- Checks the LDAP endpoints selected for the user and returns HTTP 503 with the affected endpoints when none are reachable.
- Preserves the existing unauthorized response when LDAP is reachable, the user does not use the LDAP driver, or the connectivity check cannot be completed.
2026-10-20 12:50:44 +02:00
Alejandro 9707f80e62 B OpenNebula/one#8130: Preserve multiline VM descriptions with expandable attributes (#4608)
* Allow expanding all truncated attribute values
2026-10-20 12:39:37 +02:00
Alejandro 7ec3b6747b F OpenNebula/one#7441: add Tree component (#4563) 2026-10-20 12:38:19 +02:00
Alejandro 8a6c7597f8 M #-: Sanitize Zendesk messages 2026-10-20 09:49:57 +02:00
Alejandro 752185604a F OpenNebula/one#7441: Improve tab components (#4557)
* Fix tab width in forms
2026-10-20 09:48:50 +02:00
Alejandro 07cbbfd7ab F OpenNebula/one#7441: Add new Card Button component (#4572)
Add new Card Buttons to Toggle controller
2026-10-20 09:47:38 +02:00
vichansson 1458f0b95f B OpenNebula/one#8037: Add missing service inst. dialog (#4569)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-10-20 09:44:43 +02:00
Pavel Czerný 77ba107915 M #-: Improve C++ rebuild time (#4554) 2026-10-19 14:20:08 +02:00
Pavel Czerný 4afd619db4 B #8133: Fix parsing of uncomplete NUMA nodes (#4604) 2026-10-19 14:17:14 +02:00
2fde509fba F OpenNebula/one#7671: Select SR-IOV VFs by parent physical function
Allow PCI requests to select an available VF using PF_IFNAME or
PF_ADDRESS. Reserve fixed PCI addresses before PF and generic selectors
to keep availability checks and allocation consistent.

Monitor PF/VF relationships and eswitch mode, refresh PCI network
metadata, and prevent passthrough of PFs with enabled VFs. Preserve
compatibility with older probes.

Expose PF interface selection and VF availability in Sunstone, preserve
selectors when editing templates, and update the host XML schema.

co-authored-by: Victor Hansson <vhansson@opennebula.io>
co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.io>
2026-10-19 13:10:56 +02:00
Daniel Clavijo Coca 984d4fb74a F #7960: validate switchdev bridge configuration and VF requirements
Added BRIDGE=switchdev to automatically create and reuse an OVS bridge named <PF-interface>br, connecting the selected VF’s representor and parent PF. The implementation checks for:

  * consistent keyword casingrequires
  * requires VN_MAD=ovswitch and PCI/TYPE=NIC
  * validates switchdev support, PF membership and representor availability

The driver handles activation, updates, and hot-attach.
2026-10-19 00:08:01 +02:00
Rostyslav YatsyshynandTino Vázquez d36e93cdba F #7668: Add BlueCat IPAM driver (#4395)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
Signed-off-by: Rostyslav Yatsyshyn <ryatsyshyn@opennebula.io>
2026-10-16 12:16:56 +02:00
Victor Palma 0cd2cb1a85 F #-: Add OneKS service to RAFT VIP failover handling (#4609) 2026-10-15 17:31:19 +02:00
Author: MarioRobres 9a1002b378 F OpenNebula/one#8165: disk attach and detach on VM in HOLD state
VMs coming from UNDEPLOYED/STOPPED cannot disk attach on HOLD
2026-10-15 16:54:52 +02:00
Jan Orel fa3cd55cc6 M #-: Update onecfg migrators (#4607) 2026-10-15 10:52:46 +02:00
Jan Orel 769ef0fd50 M #-: Update onecfg migrators (#4601) 2026-10-14 10:00:32 +02:00
MarioRobres bdcfc4a437 M #-: revert change (#4603) 2026-10-13 11:57:17 +02:00
ms4ons 05117e74d9 F #7930: Enable OneDRS balancing by storage space
Add STORAGE_WEIGHT to cluster DRS configuration and expose it in
Sunstone's configuration form and DRS tab. Normalize the weight and
map it to the optimizer's storage_space balancing criterion.

Account for storage occupied outside the considered VMs when computing
utilization of shared and local system datastores.
2026-10-09 08:45:43 +02:00
Mirko Stojiljković e563b898f8 B #8073: Skip cluster optimization for unsupported VM states (#4555)
Signed-off-by: ms4ons <mstojiljkovic@opennebula.io>
2026-10-07 17:03:15 +02:00