* In case of success removes parent snapshot, keeping last diff snapshot
* In case of failure removes the last diff snapshot, keeping the parent
Co-authored-by: Guillermo Ramos <gramos@opennebula.io>
This fixes a corner-case error detected only by our nightly tests. When using the fs_lvm_ssh driver,
the clone operation sends the tar'ed image to the destination in sparse mode. The problem is
decompressing it on a "thick" volume, as the zeroes will not get written so the previous garbage
will still be present.
What makes this issue so difficult to reproduce is that usually the old volumes get zeroed on
deletion by the `delete` operation, because the ZERO_LVM_ON_DELETE variable is set to true by
default. But some other operations such as the datastore migration don't zero its volumes after
deletion, so running them previously will leave old data written in the VG and trigger this issue.
Next commit will make all operations honor the ZERO_LVM_ON_* variables, but this correction is
required anyway; if the user sets ZERO_LVM_ON_* to false when using this driver in non-thin mode,
this issue would also appear.
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
* Add a do_tree() helper and declarative INSTALL_*TREES tables that map
whole source subtrees to their install destinations, and convert the
hand-maintained file lists they replace. Copy mode dereferences
symlinks like do_file (cp -RL), symlink mode (-l) links each top
level entry so the destination stays a real directory, and uninstall
removes what was installed. Entries support optional comma separated
exclude patterns.
* Drop component install modes.
Remove the -c, -F, -P, -G, -f and -p flags and the per-mode branching
for dir creation and install sets. Packaging and CI only ever run full
install.
* Derive installation directories from the install tables.
Create each destination directory on demand from the INSTALL table
entries instead of maintaining parallel *_DIRS lists, which are reduced
to EMPTY_DIRS, the directories that are installed empty on purpose. The
configuration directory skeleton is still created when -k skips the
configuration files.
* Install the generated gRPC bindings as a subtree, so new protos need
no install.sh update.
* Convert the driver and singleton file lists to subtrees.
* Quote expansions, replace legacy backticks with $(), replace the eval
based indirection with ${!var} and join the table arrays with [*].
The exclude case patterns are globs by design, so SC2254 is disabled
in place. No behavior change, the installed tree is byte identical.
sudo-rs (default sudo on Ubuntu 26.04+) rejects wildcards inside command
arguments, so the ONE_NETNS entry 'sysctl -w net.ipv4.conf.*.arp_ignore=0'
made the whole alias unparseable and broke all netns sudo commands on the
node (tproxy/OneGate setup failed).
Set net.ipv4.conf.{all,default}.arp_ignore=0 in the namespace before the
veth device is moved in; the device then re-inherits arp_ignore=0 from
conf.default, so the per-device (wildcarded) sysctl is not needed and the
sudoers entry becomes a fixed string accepted by both sudo flavors.
Updates Marketplace UI/form support and clarifies CPU terminology across VM capacity screens. Marketplace changes add stable data-cy selectors for list, card, details, and action flows, while fixing S3 signature version handling for AWS vs non-AWS marketplaces. CPU-related labels now use CPU/CPU Shares instead of Physical CPU, with an expanded tooltip explaining how CPU shares are applied.
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Use the shared quota attribute helper so PCI device and PCI NIC quotas
are included when instantiating VM templates.
(cherry picked from commit fff242bf05)
Skip removing and re-adding host capacity when recovering from a prolog
migration failure if the source and destination hosts are the same. This
keeps host capacity unchanged for datastore-only migrations and preserves
the same invariant across all migration state transitions
(cherry picked from commit c622884f03)
Only add or remove host capacity during migrations when the VM changes
hosts. Datastore-only migrations keep the existing host allocation, to
prevent removing the VM from the host VM collection.
(cherry picked from commit 23aba3ee81)
Adds a new componentsv2 OpenNebula logo component that loads the configured custom logo when available and falls back to the redesigned default OpenNebulaIcon. The main login, remote login, and redesigned sidebar now use this shared component so branding from configuration is respected consistently.
Modified files
Modified files
src/fireedge/src/modules/componentsv2/composed/OpenNebulaLogo/index.js
Added a reusable OpenNebulaLogo component. It requests the encoded custom logo through LogoAPI.useLazyGetEncodedLogoQuery(), renders the configured image when present, and falls back to the existing OpenNebulaIcon otherwise. It also preserves the default collapsed/open dimensions used by the icon.
src/fireedge/src/modules/componentsv2/composed/index.js
Exported the new OpenNebulaLogo component from the composed components barrel.
src/fireedge/src/modules/componentsv2/primitives/Sidebar/Default/index.js
Replaced the direct OpenNebulaIcon usage with OpenNebulaLogo, preserving the existing withText={open} behavior for collapsed and expanded sidebar states.
src/fireedge/src/modules/containers/Login/Opennebula/Opennebula.js
Updated the standard login screen to render OpenNebulaLogo instead of the fixed OpenNebulaIcon, allowing the configured custom logo to appear on the login page.
src/fireedge/src/modules/containers/Login/Remote/Remote.js
Updated the remote login screen to use the new componentsv2 OpenNebulaLogo instead of the legacy resources logo component.
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Adds OneDRS host and datastore migration threshold support across the cluster configuration UI. The update form now groups migration limits into their own section, autocomplete fields keep helper text and label tooltips separate, and the OneDRS details card displays the new threshold values alongside the existing configuration.
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>