* 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
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>
* 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)
Parse the VM XML before reading FS_FREEZE, preventing the setting from
silently falling back to NONE.
Split live Ceph backup preparation into two phases:
- Freeze the guest, create RBD snapshots and thaw it on the hypervisor.
- Export and clean up the snapshots on LAST_BRIDGE.
Run virsh operations as standalone commands so their failures are not
masked by chained operations. Preserve the original error and clean up
the guest and RBD snapshots when either phase fails.
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
* Now allows graph series visibility to be toggled by clicking the
legend marker in the bottom. This fixes the issue with spiked graphs
due to very large predictions compared to actual usage for example.
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
- Supports entering multiple DNS servers individually or as a whitespace-separated value.
- Serializes the DNS server list as a space-separated string when submitting the form.
* Exposes a new switch for VM templates and already instantiated VMs to
block OneDRS migration by setting the "ONEDRS_BLOCKED" attribute.
- For VM templates this is found under the second step of the
update/creation dialog under the Placement tab.
- Already insantiated VMs can use this from the single view, under
the configuration tab, invoking the "Update configuration" dialog,
which now has a new Placement tab as well.
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
- Added a persistent current-location notice to the VM migration form, showing each VM’s current host and datastore.
- Displays the information in both the host selection and advanced options steps.
- Supports single and multiple VM actions, hides unavailable location data, and uses theme-aware colors for light and dark modes.
(cherry picked from commit b691c1eed0)