Commit Graph
2122 Commits
Author SHA1 Message Date
Ruben S. Montero 3b7ac7f70e Revert "B OpenNebula/one#7231: Add host_authorization config on OneGate server (#3806)"
This reverts commit 7b3b082738.
2025-09-26 15:15:56 +02:00
Jan Orel 796e023af3 M #-: Add AlmaLinux10 Gemfile.lock and adjust xmlrpc deps (#3819) 2025-09-24 17:45:28 +02:00
Miguel E. Ruiz 7b3b082738 B OpenNebula/one#7231: Add host_authorization config on OneGate server (#3806)
- Also fix `content-type` for OneGate CLI

Signed-off-by: Miguel E. Ruiz <mruiz@opennebula.io>
2025-09-18 08:56:45 +02:00
Jan Orel 2a7f32b748 M #-: Switch to ruby-augeas (#3789) 2025-09-17 13:29:22 +02:00
Jan Orel a2e3349b3f B #-: Lock thin to ~> 1.8.2 due to incompatibility issues with rack (#3798) 2025-09-17 09:17:56 +02:00
Jan Orel 93b10271c1 M #-: Drop xmlrpc-c build (#3802)
- xmlrpc-c is no longer needed to be built from sources, the version is sufficient in all distros

- XML_PARSE_HUGE patch is also unnecessary

- pick `pkg-config` vs `xmlrpc-c-config` library dependency detection based on new `xmlrpc_pkgconf` scons parameter, with following options:
      - `el10` for pkg-config on RHEL/AlmaLinux 10
      - `el9`  for pkg-config on RHEL/AlmaLinux 8/9
      - `no`   for xmlrpc-c-config on Debian/Ubuntu and others (default)
2025-09-17 09:12:54 +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
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
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
Jan Orel c3c5758869 M #-: Limit nokogiri based on RubyGems version + refresh (#3783) 2025-09-08 16:47:32 +02:00
Tino Vázquez 099f00ab94 L #-: Rubocop 1.79.0 2025-07-24 13:57:53 +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
MarioRobres 18e251659d F OpenNebula/one#7097: Retrieve BRIDGE from Core for Backups (#3701)
Add LAST_BRIDGE To the backup operation. OpenNebula oned selects and stores the bridge in the BACKUP metadata. The drivers can use the selected bridge to perform the different backup phases (on the same bridge)
2025-07-14 12:54:21 +02:00
Tino Vázquez 33ee5cd4ff L #-: Rubocop 1.78.0
(cherry picked from commit 9ac25ba555)
2025-07-08 10:51:49 +02:00
NealandTino Vázquez fd5c72aa65 B #-: fix netapp config typo (#3713)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-07-03 16:52:42 +02:00
Tino Vázquez 93aaa76c1f M #-: Bump version 7.1.80 2025-07-03 12:39:15 +02:00
Tino Vázquez a2d59b8f0c M #-: Bump version 7.0.0 2025-06-24 13:40:39 +02:00
Neal 27d93ebb69 F OpenNebula/one#6753: Modify NetApp to be shared (#3669)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2025-06-05 11:48:40 +02:00
Tino Vázquez ef8051155f L #-: Rubocop 1.76.0 2025-06-05 11:26:57 +02:00
Pavel Czerný 215d93ea56 F #7067: Add MODTIME to Images (#3655) 2025-06-04 17:59:08 +02:00
Ruben S. Montero cee0b7a75d M #-: Add VLAN_TAGGED_ID to restricted attribute set
Regular users may abuse the VLAN trunking feature to access any VLAN
network.
2025-05-27 19:31:58 +02:00
Tino Vázquez 7a6bceab44 L #-: Exclude ovirt api server scripts folder 2025-05-27 11:45:02 +02:00
Josep Selga 5c6bf3160f F OpenNebula/one#6737: Added serial attribute for disks in VM 2025-05-27 11:03:51 +02:00
Tino Vázquez 8d7f7db27d L #-: Update rubocop conf file 2025-05-26 18:40:01 +02:00
Pavel Czerny 0c9fcc010b F #6606: Add CONTEXT_ALLOW_ETH_UPDATES to oned.conf 2025-05-22 12:42:34 +02:00
Pavel Czerny 1bc799be58 F #6606: CONTEXT->ETH* updates configurable 2025-05-22 12:42:34 +02:00
Tino Vázquez 0642d83e7d M #-: Bump version 6.99.90 2025-05-22 11:30:52 +02:00
Jan Orel 502028a892 M #-: Refresh Gemfile.locks before 6.99 beta2 (#3648) 2025-05-19 15:55:53 +02:00
Neal ed3d6a3a91 F OpenNebula/one#6753: remove dd from sudoers (#3621)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2025-05-07 09:49:38 +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
Ruben S. Montero 98f946cb5f M #-: Remove reference to vcenter in oned.conf 2025-05-05 13:09:49 +02:00
NealandTino Vázquez 1811ae58df F OpenNebula/one#6753: update sudoers (#3611)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-04-30 17:50:01 +02:00
Pavel Czerný 48f76cdd9c F #6753: Remove useless DISK_TYPE from DS_MAD_CONF (#3609) 2025-04-30 13:47:38 +02:00
NealandTino Vázquez 6be111196b F OpenNebula/one#6753: NetApp configuration changes (#3608)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-04-29 17:57:02 +02:00
Jan OrelandTino Vázquez 1bdc73740c M #-: Add qemu-nbd for ovirtapi (#3604)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-04-29 16:29:23 +02:00
Pavel Czerný 490b847ec8 F #6937: New orphan mode LINEAR (#3597) 2025-04-28 10:53:20 +02:00
Aleix Ramírez Baena 43c7700537 B #-: Fixes onegate client vm update method (#3598)
Signed-off-by: Aleix Ramírez <aramirez@opennebula.io>
2025-04-24 19:36:29 +02:00
Jan Orel 104b421077 B OpenNebula/one#6983: Use REXML from opennebula-rubygems (#3594)
Previously, REXML was loaded from the systempath via the rubygem-rexml RPM/DEB package. With tproxy introducing a dependency on opennebula-rubygems for KVM/LXC node packages, this change updates driver actions to use REXML provided by the OpenNebula path.

