Commit Graph
22272 Commits
Author SHA1 Message Date
Victor Palma fec34c19e4 M #-: Update monitor config (#4580)
*  Update monitor config
* Set monitor conf as mandatory
2026-10-01 14:56:11 +02:00
Victor Palma 40fe44cfea F OpenNebula/one#7302: Add chart catalog and monitoring #4570 (#4571)
Signed-off-by: Jaime Conchello <jconchello@opennebula.io>
Signed-off-by: Marco Mancini <mmancini@opennebula.io>
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Jaime Conchello <jconchello@opennebula.io>
Co-authored-by: Marco Mancini <mmancini@opennebula.io>
Co-authored-by: Victor Hansson <vhansson@opennebula.io>
(cherry picked from commit 1cacea53c1af76046b027d837131ea968726515e)
2026-10-01 10:55:42 +02:00
Daniel Clavijo Coca c297c06257 F #7926: Refactor PF link configuration logic (#4560)
* Set MTU on the representor as well
* Preserve highest MTU on shared PF's
2026-09-30 18:18:44 +02:00
vichansson 8f9b3b7ef4 M #7741: Clear existing JWT on failed auth (#4543)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-09-30 10:41:23 +02:00
Jorge Miguel Lobo Escalona 6be57d5de1 F #8098: Remove custom attributes (#4559)
- Fixes custom attribute removal when updating VM templates.
- Tracks added, edited, and deleted custom variables in the form's modified-fields state.
- Applies custom-variable changes to the original root-level template data so deleted attributes are not restored when building the final template.
2026-09-30 10:39:33 +02:00
Alejandro 02de7d2d99 B #8070: Add force option to address range deletion (#4531) 2026-09-30 10:37:05 +02:00
Alejandro 791317bd89 B OpenNebula/one#8126: Fix multiple security groups issues (#4548) 2026-09-30 10:32:23 +02:00
Alejandro 56dcd36533 B #8097: Add search to service template VM selection (#4545) 2026-09-30 10:22:19 +02:00
David 631195ae53 M #: Adding dataCy for groups, support and templates (#4564)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2026-09-29 17:15:12 +02:00
Jan Orel b49c435505 B #-: Fix record_mode typo in Ceph incremental backup (#4566) 2026-09-29 16:54:06 +02:00
Jan Orel f9c41956dd M #-: Build Java OCA with --release 17, independent of builder JDK (#4556) 2026-09-29 09:27:11 +02:00
Victor Palma 14ee0d8d56 B #8118: Fix oneversion using in onedeploy (#4552)
(cherry picked from commit 65c1f084fc76498cb5776138a1597ca8223f1989)
2026-09-28 09:46:56 +02:00
Victor Palma b3c53aec95 F OpenNebula/one#7579: Add new OneForm config (#4550) 2026-09-28 09:34:56 +02:00
Victor Hansson 6917a833b4 M #-: Fix ServiceTemplate circular imports
* Extract shared step ID to separate file to prevent loading loop

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
(cherry picked from commit fad9be9dbba63863802f1eb7bd4a92fa1c3cb722)
(cherry picked from commit 11f7b93cf094464f33111a0c6ab2d2f02cd8f531)
(cherry picked from commit 108d8922c2)
2026-09-25 09:18:18 +02:00
David c528801254 M #-: Update for OneFlow Testing (#4553)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2026-09-24 17:46:41 +02:00
Jorge Miguel Lobo Escalona 6aef9ce448 F #6976: VNC listen is a DNS (#4540)
- Updates VNC console connections to honor the address configured in `GRAPHICS.LISTEN`.
- Uses loopback addresses for wildcard listeners (`0.0.0.0` and `::`) while supporting explicit IP addresses and DNS names.
- Passes the resolved graphics address through the Guacamole session and uses it as the remote destination of the SSH tunnel..
- The Guacamole WebSocket route currently logs the complete connection settings object. Since this object may contain VNC credentials, the debug log should be removed before merging.
- The new tunnel destination is inserted into a command executed through `bash -c`; it should be validated or safely escaped to prevent command injection through `GRAPHICS.LISTEN`.
2026-09-24 17:45:37 +02:00
Ruben S. Montero 4914ed32e8 M #-: LVM storage migration is not supported 2026-09-24 15:50:07 +02:00
David 89533b7203 M #-: Add product board GH action (#4549)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2026-09-24 15:48:58 +02:00
Ruben S. Montero 7018e274f9 B #8092: Reject live datastore migration of VMs with system snapshots
Live datastore migration uses QEMU blockcopy, which copies the current disk contents but
does not preserve qcow2 internal snapshots. Copying the original disk files afterwards
to restore those snapshots overwrites disks already in use by QEMU, risking disk
corruption and data loss.

Reject live datastore migration in oned when the VM has system snapshots. Also check the
actual qcow2 files in the KVM migration script as a safe guard.

