Commit Graph
21296 Commits
Author SHA1 Message Date
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
Pavel Czerný f4a5d216a5 F 1550 fixes (#3520) 2025-03-28 11:33:28 +01:00
MarioRobres e8c5b1b71f F #1550: fix template iteration (#3517) 2025-03-27 12:38:31 +01:00
Ruben S. Montero 5ba213e2b1 F #6991: Fix bug not updating HostShare Totals 2025-03-27 11:33:23 +01:00
AngelandTino Vázquez e54eed739f F #6980: Add existing users to existing groups (#3515)
Signed-off-by: Ángel Cívico Martos <acivico@opennnebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-03-27 11:30:08 +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
Valentyn BohdanandRuben S. Montero 6c8fc58148 F #6991: Add support for PCI filtering at cluster/host level (#3501)
Two new attributes are supported for the Host/Cluster template:

- PCI_FILTER. Format is vendor:device:class with "*" as wild card. Example PCI_FILTER="10de:*,386e:0edc"
- PCI_SHORT_ADDRESS. Comma separated list of short PCI address. Example
  PCI_SHORT_ADDRESS="c1:00.2,c1:00.3,01:00.5"

When any of these attributes are defined any PCI device returned by the monitor system is filtered using this attributes. If the device does not match PCI_FILTER and PCI_SHORT_ADDRESS it is discarded.

Signed-off-by: Valentyn Bohdan <vbohdan@opennebula.io>
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2025-03-26 14:25:32 +01:00
Jan Orel 473faf7f07 L #-: Remove non-existent files from rubocop exclude (#3513) 2025-03-26 14:14:44 +01:00
Tino Vázquez e23d0b7f35 M #-: Remove vOneCloud from README 2025-03-26 11:44:03 +01:00
Tino Vázquez 18881ae0f2 L #-: Remove extra space 2025-03-26 11:32:49 +01:00
Tino Vázquez a02f7fcab1 M #-: Remove novnc from onelog 2025-03-26 11:17:49 +01:00
Ruben S. Montero cc79391fa6 M #-: Remove additional references to ebtables command 2025-03-26 10:55:30 +01:00
Jan Orel c82a94c60a F #1550: Remove hybrid leftovers (#3503) 2025-03-26 10:51:42 +01:00
Valentyn Bohdan c93077659a B #6993: Fix acl rules are not being deleted after onegroup deladmin 2025-03-26 10:26:14 +01:00
Jan Orel b8d453fa51 M #-: Remove ebtables virtual network driver
Also remove VCENTER enum in VirtualNetwork
2025-03-26 10:11:27 +01:00
vichansson 5e1c89d51f M #-: Allow -1 for migration threshold (#3509)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-03-26 09:50:09 +01:00
MarioRobres 5011f106db F #1550: update one_drs python models (#3512) 2025-03-26 09:43:32 +01:00
Jan Orel a8b4791cb7 M #-: Change alert from MemoryFree to MemoryAvailable (#3495)
More accurate for alerting as memory could be allocated from in buffers/cache.
2025-03-26 09:37:22 +01:00
Pavel Czerný 972f66aab6 F #1550: Java and go api for optimization plans (#3511) 2025-03-26 09:35:33 +01:00
Mirko Stojiljković dcb1c8b837 F #1550: Fix zero-division error (#3510)
Signed-off-by: Mirko Stojiljkovic <mstojiljkovic@opennebula.io>
2025-03-26 09:25:34 +01:00
Victor Palma 63b25f1a45 B #-: replace merge template attributes (#3506) 2025-03-25 19:40:37 +01:00
Miguel E. Ruiz 46d121d4f1 B #-: Fixes for marketplaceapp template services (#3505) 2025-03-25 19:39:57 +01:00
vichansson 2aecaa450e F OpenNebula/one#7000: DRS Sunstone integration (#3508)
* Adds the new DRS Cluster Tab in Sunstone
* Adds Host pred. monitoring Graphs
* Fix derivative calculations
* Add missing pred. metrics

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-03-25 19:07:44 +01:00
Jan Orel cecaa92b40 F #1550: Remove hybrid -- update gems (#3502) 2025-03-25 13:25:02 +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
Ruben S. Montero 637c107708 F #6885: Sort probes for a deterministic execution order 2025-03-24 15:53:18 +01:00
Marco Mancini a704b2c1bd F #6885: Add iops bw (#3498)
Signed-off-by: Marco Mancini <mmancini@opennebula.io>
2025-03-24 15:24:55 +01:00
Pavel Czerný 939d8bec57 F #1550: Fix failure response for deploy and migrate (#3499) 2025-03-24 13:35:08 +01:00
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