Commit Graph
22387 Commits
Author SHA1 Message Date
vichansson 2ecd8a3b52 M #-: Fix oneks app. request (#4696)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-11-10 14:06:17 +01:00
Jan Orel 6b08eadba1 F #-: Introduce 7.4.1 -> 7.4.2 migrator (#4693) 2026-11-09 17:17:26 +01:00
MarioRobres fe5db114e2 B OpenNebula/one#8249: skip non-backup-eligible disk in interactive backup check (#4688) 2026-11-04 17:15:15 +01:00
David 60f65789ec M #: Modify Zendesk request (#4686)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2026-11-04 16:44:32 +01:00
vichansson e8c5d67ba9 M #-: Fix image uploads (#4687)
* Fixes image uploads by setting the correct content type
* Removes unused encrypt/decrypt functions
* Updates URL parse API

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-11-04 16:44:06 +01:00
Jan Orel 111169de33 B #-: Fix CLI json/yaml output for xsd with several top-level elements (#4685) 2026-11-04 09:23:54 +01:00
vichansson 2450d99464 M #-: Fix websocket handling (#4683)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-11-03 17:15:36 +01:00
Pavel Czerný c6d6574258 M #-: Fix configuration xml-schema (#4680)
(cherry picked from commit b59a79b1bf84e097c7adc2c6f3e74b9448e95db5)
2026-11-03 16:43:26 +01:00
ArnauGabrielAtienza d88e193836 M #-: Remove credentials from upload image transfer (#4677)
Signed-off-by: ArnauGabrielAtienza <agabriel@opennebula.io>
2026-11-03 16:42:08 +01:00
Daniel Clavijo Coca f87f6ca8eb F OpenNebula/one#7638: Add MIRROR to VNM actions template 2026-11-03 14:50:06 +01:00
Jan Orel e58eaffb2b M #-: Fix eslint smoke test modifying package-lock.json
Use npm ci and node 24 in Github Smoke tests, npm 10 strips libc fields
from the lockfile and the following git diff check fails.
2026-11-03 14:10:56 +01:00
Jan Orel 028b31f219 M #-: Fix cppcheck smoke test
Suppress knownConditionTrueFalse false positive in RaftManager::get_leader_endpoint,
cppcheck does not see that members may change while raft_mutex is released.

Remove duplicate entries from cppcheck-suppressions.xml, newer cppcheck (2.22)
aborts with 'suppression already exists'.
2026-11-03 14:10:56 +01:00
Jan Orel dee176ddfd B #-: Do not fire HookManagerDown on HA followers, hem runs on the leader only 2026-11-03 14:10:56 +01:00
Jorge Miguel Lobo Escalona dc751c3a3c F OpenNebula/one-ee#4583: update package-lock (#4681) 2026-11-03 14:09:36 +01:00
54d9fd6f0c F OpenNebula/one#7638: Add Open vSwitch port mirroring
Add port mirroring for Virtual Networks using the ovswitch and ovswitch_vxlan drivers, allowing selected VM interfaces to send copies of their traffic to external monitoring tools. Support RSPAN output through a VLAN and GRE or ERSPAN tunnels, including ERSPAN types II and III.

Introduce Virtual Network MIRROR definitions with an automatically assigned MIRROR_ID, NAME, optional DESCRIPTION, and TYPE. Select source interfaces through PORTS, expressed as comma-separated VM_ID:NIC_ID pairs, control traffic direction with DIRECTION (IN, OUT, or BOTH, the default), and optionally filter traffic with VLANS.

Configure RSPAN destinations with OUTPUT_VLAN, and GRE or ERSPAN destinations with REMOTE_IP and optional LOCAL_IP. The local address accepts either an IPv4 address or an interface:<name> reference resolved on each host. ERSPAN adds ERSPAN_TYPE and ERSPAN_KEY, with ERSPAN_INDEX for type II and ERSPAN_HWID for type III. Validate required fields, numeric ranges, and incompatible attribute combinations.

Expose mirror creation, configuration updates, source-port membership changes, and deletion through XML-RPC and gRPC, with Ruby, Java, and Go client support and corresponding onevnet mirror-* commands. Add a Sunstone Port Mirroring tab with creation and editing forms, source-interface selection, configuration review, and mirror details. Require administrative permissions on the Virtual Network and selected source VMs; manage definitions through the dedicated mirror APIs.

Integrate mirror configuration with VM networking operations so host OVS state follows NIC activation, updates, and deactivation, and released NICs are removed from mirror membership. Serialize shared mirror changes under a host lock, apply OVS updates in a single transaction, and clean up unused managed tunnel outputs. Configuration updates preserve source membership, membership changes target affected VMs, and mirrors must have all source ports removed before deletion.

co-authored-by: Alejandro Aizel <aaizel@opennebula.io>
co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.io>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: David Carracedo <dcarracedo@opennebula.io>
2026-11-03 14:04:07 +01:00
Jorge Miguel Lobo Escalona d491d5f774 F OpenNebula/One-ee#4583: update lodash dependency (#4674)
- Updates the Lodash dependency from `4.17.21` to `4.18.1`.
- Synchronizes the lockfile with the new package version and integrity metadata.

