Commit Graph
21265 Commits
Author SHA1 Message Date
Miguel E. Ruiz 2dd2e2c138 B #-: Fix on marketapp helper about obtain templates (#3500) 2025-03-24 11:57:31 +01:00
Marco Mancini 5e9b2cfbd3 M #-: Add try/except when creating entity in prediction probe (#3497)
Signed-off-by: Marco Mancini <mmancini@opennebula.io>
2025-03-22 14:16:03 +01:00
MarioRobres 89672d605f F #1550: update one_drs default configuration (#3494) 2025-03-21 15:20:48 +01:00
Victor Palma f38d382d0e B #6680: Get attributes from request body <v7.0 (#3493)
* B #-: Get attributes from request body <v7.0

* B #-: Get role attributes from request body <v7.0
2025-03-21 14:48:51 +01:00
Aletibazo a19bc18592 B OpenNebula/one#6997: Migration not executed src host ID 0 (#3492)
Remove condition that returns function in the case src_id == 0, because it will make migrations not work in specific cases

Signed-off-by: Alejandro Mosteiro <amosteiro@opennebula.io>
2025-03-21 13:10:05 +01:00
Valentyn Bohdan 49ae09b024 B OpenNebula/one#6858: Fix vnet template BRIDGE_TYPE is not being updated after VM_MAD changed (#3489) 2025-03-21 10:12:15 +01:00
Pavel Czerný a5dc8f5a5a F #1550: Remove omitempty in golang service API (#3490) 2025-03-21 10:07:32 +01:00
Marco Mancini 7891f54fa0 F #6885: Update algorithm for predictions and add BW metrics (#3491)
Signed-off-by: Marco Mancini <mmancini@opennebula.io>
2025-03-21 10:05:54 +01:00
Miguel E. Ruiz 080e0e14e7 M #-: Improve messages on oneflow template validator (#3488) 2025-03-20 17:20:20 +01:00
Pavel Czerný dcb8493d42 F #6682: Update golang API (#3486) 2025-03-20 15:35:01 +01:00
Victor Palma 87c6d4a697 F #6680: Add service template compability mode <v7.0 (#3487) 2025-03-20 14:49:14 +01:00
Tino Vázquez 4a74366c7c M #-: Point to latest stable release instead 2025-03-20 11:48:13 +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
Pavel Czerný 130bd13394 F #1550: Fix xml-schema (#3484) 2025-03-19 16:05:20 +01:00
Ruben S. Montero 66043b56fc M #-: Add dummy as supported system datastore
Now dummy drivers are enabled by default in TM and image DS drivers, but
not for system DS. This commit enables 'dummy' for the system DS drivers.
2025-03-19 12:52:49 +01:00
Jan Orel dfa9f61356 M #-: Update onecfg files.yaml (#3483) 2025-03-19 12:42:11 +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
MarioRobres bd0d225b7f F #1550: sanitize weights and refactor one_drs defaults (#3481) 2025-03-18 17:30:52 +01:00
Valentyn Bohdan bfbc4c16c6 B OpenNebula/one#6892: Add check for password upper limit (#3460)
Signed-off-by: Valentyn Bohdan <vbohdan@opennebula.io>
2025-03-18 17:28:02 +01:00
Valentyn Bohdan 0e1069c2e5 F #1550: Split optimize and place scheduler selection (#3480) 2025-03-18 16:32:49 +01:00
Pavel Czerný 63c6969a32 F #1550: DRS automation 2025-03-18 16:24:07 +01:00
Ruben S. Montero 924db5cb70 B #6986: Update monitord.conf default address
Use :: to bind the monitor socket to better capture SSH_CLIENT with ::1
using localhost
2025-03-18 12:51:03 +01:00
Pavel Czerný a3275cdf59 F #1550: Fix history plan_id for migration, fix capacity scheduling (#3475) 2025-03-18 09:36:24 +01:00
Tino Vázquez d87018c259 M #-: Removed reference to non existant file 2025-03-17 19:08:20 +01:00
Jan OrelandRuben S. Montero db1409fc22 M #-: Update OVMF_UEFIS (#3477)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2025-03-17 18:12:10 +01:00
vichansson 6fcb2105f0 F OpenNebula/one#6885: Add missing metrics (#3476)
* Fix derivative calculations
* Add padding to better display labels
* Add missing pred. metrics

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-03-17 12:54: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
vichansson e6cbc18a08 F OpenNebula/one#6685: Expose pred. monitoring metrics (#3474)
* Refactors the ´Chartist´ component using the high performance uPlot
  library.
  - Implemented zooming & clustering
