- 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.
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.
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.
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)
* 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
* 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
- 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.
* 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>
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'.
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>
- 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)