Host-only live migration and migration with external disk snapshots remain supported.
Use cold datastore migration to preserve internal snapshots.
2026-09-23 19:40:48 +02:00
MarioRobres dfd3e16021 F OpenNebula/one#8064: add finalize call to stop TCP server for interactive restores (#4544) 2026-09-23 13:34:07 +02:00
Pavel Czerný 6936c15c32 B #8108: Do not truncate IDs greater then 999 (#4541) 2026-09-23 12:53:30 +02:00
David 8532814b0b M #: Service and vrouters testing (#4546)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2026-09-23 10:18:07 +02:00
Guillermo Ramos 6c13eb3888 B OpenNebula/one#8039: Sync optional frontend configuration files (#4527)
Include OneForm, OneKS and FireEdge configuration files in onezone
serversync, restarting the corresponding services when files change.
Skip these optional files when missing locally or remotely, while
preserving failures for required files and connection or transfer errors.

Fix the SCP failure message to reference the source file.

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2026-09-22 17:21:31 +02:00
MarioRobres d98b8a7b98 F #7900: Add ceph support for interactive backups (#4523) 2026-09-21 17:51:46 +02:00
MarioRobres e3ae81ec20 B #8093: fix DS_DIR in OneBEX (#4535) 2026-09-21 16:57:39 +02:00
David c4738f8794 B OpenNebula/one#2: Fix error when updating service template permissions (#4538)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2026-09-21 16:30:14 +02:00
Pavel Czerný db345488d3 B #7434: Default vCPU = 1 (#4522)
Set VCPU to 1 when hotplug is defined to present the same behavior as when hotplug is not enabled. It is always set to 1 instead of maxing it out.
2026-09-21 13:52:33 +02:00
Pavel Czerný e677b3f2bb F #8065: Allow override of CLUSTER_IDs of VNTemplate (#4517)
CLUSTER_IDS are controlled by RESTRICTED ATTRIBUTES, regular users will not be able to overwrite the ids. This update operation is only for oneadmin account/groups.
2026-09-21 13:32:41 +02:00
Daniel Clavijo Coca 4f9ec9a0b2 F OpenNebula/one#7926: Allow PF MTU control (#4498) 2026-09-21 12:56:52 +02:00
Pavel Czerný adf32af5d8 B #7435: Keep only first SECURITY_GROUPS attribute (#4528) 2026-09-21 12:27:30 +02:00
Pavel Czerný bd792de66d L #-: Ruby linting and cpp linter suppression (#4529) 2026-09-21 12:19:07 +02:00
Pavel Czerný f70ab0e5b8 B #7020: Do not require Template CREATE for template instantiate (#4526) 2026-09-21 12:13:57 +02:00
vichansson 097e994b16 B OpenNebula/one#7407: Remove host flush limitations (#4483)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-09-18 10:18:43 +02:00
Alejandro dd238798d0 M #-: Fix fields in cloud form (#4516) 2026-09-18 10:12:38 +02:00
Jorge Miguel Lobo Escalona 8d85f4b873 F OpenNebula/One#8095: VNC with LXC (#4524)
- Improves VNC console reliability for LXC virtual machines.
- Extends the Guacamole tunnel receive timeout to tolerate longer periods without WebSocket messages.
- Reworks `svncterm` inactivity tracking to use monotonic time and account for both terminal input and output, preventing premature disconnections.

