Commit Graph
1748 Commits
Author SHA1 Message Date
bffbecedc0 F #913: Storage live migration
The following TM's now support storage live migrations:

- File system based (local and shared variants)
- LVM based (pure LVM, and LVM thin)

The LVM TM's does not support migrating a VM with disk snapshots.

co-authored-by: Guillermo Ramos <gramos@opennebula.io>
co-authored-by: josepselga <jselga@opennebula.io>

Author: Guillermo Ramos <gramos@opennebula.io>
2026-02-17 09:45:33 +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ý 03e59c5718 M #-: Fix return code for onetemplate clone (#4047) 2026-02-06 17:27:17 +01:00
MarioRobres f46e7953ee B #7455: remove LEASES from updatear (#4030) 2026-02-04 12:05:02 +01:00
Pavel Czerný 9f0c7dc334 B #7254: Fix copy-paste typo in oneuser and onegroup helper (#4041) 2026-02-04 09:40:09 +01:00
Pavel Czerný 52d6ec7e07 B #7254: Fix quotas for CLI oneuser and onegroup list (#4035) (#4040)
* Fix `onegroup list` for cluster quota
* Fix `onegroup list` and `oneuser list` for duplicit VM_QUOTA
* Linting
2026-02-03 10:23:00 +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
Pavel Czerný a29cf07b0b F #6778: Fix build with grpc=no (#4029) 2026-02-02 12:29:40 +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
Ruben S. Montero 6be7ed9362 M #- [OneForm]: Add support for user inputs in templates
This commit replaces {{user_inputs.<input>}} strings in OpenNebula
template: sections. This way common parameters for datastores and
networks can be defined by the user.

Change "force" message in API error message

Fix onecluster show

OnPrem clusters:
  - Improve naming and descriptions
  - Add method to precreate datastore folder dirs
  - Adjust site.yaml
2026-01-23 21:19:21 +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
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
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
MarioRobres de46992f0c F OpenNebula/one#7235: Auto-enable index during multiple persistent VMs (#3896) 2025-11-05 13:50:53 +01:00
Pavel Czerný 77fae428d6 M #-: Fix CPUS typo in onehost_helper (#3816) 2025-09-22 14:58:21 +02:00
Ruben S. Montero 54f21aae0f M #-: Skip NUMA CPU cores information for non-cpu nodes
For example in some ARM architectures

(cherry picked from commit 378684229b)
2025-09-20 14:06:11 +02:00
Jan Orel 2a7f32b748 M #-: Switch to ruby-augeas (#3789) 2025-09-17 13:29:22 +02:00
MarioRobres aadbb4ee30 F OpenNebula/one#6408: Support for internal snapshots in UEFI VMs (#3792) 2025-09-16 17:06:26 +02:00
Ruben S. Montero 370a3daf64 F OpenNebula/one#7221: Add GPU monitoring & forecast for VMs
This commit extends the KVM domain probe to monitor NVIDIA GPUs:

* GPU metrics: GPU_UTILIZATION, GPU_MEMORY_UTILIZATION, GPU_MEMORY_FREE,
  GPU_POWER_USAGE, GPU_COUNT

* Implements method for NVIDIA GPUs. The code is prepared to add AMD
  vendor in the future

* NVIDIA monitor uses nvidia-smi through qemu guest-agent those are
  requirements for the VM to report metrics

* oned now adds PCI information (vendor, device and class) to all PCI
  devices (i.e. even if using SHORT_ADDRESS).

* KVM metadata include PCI devices in the VM to skip VMs not using
  supported GPU's

Signed-off-by: josepselga <jselga@opennebula.io>
2025-09-10 14:40:58 +02:00
Pavel Czerný f68c826ac8 F #951: Quota for PCI devices (#3756)
This commit adds support for PCI device quotas. It includes the following new attributes:

- PCI_NIC (and RUNNING_PCI_NIC), to account for PCI devices of TYPE = NIC
-  PCI_DEV (and RUNNING_PCI_DEV), to account for generic PCI devices  

This commits also includes:
  - Simpler naming of the onegroup/oneuser quota names (RUNNING is now just label as RUN and SYSTEM_DISK_SIZE  is now DISK SIZE)
