Commit Graph
1198 Commits
Author SHA1 Message Date
MarioRobres 826f630f00 F OpenNebula/one#7299: Add new API calls to execute commands on a Virtual Machine (#3954)
This commit adds support for remote execution of commands in a VM through qemu Guest Agent (GA). The feature includes:

* New API calls so create, cancel and retry command execution
* Command results are included in VM information
* Command line tool exposing this functionality
* Monitor probe to reap execution of commands
2025-12-10 09:41:07 +01:00
Ruben S. Montero 6893ef40c8 F OpenNebula/one#7052: Add support for hotplug NIC devices
* Supports for regular (veth) and PCI NIC devices
* Live context updates (for configuring the NIC devices)
* Supports Linux bridges, OVS and OVS DPDK
* Initial support for disk hotplugging (disabled)

Author: Daniel Clavijo Coca <dclavijo@opennebula.io>
2025-12-02 16:38:13 +01:00
Ruben S. Montero 98959c8e8c F #7323: KVM file per arch (x86_64 and aarch64)
- Provide a specific kvm configuration file for x86_64 and aarch64.
- Defaults to q35 and virt machine models for x86_64 and aarch64,
  respectively
2025-11-26 11:21:43 +01:00
Ruben S. Montero 0c286f962b F #7226: Update TM lib files to support LVM
Add library updates to improve LVM-based drivers code.

This introduces the support needed for using a Volume Group (VG)
as the backing store for an image datastore. Current version of the driver only
supports filesystem-based approach (fs_lvm_ssh).

Author: Guillermo Ramos <gramos@opennebula.io>
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2025-11-20 18:02:02 +01:00
Jan Orel ff42ab23b8 M #-: Drop non-existent files from install.sh (#3943) 2025-11-20 09:58:27 +01:00
bfccb59244 F OpenNebula/one#7361: Introduce OneForm (#3930)
Co-authored-by: Victor Palma <vpalma@opennebula.io>
Co-authored-by: Miguel E. Ruiz <mruiz@opennebula.io>
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2025-11-13 17:06:42 +01:00
Jan Orel a6b877638a B #7182: Install forecast.conf in qemu-probes.d (#3834) 2025-09-30 17:49:05 +02:00
Guillemo Ramos 685a21ef9d F # 5892: vTPM support (#3668)
This commit add support for vTPM devices:

