Commit Graph
1207 Commits
Author SHA1 Message Date
Jan Orel f42bd9cd0a F #7450: support SUSE build (#4057)
- support for SUSE in install_gems, update locks
- don't install prometheus systemd services in install.sh
  we handle that in packages
- various minor issues: bashisms, sudoers paths
2026-02-12 09:24:59 +01:00
Victor Palma 2dccd80347 B #-: OneForm fixes (#4049)
* Add form option to install.sh
*  Improve CLI redacted output
* Add dummy OneForm drivers to simulate operation time
* Read from sensitive
* Fix delete operation
2026-02-09 09:53:03 +01:00
Pavel Czerný 8aa185bc82 M #-: Purge install script parameters (#4042)
(cherry picked from commit 4e904acb068651b42e6a227abe505781e398cfc8)
2026-02-04 12:02:57 +01:00
Ruben S. Monteroandvickmp baae300fb8 F #7460: Updates to oneform server
- Lint
- Add bash completion for oneform commands
- Driver state is now stored in /var/lib/one/oneform
- Improve rendering of descriptions in CLI (HTML/MD support)
- Move cloud providers to oneform registry
- Disable dummy driver by default
- Qeury paths for driver/provider list

co-authored-by: vickmp <vpalma@opennebula.io>
2026-02-02 19:50:01 +01:00
Miguel E. Ruiz 52ccc2d67e F OpenNebula/one-form#62: Sunstone integration with OpenNebula Form (#4026) 2026-01-27 10:22:55 +01:00
8f57c337e1 F OpenNebula/one#6778: Introduces a gRPC API server for OpenNebula Demon
This commit introduces a new API server based on the gRPC/Protobuf. The
API follow the design of the existing xml-rpc to ease the transition to
the new server and support the current state management engine.

Both API servers can be run in parallel.

Main changes:

- Decouple Generic and XMLRPC specific logic and add gRPC classes.
- Source code re-structure to include logic for each server
- New compilation options to generate gRPC stubs
- Client code for C++, Ruby, Python and Go

co-authored-by: Jan Orel <jorel@opennebula.io>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: MarioRobres <mrobres@opennebula.io>
2026-01-12 14:58:55 +01:00
Ruben S. Montero bebf710f8a F #7331: Add support for memory encryption
This commit adds support for memory encryption. It includes:

* A new VM template attribute to set memory encryption
* A host probe to gather the memory extensions available (SEV,
  SEV-ES...)
* When selected AUTOMATIC_REQUIREMENTS include memory encryption as a
  requirement
* Domain XML generation has been updated to include memory encryption
  attributes
* A kvm.conf attribute MEMORY_TUNE_OFFSET to add an additional memory
  offset for encryption.

Author: MarioRobres <mrobres@opennebula.io>
Author: Daniel Clavijo Coca <dclavijo@opennebula.io>
2025-12-17 09:46:23 +01:00
DavidandTino Vázquez d15b90931b F OpenNebula/one#7363: Add tabs to user and groupadmin views (#3972)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-12-15 16:48:02 +01:00
Ruben S. Montero a3644152c7 M #-: Add missing folders 2025-12-15 16:33:48 +01:00
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