(cherry picked from commit fe61503ca378ba22fa0f95a260afb7e8656b4406)
2026-11-03 12:14:47 +01:00
vichansson e608b67ecf M #-: Upgrade vendor deps (#4676)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-11-03 09:11:21 +01:00
Pavel Czerný f88b9e57a9 M #-: Improve token security (#4598)
* Replace AES-CBC by AES-GCM

* Increase entropy of generated passwords

* Verify server authentication target user and fix login using EGID
2026-11-02 18:47:06 +01:00
MarioRobres 830c373a2b B OpenNebula/one#8236: backup only selected disks by Veeam (#4672) 2026-11-02 17:35:51 +01:00
Alejandro f2089ab69d F OpenNebula/one#8216: Add Card Button (#4644) 2026-11-02 16:44:30 +01:00
Pavel Czerný 7b563870f3 M #-: Validate MD5 and SHA1 attributes (#4646) 2026-11-02 14:19:19 +01:00
MarioRobresandRene Peinthor 4ef465ca16 F #-: Support interactive backups for third party storage drivers (#4675)
Interactive backups were limited to a fixed list of TM drivers in
VirtualMachineDisk::support_interactive(), so third party storage
drivers could not use them, even with a OneBEX exporter of their own.

The TM_MAD_CONF of a driver can now enable them:

  INTERACTIVE_BACKUP         = "YES" | "NO"
  INTERACTIVE_BACKUP_FORMATS = comma separated list of image formats,
                               empty for all formats

The default oned.conf sets them for the drivers that supported
interactive backups so far. If INTERACTIVE_BACKUP is not set, e.g. with
the oned.conf of a previous release, the former built-in list is used.

Adding an exporter required editing config/environment.rb and
app/helpers.rb, which are overwritten on every upgrade.

OneBEX now loads every file in the exporters directory and each
exporter registers itself with OneBEX::Exporters.register, so a third
party exporter only needs to be installed in remotes/onebex/exporters
(and synced to the hosts). An exporter that fails to load is skipped
instead of breaking the others, and the error is logged when the server
starts.

Signed-off-by: Rene Peinthor <rene.peinthor@linbit.com>
Co-authored-by: Rene Peinthor <rene.peinthor@linbit.com>
2026-11-02 13:41:58 +01:00
Pavel Czerný 38aa093e8e B #8143: Serialize SG cleanup and activation under one driver lock (#4671) 2026-11-02 13:06:56 +01:00
Mickaël Canévet dfd6b3da7e B #8214: Do not clear ETHx_* context variables on NIC detach if NETWORK is not YES
When a NIC is detached, its ETHx_* variables are removed from the VM CONTEXT
whatever the value of NETWORK is. With NETWORK=NO, OpenNebula does not generate
those variables: they are defined by the user, and nothing generates them back
when the NIC is attached again. Guests that read their network configuration
from the CONTEXT at every boot lose their network.

Only clear them when NETWORK=YES, the same condition generate_network_context()
uses to decide whether OpenNebula manages them.

Signed-off-by: Mickaël Canévet <mickael.canevet@proton.ch>
(cherry picked from commit 6e4694de9365e8275301249c20acdeef0e8d34fe)
2026-11-02 12:41:42 +01:00
Iurii Trukhin b199f51021 B #8195: Guard against cpu_j <= 0 and exited PIDs in ProcessList.cpu_info
Check cpu_j > 0 and j_end >= cpu_ini[pid] in ProcessList.cpu_info before
computing per-process CPU percentage to avoid FloatDomainError (NaN) and
negative CPU usage when a process terminates during the sampling window.

Signed-off-by: Iurii Trukhin <yuri@trukhin.com>
(cherry picked from commit c46d2253e4)
2026-11-02 11:34:36 +01:00
Iurii Trukhin 88bb097194 B #8194: Read READ_LENGTH in market_mad/s3/import
Read MARKETPLACE/TEMPLATE/READ_LENGTH (with fallback to READx_LENGTH) in
src/market_mad/remotes/s3/import so the configured S3 chunk size is applied
during marketplace imports.

Signed-off-by: Iurii Trukhin <yuri@trukhin.com>
(cherry picked from commit 86e35f0e64)
2026-11-02 11:26:02 +01:00
Iurii Trukhin c869d85662 B #8191: Restore target CLUSTER_ID on failed migration quota rollback
Restore target cluster_id in quota_tmpl before calling Quotas::vm_del in
VirtualMachineAPI::migrate error paths so failed cross-cluster migrations
release the target cluster quota instead of decrementing the source cluster
quota again.