(cherry picked from commit 40644b80dbd0321f11ca65dc708361d8370377d9)
2026-09-18 10:09:44 +02:00
Jorge Miguel Lobo Escalona 0ebdde66e6 F OpenNebula/One#7667: console spice (config files) (#4505)
- Registers a dedicated SPICE console route without displaying it in the sidebar.
- Enables the SPICE VM console action for the admin, cloud, group administrator, and user Sunstone views.
2026-09-18 09:35:06 +02:00
Jorge Miguel Lobo Escalona e18cabecce F OpenNebula/One#7667: add spice console (#4504)
- Adds end-to-end SPICE console support for running KVM/QEMU virtual machines.
- Introduces short-lived SPICE sessions and a WebSocket-to-TCP proxy with authentication, validation, timeout handling, and cleanup.
- Adds SPICE as a graphics type in VM templates and VM configuration forms, including normalization and restart guidance when changing graphics protocols.
- Reuses shared loading components across Guacamole and SPICE consoles and provides SPICE connection status and reconnection controls.
2026-09-18 09:33:41 +02:00
Alejandro 20f7249b02 B OpenNebula/one#7280: Handle comment errors and block closed-ticket replies (#4509)
* Prevent displaying comment form in closed tickets
* Propagate Zendesk comment errors to display it
2026-09-18 09:30:14 +02:00
vichansson 0ca0be2532 F OpenNebula/one#7708: Expose VR NIC attach/detach in Sunstone (#4487)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-09-18 09:27:22 +02:00
vichansson 64bea1d2c2 B OpenNebula/one#7193: Fix service template updates (#4486)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-09-16 18:40:14 +02:00
Ruben S. Montero 30d82707ee F OpenNebula/one#7579: ODS OneForm Migration
ODS
    - Adds reusable GenericController and DocumentController DSLs for REST APIs.
    - Extends ODS::Document and document pools with typed attributes, safe partial updates, raw access, dependency resolution, and per-resource locking.
    - Adds reusable document capabilities through StateMachine, Errorable, Historyable, and Jobable.
    - Introduces a declarative workflow/job framework with lifecycle transitions, recovery, cancellation, failure handling, and ensure actions.
    - Adds JobScheduler for concurrent execution, resource exclusion, persisted job recovery, stale-result protection, and cancellation coordination.
    - Adds the common ODS::Command executor with structured logging, timeout, environment/workspace handling, and signal-based cancellation.
    - Moves shared OpenNebula resource helpers and common validation/serialization logic into ODS.
    - Adds common handling for sensitive document attributes and automatic secret redaction.

    OneForm
    - Migrates providers and provisions to ODS documents and reuses the new ODS controller infrastructure.
    - Replaces the previous lifecycle manager with the declarative ProvisionLCM workflow.
    - Persists active operations in provisions and supports automatic recovery after service restarts.
    - Adds asynchronous operation cancellation and replaces retry with recover.
    - Introduces ResourceManager for dependency-aware, idempotent management and reconciliation of OpenNebula resources.
    - Updates the provision API with direct REST operations for recovery, cancellation, hosts, public IPs, and deletion.
    - Improves sensitive provider data handling, including redacted credentials and permission-aware access.
    - Adapts Terraform and Ansible execution to the ODS job system, including persistent Terraform state, isolated workspaces, improved progress/error logs, and cancellation.
    - Updates host and public IP management, including batch host deletion and stable UUID-based host reconciliation.
    - Adds common host template support for Terraform-discovered hosts, including IM_MAD and VMM_MAD.
    - Adds support for common host templates in deployment definitions, including IM_MAD and VMM_MAD, automatically applied to hosts discovered by Terraform.
    - Improves driver management, validation, deployment inputs, synchronization, and host templates.
    - Updates the Ruby client and the oneform, oneprovider, and oneprovision CLIs to match the new API and lifecycle semantics.
    - Adapt current Sunstone API calls. No new features included.
    - Adds onedb and onecfg migrations for server and sunstone configuration.
    - Updates bundled drivers and Ansible inventory handling to match the new implementation and remove obsolete warnings.

(cherry picked from commit 1eab0b458a16e0dfaedfd9cef923ee9c05b5d61c)
2026-09-16 18:36:07 +02:00
vichansson 2bedbe14c3 B OpenNebula/one#7569: Add sec. groups to NIC dialog (#4511)
* Attaching a NIC in Sunstone now allows overriding/setting the security
  groups, before the device has been attached. This applies to both the
  VM template's creation and instantiation dialog.

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-09-16 17:01:49 +02:00
vichansson ffdc323427 M OpenNebula/one#7557: Change Sunstone DNS result order (#4501)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-09-16 17:00:30 +02:00
vichansson e3fa9a6c62 F OpenNebula/one#7282: Expose VGPU monitoring in Sunstone (#4521)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-09-16 16:59:22 +02:00
vichansson 84119e8a92 F OpenNebula/engineering#559: Display fabric manager monitoring in Sunstone (#4495)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-09-16 16:53:26 +02:00
EliederSousa b65e4b5200 B #8043: Fix marketplace proxy credentials
Fix marketplace monitor ignoring proxy auth credentials (#8043)

Signed-off-by: EliederSousa <eliedersousa@gmail.com>
coauthored-by: EliederSousa <eliedersousa@gmail.com>
2026-09-15 12:30:50 +02:00
Pavel Czerný 4bbc3ea469 M #-: Upgrade nlohmann json to 3.12.0 (#4520) 2026-09-15 12:17:54 +02:00
Pavel Czerný 817d3e427b M #-: Restore stream conversion (#4519)
* Avoid small risk of different usage of locale compared to std::to_string
2026-09-15 12:15:52 +02:00
Miguel E. Ruiz 3a63456ff3 B OpenNebula/one#6416: Update config files to support Update resource operations for User Views (#4474)
Signed-off-by: Miguel E. Ruiz <mruiz@opennebula.io>
2026-09-14 17:48:37 +02:00
Miguel E. Ruiz a95338973e B OpenNebula/one#6416: Update paths in resources for User Views (#4473)
Signed-off-by: Miguel E. Ruiz <mruiz@opennebula.io>
2026-09-14 17:47:44 +02:00