* Exposes new monitoring metrics [CPU_FORECAST, CPU_FORECAST_FAR]

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-03-17 10:14:38 +01:00
Ruben S. Montero f3da40c424 B #6985: Prevent race condition errors with keep_empty_bridge 2025-03-16 12:05:06 +01:00
Ruben S. Montero 5d6878d401 F #1550: Do not call scheduler if pools cannot be set
This fixes error messages in VMs
2025-03-16 11:43:12 +01:00
Ruben S. Montero 1287176081 M #-: Host State 1 (MONITORING_MONITORED) not used 2025-03-16 03:02:56 +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
Pavel Czerný f207ae66b2 F #1550: Add action labeling (#3448) 2025-03-14 17:16:49 +01:00
Marco Mancini 75118a0afc F #6885: No output from the prediction probe when the forecast is 0 (#3469)
Signed-off-by: Marco Mancini <mmancini@opennebula.io>
2025-03-14 13:35:04 +01:00
Pavel Czerný 8a8e39cd3b F #1550: Monitoring should respond to start/stop msg (#3471) 2025-03-14 13:33:25 +01:00
Mirko StojiljkovićandMarioRobres 3fbf396133 F #1550: Support disk and net usage in the objective function (#3457)
Signed-off-by: Mirko Stojiljkovic <mstojiljkovic@opennebula.io>
Co-authored-by: MarioRobres <mrobres@opennebula.io>
2025-03-14 11:34:57 +01:00
Tino Vázquez 7566f0043d L #-: Rubocop 1.74.0 2025-03-14 10:48:50 +01:00
Pavel Czerný 182ae0622f F #1550: Fix cluster template scheduling (#3466) 2025-03-13 12:17:48 +01:00
Pavel Czerný 44e1454c94 F #1550: Fix mem leak in rank scheduler (#3467) 2025-03-13 12:16:58 +01:00
Ruben S. MonteroandVictor Hansson 4afb596454 M #-: Remove non-printable chars
:)

co-authored-by: Victor Hansson <vhansson@opennebula.io>
2025-03-11 20:55:02 +01:00
Tino Vázquez 7668c621b4 L #-: Fix identation 2025-03-11 18:50:41 +01:00
Ruben S. Montero 70409c1b76 L #-: Fix cpp linter [knownConditionTrueFalse] 2025-03-11 18:40:56 +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 d21a8f92f3 F #1550: update parse for VM Groups (#3465)
* remove affined VM Groups joining
* merge only affined groups
* consider already placed VMs for VM Group affinity
* do not create VM Groups if the role has running VMs
2025-03-11 17:31:33 +01:00
Jorge Miguel Lobo Escalona bb2e75bdd7 M #-: Fix filters datatables (#3464) 2025-03-11 17:23:02 +01:00
Marco Mancini 8728c71b58 F #6885: Update path of monitoring DBs due to a race condition with shared storage (#3463)
Signed-off-by: Marco Mancini <mmancini@opennebula.io>
2025-03-11 17:01:40 +01:00
Ruben S. Montero f48c0df0d2 M #-: Only update deploy_id for RUNNING updates 2025-03-11 14:13:53 +01:00
Ruben S. Montero 85360684b1 Merge pull request #3462 from OpenNebula/f-1550-cluster-attributes
F #1550: Cluster DRS attributes accept empty string
2025-03-11 12:06:06 +01:00
Pavel Czerny cd5ff458b4 F #1550: Cluster DRS attributes accept empty string 2025-03-11 10:39:50 +01:00