Signed-off-by: Iurii Trukhin <yuri@trukhin.com>
(cherry picked from commit 95d8756749)
2026-11-02 11:14:36 +01:00
Iurii Trukhin 6d24226043 B #8183: Initialize fallback values in Quota::check_quota and cleanup_quota
VectorAttribute::vector_value(name, value) returns -1 without modifying value when the requested metric attribute is absent from an existing quota vector (for example RUNNING_VMS or PCI_* metrics on user/group/default quota entries created before those metrics were introduced, or when resuming a VM from POWEROFF where only RUNNING_* metrics are checked).

Pass explicit default values (DEFAULT / UNLIMITED for limits and 0.0f for usage) via the 3-argument VectorAttribute::vector_value overload in Quota::check_quota and Quota::cleanup_quota, and initialize total to 0 in Quota::add_to_quota.

Signed-off-by: Iurii Trukhin <yuri@trukhin.com>
(cherry picked from commit 1add0f30f3)
2026-11-02 10:42:16 +01:00
Mirko Stojiljković 9ac567b2ad F OpenNebula/one#8224: Handle missing VM monitoring and forecast value (#4662)
Signed-off-by: ms4ons <mstojiljkovic@opennebula.io>
2026-11-02 10:20:50 +01:00
Jan OrelandPavel Czerny a37a5ac880 B #-: Refresh the zone servers when oned becomes a follower (#4668)
A follower only loaded the server list at start-up and refreshed it as a
candidate, so a server added later could become the leader while this
follower could not resolve its endpoint ("no leader found").

Co-authored-by: Pavel Czerny <pczerny@opennebula.io>
2026-10-30 13:07:50 +01:00
jlcalleja-opennebula 44936b9a9c F OpenNebula/one#8164: Fix incompatible datastore targets in VM live migration (#4632)
Signed-off-by: jlcalleja <jlcalleja@opennebula.io>
2026-10-30 13:01:34 +01:00
vichansson cb9880f3a4 F OpenNebula/one#8205: Show intersecting EVC opts (#4655)
* Cluster creation dialog's EVC selector now only shows the intersecting
CPU models from the selected hosts table.

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-10-30 12:59:56 +01:00
vichansson ec14772a1b F #-: Add oneks/application UI block (#4636)
* Sunstone blocks application installation if the monitoring feature
  isnt enabled

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-10-30 10:49:58 +01:00
vichanssonandTino Vázquez 092d6ac529 M #-: Update guac. conf. defaults (#4658)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2026-10-30 10:01:52 +01:00
Victor Palma 32a41f9e7d B #-: Fix oneks env isolation and ODS workflow races (#4670)
(cherry picked from commit d64a4333bf7ac3b24b48a628682a50672a0e117a)
2026-10-29 16:24:05 +01:00
Jan Orel 867a20299a L #-: Lint new components (#4669) 2026-10-29 15:16:28 +01:00
jlcalleja-opennebulaanddcarracedo 3bfb179a26 B OpenNebula/one#8018 Fix invalid host-passthrough option in machine type selector (#4656)
Signed-off-by: jlcalleja <jlcalleja@opennebula.io>
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: dcarracedo <dcarracedo@opennebula.io>
2026-10-29 14:31:54 +01:00
MarioRobres 7956e86879 B OpenNebula/one#8232: fix VM_EXEC reaper blocked by stale PID file (#4666) 2026-10-29 14:25:04 +01:00
MarioRobres bc4ec22d69 F OpenNebula/one#8230: optimize /extent endpoint for RBD and NBD OneBEX exporters (#4667) 2026-10-29 14:19:26 +01:00
vichansson c8ceea5627 M #-: Upgrade Sunstone runtime to node 24 (#4665)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2026-10-29 12:29:30 +01:00
David cbaff76020 M #-: Protect chartist (#4663)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2026-10-29 10:26:24 +01:00
Neal 44b3d83cbe B OpenNebula/one#7402: Fix NetApp provisioning (#4661)
on SnapMirror-protected SVMs

Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2026-10-28 18:15:01 +01:00
ArnauGabrielAtienza a4d4ca0c10 B OpenNebula/one#8203: Fix persistent disk sizing (#4660)
Signed-off-by: ArnauGabrielAtienza <agabriel@opennebula.io>
2026-10-28 16:12:39 +01:00
MarioRobres 7e57bf3cdc B OpenNebula/one#8226: add snap_abort cmd to LVM driver and clean old snapshots (#4659) 2026-10-28 15:50:21 +01:00
Mirko Stojiljković 865f49e37f F OpenNebula/one#8020: Expand DRS debug capabilities (#4602)
Signed-off-by: ms4ons <mstojiljkovic@opennebula.io>
2026-10-28 15:33:01 +01:00
vichansson e87261a2fc M #-: Add new guacamole config handling (#4647)
* Adds `guacamole` config block to `fireedge-server.conf`.
2026-10-27 16:56:46 +01:00
David ce4d1b79c8 M #: DataCy attributes for testing (#4653)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2026-10-27 16:13:23 +01:00
ArnauGabrielAtienza 4edbe26f24 B OpenNebula/one#8221: Rotate login token before it expires (#4651)
Signed-off-by: ArnauGabrielAtienza <agabriel@opennebula.io>
2026-10-27 15:50:46 +01:00
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