Commit Graph
22253 Commits
Author SHA1 Message Date
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
Alejandro 0dd5db516b B OpenNebula/one#7426: fix allow direct input in memory range (#4510) 2026-09-14 17:46:09 +02:00
Miguel E. Ruiz 802f8e14bb B OpenNebula/one#7444: Change RESTIC_PASSWORD into Password field (#4477)
Signed-off-by: Miguel E. Ruiz <mruiz@opennebula.io>
2026-09-14 17:45:10 +02:00
Alejandro eba784e9be F OpenNebula/one#6869: Improve quota usage visualization and update colors (#4493) 2026-09-14 17:44:06 +02:00
Pavel Czerný 47a803f842 M #-: Some minor C++ speed optimization (#4514)
* Cache VNC reservation BitMap
* Optimize xpath - no need to create vector<string> as we always use the
first value
* Optimize VectorAttribute::replace
* Use string_view in Attribute and Template
* Avoid temporary stream in escape_xml
2026-09-14 15:21:41 +02:00
Pavel Czerný 9834c11567 M #-: Switch to C++20 (#4503) 2026-09-14 13:28:19 +02:00
Pavel Czerný 29e68de717 M #-: Improve error msg from template parser (#4500)
* Fix line and column number in the error message
2026-09-14 13:21:30 +02:00
Jan Orel b2d13d4b81 B #-: oneform must not replace oned IPAM driver files with symlinks, drop dummy ipam (#4508) 2026-09-09 12:38:33 +02:00
Jan Orel bfadf23788 B #-: onecfg checks symlinks only in updated dirs, oneform symlinks IPAM drivers (#4506)
* onecfg skips *.dpkg-new leftovers from the package snapshot
*  onecfg checks symlinks only in updated dirs, oneform symlinks IPAM drivers
2026-09-09 12:01:16 +02:00
Guillermo Ramos b2cf2ec386 B OpenNebula/one#8011: Fix empty backup cleanup commands (#4499)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2026-09-08 11:04:00 +02:00
Dmitrii Gilev 5c57338bc6 F #7781: opennebula-exporter - fix incomplete VM metrics on malformed VM templates (#4488)
Signed-off-by: Dmitrii Gilev <dgilev@opennebula.io>
2026-09-07 15:47:13 +02:00
Jaime Conchello 730bf85ac7 B #-: Fix OneKS ControlPlane upgrade (#4497)
Signed-off-by: Jaime Conchello <jconchello@opennebula.io>
2026-09-07 15:43:14 +02:00
Jan Orel 9c97239dbb M #-: Note oneks-server.yaml is a schema, tidy onecfg src path (#4496) 2026-09-07 13:18:30 +02:00
Jan Orel 2a32ccbe0c M #-: Update onecfg migrators (#4491) 2026-09-07 13:18:16 +02:00
Guillermo Ramos 92d428051f B OpenNebula/one#8011: Fix FS freeze VM type handling (#4494)
Pass the freeze mode explicitly instead of coupling fsfreeze to different
VM XML implementations. Also propagate freeze and thaw failures when
errexit is disabled while preserving snapshot abort cleanup.

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2026-09-07 12:17:53 +02:00
Daniel Clavijo Coca a96db1d5df M #: Increase LinuxContainers default size (#4490) 2026-09-04 12:27:45 +02:00
Victor Palma 79f14d2dd3 F OpenNebula/one#7984: improve OneKS appliance discovery (#4484)
* support manually imported appliances in air-gapped environments

* OneKS appliance discovery for accessible resources
  - Use INFO_ALL when looking up appliance images and VM templates so resources available through permissions or ACLs can also be discovered.
 - Find appliance templates using image names
 - Improve appliance resolution with stale images. Try all matching appliance images in priority order and use the first
one with an available VM template.

(cherry picked from commit b310ae5016)
2026-09-03 12:28:04 +02:00
Pavel Czerný 8a363c89c9 B #7517: Parse newline after VM template variables (#4480) 2026-09-03 09:44:42 +02:00
Jaime Conchello 8fc142df77 M #-: Update OneKS Kubernetes versions (#4485)
Signed-off-by: Jaime Conchello <jconchello@opennebula.io>
2026-09-03 09:42:52 +02:00
Daniel Clavijo Coca c10d87dfdc B OpenNebula/one#8028: Refactor OVS vlan configuration (#4481) 2026-09-02 18:30:33 +02:00