L #-: Follow new linter rule
2025-04-24 09:28:35 +02:00
Aleix Ramírez Baena 5993294ee3 B #6706: Sets content-type to onegate client requests (#3584)
Signed-off-by: Aleix Ramírez <aramirez@opennebula.io>
2025-04-22 16:34:48 +02:00
Tino Vázquez 79ac91e538 M #-: Bump to 6.99.85 2025-04-16 11:54:16 +02:00
MarioRobres 56da270c6d F #1550: Update host network BW units and remove debug files (#3570)
* F #1550: update host network BW units

* F #1550: remove debug files
2025-04-16 11:36:23 +02:00
Jan OrelandTino Vázquez 880186b280 M #-: rbvmomi2 needed for one-swap (#3564)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-04-11 11:59:45 +02:00
Jan Orel 7658ac11a8 M #-: Gems: avoid unnecessary restrictions for sinatra/puma (#3548) 2025-04-04 10:45:06 +02:00
Miguel E. Ruiz 9baa2dcc92 M #-: Add missing rackup gem to gemfile.lock 2025-04-04 09:41:49 +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
Pavel Czerný 7597b9f09a F #6911: Update xml-schema, fix 'onevm save' (#3533) 2025-04-02 20:37:09 +02:00
Miguel E. Ruiz f160442cfb F OpenNebula/one#6706: Upgrade Sinatra version to version > 4.1 (#3531) 2025-04-02 10:29:36 +02:00
Jan Orel 2a16fa14ee F OpenNebula/one-swap#42: Add one-swap gem deps (#3529) 2025-04-01 11:53:43 +02:00
Guillemo RamosandRuben S. Montero 8b7595477b F OpenNebula/one#6911: LVM thin
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2025-04-01 10:03:35 +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