- Consolidation of some duplicated logic in oned
- Golang bindings has been extended to include the new quota
- fsck update for the new quotas
- migrator for 7.2.0 release
2025-09-10 09:54:44 +02:00
MarioRobres bc9bb23bc8 B OpenNebula/one#7040: consider USER_INPUTS in onetemplate instantiate (#3731) 2025-07-16 12:19:26 +02:00
Tino Vázquez dba28daf4d L #-: Rubocop 1.77.0 2025-06-23 15:52:44 +02:00
Pavel Czerný 215d93ea56 F #7067: Add MODTIME to Images (#3655) 2025-06-04 17:59:08 +02:00
Pavel Czerný 3c43288ac6 M #-: Fix CLI output for 'onevm show' (#3666) 2025-06-04 17:57:12 +02:00
Pavel Czerny 1bc799be58 F #6606: CONTEXT->ETH* updates configurable 2025-05-22 12:42:34 +02:00
Daniel Clavijo Coca 63c38d7fb0 F OpenNebula/one#7044: Improve CLI Marketplace Apps listing (#3612) 2025-05-05 16:15:04 +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
Tino Vázquez 472fda35cc L #-: Fix for rubocop 1.75.3 2025-04-22 16:06:05 +02:00
Victor Palma e0e5b5093b B #-: Fix undeploy success condition (#3556) 2025-04-08 08:53:38 +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
Ruben S. Montero 732634b5a0 B #-: Fix max value display in one_vm command for monitoring 2025-03-31 10:50:21 +02:00
Ruben S. Montero 4f15b2ff9b L #-: Fix linter errors 2025-03-31 10:45:53 +02:00
Ruben S. Montero 71ac165640 F #6885: Improvements for the forecasting probe
- Add bandwidth metrics to CLI and monitor deamons
- Updated forecast configuration with default models and larger intervals
- Better checks for filling gaps in SQLiteAccessor
- Remove forecast for counter metrics (NET_[RX|TX], DISK[RD|WR]BYTES and IOPS)
- Update one_drs to use bandwidth metrics
- Save monitor agent configuration to a file (/var/tmp/one_db/config) and use it in predictions
2025-03-28 14:00:43 +01:00
Tino Vázquez 1008a716e2 L #-: Rubocop 1.75.1 2025-03-27 11:23:50 +01:00
Ruben S. Montero 4aebee5923 M #-: Remove unused constant 2025-03-26 19:17:14 +01:00
Tino Vázquez a02f7fcab1 M #-: Remove novnc from onelog 2025-03-26 11:17:49 +01:00
Jan Orel c82a94c60a F #1550: Remove hybrid leftovers (#3503) 2025-03-26 10:51:42 +01:00
Miguel E. Ruiz 46d121d4f1 B #-: Fixes for marketplaceapp template services (#3505) 2025-03-25 19:39:57 +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
Miguel E. Ruiz 2dd2e2c138 B #-: Fix on marketapp helper about obtain templates (#3500) 2025-03-24 11:57:31 +01:00
Jaime Conchello 73447d6902 B OpenNebula/one#6975: Support user-input values containing commas (#3482)
Signed-off-by: Jaime Conchello <jconchello@opennebula.io>
2025-03-19 16:06:28 +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 f6da7b30e2 F OpenNebula/one#821: Remove defaulting to UTC 2025-03-17 12:11:09 +01:00
Rostyslav YatsyshynandTino Vázquez 4b6692fe4a F OpenNebula/one#821: Add timezone flag to oneacct utility (#3473)
* Add key -t, --timezone

Signed-off-by: Rostyslav Yatsyshyn <ryatsyshyn@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-03-17 11:12:59 +01:00
Tino Vázquez c15526222b L #-: rubocop 1.73.2 2025-03-10 13:20:17 +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
Jaime Conchello 9aa581f984 B OpenNebula/one#6948: Include user_input processing as in onetemplate (#3433)
Signed-off-by: Jaime Conchello <jconchello@opennebula.io>
2025-03-03 18:10:11 +01:00
Pavel Czerný 83bcae5c5f F 1550: Remove unused files from serversync (#3438)
* Remove unused files from serversync
* Add new schedulers folder
* Better error log in case file doesn't exists
* Fix c++ linting
2025-03-03 11:58:06 +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