Commit Graph
22416 Commits
Author SHA1 Message Date
Ruben S. Montero 78b4adf285 Revert "B OpenNebula/one#8291: fix Psych 3.0.2 compatibility (#4715)"
This reverts commit 367a66c958.
2026-11-25 18:02:39 +01:00
Jan Orel a3edd0215e F #-: Use ruby3.4 on SLES 15 (#4736) 2026-11-25 17:37:10 +01:00
MarioRobres 4759282bd1 B #8298: fix OneBEX TM client connectivity issues (#4731)
(cherry picked from commit a097c9546d7267c688c261c311d48933b28d189d)
2026-11-25 14:12:38 +01:00
Guillermo Ramos 72e8088987 F OpenNebula/one#8283: Tune Ceph VM disk provisioning (#4732)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2026-11-25 13:17:42 +01:00
Jorge Miguel Lobo Escalona d0cca589bb F #8248: disable option for restricted attributes (#4705)
- Prevents non-admin users from detaching VM template disks that contain restricted attributes.
- Evaluates restrictions against the original API template data instead of the editable form representation, avoiding accidental enablement when restricted values are transformed or omitted by the form.
2026-11-24 17:56:01 +01:00
Alejandro 85b5b59ac5 F OpenNebula/one#8038: add new vertical stepper - #4507⁠
Introduce a shared stepper with vertical navigation on wide canvases and horizontal navigation when less space is available. Keep the current step reachable, compact workflows with more than six steps, and position error tooltips below step labels.

Add a creation header for create and instantiate flows, with Cancel and progress indicators while retaining application navigation. Hide step indicators for single-step forms and skip cancellation confirmation when values are unchanged.

Update loading skeletons, keep navigation actions visible, stabilize scrollbar space, and support optional content width limits.

Standardize field spacing and description heights, remove legacy form centering, improve slider alignment and wrapping card options, and add compact empty states.
2026-11-24 17:53:58 +01:00
Jan Orel f874a727ab B OpenNebula/one#8209: use the libvirt gem in the KVM VM probes
Each virsh execution opens a libvirt connection, and the probes ran
several per VM on every run. libvirtd hands out two timer IDs per
connection and stops accepting them once the counter wraps (2^31).

Query libvirt through the ruby-libvirt gem with a single connection per
probe run, also for the guest agent commands. The syntax of
guestagent.conf is preserved.

The state probe no longer gathers the VM metrics, they were discarded.

Also, refresh Gemfile locks, after adding ruby-libvirt to Gemfile.
2026-11-24 17:38:56 +01:00
Jan Orel 8b022d294b B OpenNebula/one#8209: reap VM exec by PID file, not domain list 2026-11-24 17:38:56 +01:00
MarioRobres 367a66c958 B OpenNebula/one#8291: fix Psych 3.0.2 compatibility (#4715)
OneBEX
OneKS
OneForm
2026-11-24 15:41:25 +01:00
Guillermo Ramos a74e2e51be B #8234: Monitor capacity of the Ceph EC data pool (#4728)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2026-11-24 15:23:07 +01:00
Daniel Clavijo Coca e897aac3d2 M #: Add bash completion to onecfg (#4692) 2026-11-24 15:01:41 +01:00
Jorge Miguel Lobo Escalona 5f449153ae F #8046: fix pagination in VM (list mode) (#4695) 2026-11-24 14:24:06 +01:00
Jorge Miguel Lobo Escalona 60554b118b F #8208: fix form groups (#4643)
(cherry picked from commit d53a967a019e4e93ed23b11d414f35ae4f437407)
2026-11-24 14:23:11 +01:00
Jan Orel d05ea2a2b9 M #-: Drop outdated Ubuntu 22.04 Gemfile.lock (#4722) 2026-11-24 14:20:38 +01:00
Ruben S. Montero 307b8f7da4 B #8281: Fix incremental backup validation for selected disks
Check incremental backup support only for disks selected by
BACKUP_CONFIG, allowing compatible disks to be backed up when
unsupported disks are excluded.

Resolve disk selection before validating backup configuration and
recheck it when starting a backup, since disks or snapshots may have
changed since configuration.

(cherry picked from commit 9f108609856d42e25ecf90fbaddb22607a2d5566)
2026-11-24 12:56:25 +01:00
Pavel Czerný c77bab8ce6 B #8260: Improve log purge and raft replication (#4701)
* Do not lock read-only operations in log purge to not block raft
replication
* Optimize SQL purge queries
* Create new index for faster search
* Migrator to create the index
* Unify index_sql and index_sqlite schema
* Migrator
* Fix nanosecods overflow in RaftManager
2026-11-24 12:45:51 +01:00
Pavel Czerný d5807d9bb9 L #-: cppcheck version 2.19 (#4714)
* Remove empty destructors, keep only those which change private/public
contract
* Remove unused variables
* Use static methods whenever possible
* Delete copy and assign constructor if cppcheck complains

* Disable AStyle linting
2026-11-24 12:08:06 +01:00
Pavel Czerný 204dd77ad8 B #7377: Match escaped LDAP usernames during authentication (#4719)
Apply the LDAP driver's username canonicalization when looking up
existing users, and rename the lookup helper to get_auth_user.
2026-11-24 09:41:55 +01:00
NealandTino Vázquez 1afb6bf029 B OpenNebula/one#8292: fix iscsi mpath add path bug (#4717)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2026-11-20 13:40:21 +01:00
NealandTino Vázquez e7f7afddbe F OpenNebula/one#7983: reduce staging usage during image import (#4716)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2026-11-20 12:47:19 +01:00
Jan Orel 50c46f19f5 B #-: Add missing puma gem to SUSE 15, update locks (#4711) 2026-11-18 12:48:46 +01:00
MarioRobres 5c768c7696 B #8274: fix upload return phase (#4709) 2026-11-17 09:06:15 +01:00
Jan Orel d23a2e5fb4 M #-: Replace existing links in install.sh link mode (#4708) 2026-11-17 09:02:33 +01:00
Jorge Miguel Lobo Escalona a5d92e52d9 F OpenNebula/One#7723: Fix CPU and machine options for non-admins (#4684)
- Fixes empty or unavailable machine type, CPU model, and CPU feature options for non-admin users.
- Retrieves the required host capabilities through the server-admin host pool endpoint instead of the regular user-scoped host query.
2026-11-17 09:00:51 +01:00
Alejandro 40ab80c479 M #: Fix tabs width and remove background (#4691) 2026-11-17 08:59:53 +01:00
Alejandro 959a27de7f F OpenNebula/one#7441: Add Simple Form Dialog component (#4704)
* Refactor AlertDialog API and centralize shadows
* Add reusable InitialSetupDialog component
2026-11-17 08:58:11 +01:00
Jan Orel 906af80498 L #-: Fix oneflow error msg ('break' outside loop) (#4694)
* L #-: Fix oneflow error msg ('break' outside loop)

* L #-: Fix cppcheck shadowVariable in VNet mirror_update
2026-11-12 14:38:36 +01:00
Jan Orel 7a357c29bc M #-: Refresh oncfg migrators (#4702) 2026-11-12 14:37:28 +01:00
Jan Orel 227f31c4c2 M #-: Remove onecfg migrator changes (#4697)
(cherry picked from commit afd84e5aafa1a6bd4977374534edd93b9ae4f4ba)
2026-11-10 16:21:52 +01:00
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