* TPM devices can be enabled by adding TPM = [ MODEL = "..." attribute to the VM. Only model is supported

* vTPM data is saved (and restored) as part of the backup information for the VM.  The TPM data is saved as a tarball with the special name disk.tpm.0. This way backup drivers manage this as another disk. When restoring from a backup, the saved TPM state is stored into the new VM template using the attribute "TPM_STATE" (base64 encoded).

* A new sudo action has been added to the kvm driver to prepare the tpm folder

Note: Packages setup TPM permissions to oneadmin in libvirtd configuration files.
2025-09-16 14:00:43 +02:00
Jorge Miguel Lobo Escalona c22c843a56 F OpenNebula/one#6496 : SAML support (#3781)
Including CLI, API and GUI

Signed-off-by: Daniel <dgarcia@opennebula.io>
2025-09-09 16:09:02 +02:00
Josep SelgaandRuben S. Montero 78638dab05 F OpenNebula/one#6912: Thin LVM - incremental backups (#3734)
Signed-off-by: josepselga <jselga@opennebula.io>
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2025-07-24 13:55:13 +02:00
Josep SelgaandGuillemo Ramos 023924e008 F OpenNebula/one#6857: Add flattening support for Ceph incremental backups (#3699)
Signed-off-by: josepselga <jselga@opennebula.io>
Co-authored-by: Guillemo Ramos <gramos@opennebula.io>
2025-07-15 14:08:40 +02:00
Ruben S. Montero 1369b9989d F OpenNebula/one#6373: Add missing file to install.sh 2025-07-10 09:14:25 +02:00
Ruben S. Montero b600de1d19 M #-: Refresh onecfg migrators
Bootstrap onecfg migrators for next release
2025-07-04 12:53:32 +02:00
Pavel Czerný 29e7a6e970 M #-: Bump DB version (#3714) 2025-07-04 09:24:01 +02:00
Ruben S. Montero 9a58336e5b F #-: Add DB and configuration file migrators migrators
1. Remove ondb Sconstruct file for marshalling
 2. Add migrators
 3. Remove uneeded patch files for onedb
 4. Add onecfg migration files and tools
 5. Refresh migrators for 7.0.0 release
2025-06-26 17:23:37 +02:00
vichansson 41d53e2671 M #-: Remove redundant sunstone dirs (#3629)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-05-08 10:14:42 +02:00
Ruben S. Montero 36592c14c2 M #-: Update installation folder of sunstone-views.yaml 2025-05-08 09:42:56 +02:00
Ruben S. Montero 2b62f451ce Reapply "M #-: Sunstone QA fixes (#3619)"
This reverts commit 3dbfe37ea0.
2025-05-08 08:53:51 +02:00
Ruben S. Montero 3dbfe37ea0 Revert "M #-: Sunstone QA fixes (#3619)"
This reverts commit 0ef10a8bdc.
2025-05-07 21:49:38 +02:00
vichansson 0ef10a8bdc M #-: Sunstone QA fixes (#3619)
* Update filtering behavior
* Fix VM table filtering
* Updates all table filters to be inclusive
* Fix user input parsing for options
* Fixes options casting of existing values when updating
* Allows empty network definitions for service templates
* Fixes orphan Network Form Blocks OneKE Setup
* Fix generic quota tooltip rendering
* Fixes problems when defining a generic and cluster quota for an user
* VM (compute) generic quota can now be set using the "@Global" cluster
  ID
* Resource ID dropdown now displays the names of all available resources
*  Update views location + VNC fix
* Fixes folder profiles appears as a view
  - Sunstone views location is now isolated to `sunstone/views/` instead
    of being directly located in the base config directory of Sunstone.


Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-05-07 18:03:14 +02:00
Jan Orel 4c92499a70 M #-: Simplify ruby path setup (#3613)
- we deliver /usr/lib/ruby/load_opennebula_paths.rb
- sym-linked from known (system-wide) Ruby path
  - Debian/Ubuntu: /usr/local/lib/site_ruby/load_opennebula_paths.rb
  - RHEL/Alma:     /usr/local/share/ruby/site_ruby/load_opennebula_paths.rb
- suppress warnings from Rubygems no longer needed
2025-05-05 13:24:22 +02:00
Guillermo Ramos 72a79327fb F #7029: Full backups for LVM driver
This commit implements the backup actions for the LVM driver (fs_lvm_ssh).

Datastores using the non-thin fs_lvm_ssh driver also benefit from this
implementation, although backups can only be made while the VM is powered off.
2025-04-30 13:43:56 +02:00
vichansson 8da2d007b6 F OpenNebula/one#6648: Add nested labels support (#3555)
* Add resource type to all tables
* Update all cards to display new labels
* Add edit permissions check on labels
* Add table filter support
* Add default labels support

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-04-07 16:28:05 +02:00
Jorge Miguel Lobo EscalonaandTino Vázquez 48e1c851ae F OpenNebula/One#6796: adding the dashboard-tab file (#3547)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-04-04 10:59:42 +02:00
Jan Orel e5bd082047 M #-: Fix misleading install.sh help (#3538) 2025-04-03 16:58:35 +02:00
Jan Orel 25c7e91a43 F #6102: Drop oneprovision (#3536)
This is to make room for the new server, includes removal of:

* oneprovision code
* Fireedge inerface tab
2025-04-03 09:32:30 +02:00
Jan Orel 9d9f58df7b F OpenNebula/one#6038: Switch off FIREEDGE_DEV default, fixup! (#3527)
This reverts commit b662701553.
2025-03-31 19:44:14 +02:00
Jan Orel b662701553 F OpenNebula/one#6038: Switch off FIREEDGE_DEV default (#3525) 2025-03-31 16:40:30 +02:00
Jan Orel b8d453fa51 M #-: Remove ebtables virtual network driver
Also remove VCENTER enum in VirtualNetwork
2025-03-26 10:11:27 +01:00
Jan Orel c1bbbdab28 OpenNebula/one#6720: Remove vcenter, ruby Sunstone
This commits removes two components:

- vcenter driver and associated dependencies
- Ruby Sunstone
2025-03-25 13:13:27 +01:00
e2539c32c8 F #6680,#6682: Improve OneFlow data model and add support to VR
This commits adds the following improvements:

* Improving Usability & Consistency in flow documents:
  - vm_template -> template_id, generic as also VR templates are
    considered
  - vm_template_contents -> template_contents, same as above
  - custom_attrs -> user_inputs, use same name convention as VM
    Templates
  - custom_attrs_values -> user_inputs_values, same as above

* Easier OneFlow operations
  - template_contents (old vm_template_contents) is now in JSON format
    instead of a String.
  - better error reporting when merging template contents

* Role can use Virtual Routers as main element, supporting all role
  features (user inputs, dependencies and network creation). Related
  changes:
  - Role data model structure has been totally refactored to accomodate
    the new type (vmrole.rb and vrrole.rb)
  - VR roles use VR OpenNebula API to create associated VMs.
  - VR HA uses the cardinaility of the role

  New attributes:
  - type, new attribute to identify the role type VM or VR
  - vrouter_ips, floating IP of each network managed
  - vrouter_id, of the associated VR

* Improved Sunstone interface for flows, including support for the new
  features.

co-authored-by: Victor Palma <vpalma@opennebula.io>
co-authored-by: Miguel E. Ruiz <mruiz@opennebula.io>
co-authored-by: Victor Hansson <vhansson@opennebula.io>
2025-03-19 12:17:29 +01:00
Tino Vázquez d87018c259 M #-: Removed reference to non existant file 2025-03-17 19:08:20 +01:00
Ruben S. MonteroandMarco Mancini 8d695037a3 F #6885: Add lxc forecast probes
co-authored-by: Marco Mancini <mmancini@opennebula.io>
2025-03-16 02:25:39 +01:00
Ruben S. Montero a3523a04a7 F #6885: Add probe to clean the DB folder.
- Make sure DB folder exists
- Fix path in host prediction.sh for host
2025-03-11 17:48:27 +01:00
MarioRobres 14516356da F #1550: Add support for one_drs optimization (#3458) 2025-03-07 14:00:17 +01:00
Jan Orel ace8a18fe1 F #1550: Don't install different arch cbc (#3456) 2025-03-07 13:04:36 +01:00
108065eac5 F #6885: Forecasting metrics
This commit includes metrics forecasting for VMs and Hosts. It provides
basic algorithms for linear regression.

* VM prediction includes the following metrics:
    - cpu
    - memory
    - netrx
    - nettx
    - diskrdbytes
    - diskwrbytes
    - diskrdiops
    - diskwriops

* Host prediction includes:
    - usedcpu
    - freecpu
    - usedmemory
    - freememory
    - netrx
    - nettx

The prediction framework uses a time series DB per VM (stored in the VM
folder) to compute the forecast.

co-authored-by: Marco Mancini <mmancini@opennebula.io>
co-authored-by: Jakub Walczak <jwalczak@opennebula.io>
co-authored-by: dmingolla <dmingolla@opennebula.io>
2025-03-06 12:18:32 +01:00
vichansson 7580206aef F OpenNebula/one#6674: Change .json to .yaml config (#3444)
* Changes Sunstone tab-manifest & remotes-config files from .json to
  .yaml
* Improves Sunstone client handling of remotes.
  - Now catches script runtime errors

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-03-05 12:27:58 +01:00
Ruben S. Montero 3265c6d99c M #-: Remove deleted file from install.sh 2025-03-03 20:57:40 +01:00
Ruben S. Montero 9da8ea1a5d F #-: Remove legacy code for Hybrid Cloud 2025-03-02 17:29:14 +01:00
Tino Vázquez a64f071808 M #-: Bump year 2025 2025-02-28 11:56:18 +01:00
eda55567b1 F #1550: New Scheduler Framework for OpenNebula & DRS scheduler
This commits introduces a new framework for OpenNebula, it is based on
standard the OpenNebula middleware access driver (mad) model. Benefits
compared to the current implementation:

* Less overhead on API server and streamlined communications
* Ease integration with third party schedulers
* New "optimize" action to balance the workload of a cluster
* Embedded Plan Manager to apply optimization and deployment plans with
  custom parameters for the scheduling window
* Custom optimization policies per cluster

This commits introduces 2 schedulers:

* Rank scheduler based on the match-making algorithm present in 6.x
  series
* OpenNebula DRS an optimization algorithm based on an ILP solver for
  placement and cluster optimization

Also new API calls has been added for onecluster as well as the CLI
updates to expose them.

co-authored-by: MarioRobres <mrobres@opennebula.io>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: Mirko Stojiljkovic <mstojiljkovic@opennebula.io>
co-authored-by: Valentyn Bohdan <vbohdan@opennebula.io>
2025-02-27 16:33:05 +01:00
Jan Orel c5fb25e105 M #-: Fix typo (#3412) 2025-02-04 18:59:13 +01:00
Jan Orel 246a21310f B #-: Fix alertmanager.yml path for arm64 (#3410) 2025-02-04 16:02:33 +01:00
vichansson d59386362c F OpenNebula/one#6674: Sunstone Micro-Frontend architecture (#3339)
New and very cool Micro-Frontend architecture for Sunstone

* Removed devexpress dependencies due to conflicts with @emotion/css
* Rewrote chartist component to use recharts instead
* Fixed OpenNebula/one#6788
* Updated packages & shared deps
* Adds the ability to dynamically change the URL of a remote without
  restarting
  - All modules (remotes) are resolved from the
    /etc/sunstone/remotes-config.json file
* Change to deterministic naming
* Enabled parallel builds for components
* Adds a minimal fallback editor for when modules fail to load
* Client bootstrapping test-loads all remotes, reverting to editor in
  case it can't be resolved
* Server now handles failed parsing of remotes-config.json
  - Sends a fallback config in such cases pointing all remotes to
    localhost.

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-01-02 12:00:56 +01:00
Jan Orel 115236c44b M #-: fixup! Download and install also arm64 vendor bin. (#3330) 2024-12-19 20:13:18 +01:00
Jan Orel 6b115f0295 M #-: Download and install also arm64 vendor bin. (#3329) 2024-12-19 13:18:25 +01:00
Ruben S. Montero d546ed3db3 F #6756: Fix for Scaleway driver
- Missing files in install.sh
- Fix bug in unregister_address_range
2024-12-09 01:08:21 +01:00
Ruben S. Montero 450563d408 F #6756: Add files to installer 2024-12-05 20:00:46 +01:00
Guillermo RamosandRuben S. Montero 1ef2f06ed6 F #5853: New version of ssh drivers
- Now are named local. SSH drivers will be distributed for running VMs
  that use the SSH drivers.
- The new drivers optimize Qcow2 operations in the same way as the
  shared TM driver, including:
    - thin provisioning, when available a cow copy is made
    - Qcow2 snapshots for the snapshot operations
    - Some operations has been improved code-wise
    - It should be a drop-in replacement for ssh
- New drivers are written in Ruby to accommodate future improvements
- By default new datastores will use "local" instead of "ssh"

co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2024-11-24 18:41:32 +01:00