Commit Graph
21883 Commits
Author SHA1 Message Date
Ruben S. Montero cf5fbf92e0 Revert "F OpenNebula/engineering#716: Add opennebula-exporter funct (#4129)"
This reverts commit 68d74e4afc.
2026-03-30 10:16:07 +02:00
Ruben S. Montero ebbb7be5d4 M #-: Bump version 7.3.80 2026-03-30 09:58:53 +02:00
Jan Orel ac19e06a24 M #-: Refresh onecfg migrators (#4136) 2026-03-27 18:33:47 +01:00
Jorge Miguel Lobo EscalonaandTino Vázquez 68fa8c36f2 M #~: FireEdge translates (#4135)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2026-03-27 12:39:40 +01:00
Guillermo Ramos 8d9ab8e4c6 F #-: Bump Restic version 0.17.3 -> 0.18.1 (#4134)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2026-03-27 12:31:41 +01:00
MarioRobres 74813206e5 B OpenNebula#7532: LAST_BRIDGE to use comma-separated bridges instead of space-separated (#4132) 2026-03-27 09:44:18 +01:00
roamingengineer311andTino Vázquez 68d74e4afc F OpenNebula/engineering#716: Add opennebula-exporter funct (#4129)
FireEdge status, AR Capacity metrics, HA metrics

Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2026-03-26 19:41:31 +01:00
Miguel E. Ruiz 1d89659d04 M OpenNebula/one#: Fix links for Onprem Jinja files (#4131)
Signed-off-by: Miguel E. Ruiz <mruiz@opennebula.io>
2026-03-26 15:19:03 +01:00
Michal Opala 53e89898f9 M #-: Convert tproxy nft snippets to imperative syntax (fix) (#4130)
Signed-off-by: Michal Opala <sk4zuzu@gmail.com>
2026-03-25 20:52:04 +01:00
Victor Palma 79913f6c70 B #-: Fix nil to_i implicit conversion (#4128) 2026-03-25 16:57:59 +01:00
Pavel Czerný 721c143f20 M #-: Fix typo in user_helper quotas (#4127) 2026-03-25 15:23:27 +01:00
Miguel E. Ruiz b241cd553a B OpenNebula/one#: Fix Oneform Jinja files (#4125)
Signed-off-by: Miguel E. Ruiz <mruiz@opennebula.io>
2026-03-25 15:22:45 +01:00
Jan Orel b2d9fc8654 M #-: Add Suse15 ARM64 Gemfile.lock (#4126) 2026-03-25 15:19:41 +01:00
Pavel Czerný e219d6e872 M #-: C++ linting (#4122) 2026-03-25 12:20:23 +01:00
MarioRobres e6844a61d2 M #-: VirtioFS fixes (#4124)
* Remove mandatory persistent FILESYSTEM images
* Disable snapshot and backup for VM with FILESYSTEM disks
* Add suse15 virtiofsd path
* Fixes to virtiofsd wrapper
2026-03-24 16:00:43 +01:00
Jan Orel b777defb67 M #-: Add own suse sudoers, due to iscsiadm in /sbin (#4121) 2026-03-23 17:06:15 +01:00
Jan Orel d98f98b6fb L #-: Linting (#4118) 2026-03-20 19:24:21 +01:00
MarioRobres 30f33b4b14 F OpenNebula/one#7373: virtiofsd wrapper (#4119) 2026-03-20 19:23:30 +01:00
David 2ebe4ee328 M #-: Add oneform man page (#4104)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2026-03-19 19:15:40 +01:00
Ruben S. Montero fec2995f13 M #-: Missing changes. Fix compilation 2026-03-19 17:58:13 +01:00
Ruben S. MonteroandMarioRobres 0dec96faa7 F OpenNebula/one#7494: Improve message when scheduler fails
Include more specific reasons when a VM cannot be scheduled.
Increased sheduling matching and dispatch errors to DDDEBUG category

co-authored-by: MarioRobres <mrobres@opennebula.io>
2026-03-19 17:32:58 +01:00
Jan Orel 3b34fcc044 M #-: rubygems: Lock public_suffix gem (#4117)
Avoid installing too new public_suffix in Suse15 with old ruby
+ refresh gems
2026-03-19 14:47:06 +01:00
MarioRobres 3d82493cfe M #-: add DATASTORE_CAPACITY_CHECK to opennebula_configuration.xsd (#4115) 2026-03-19 12:03:28 +01:00
Ruben S. Montero 1189415195 F #7373: Improve ID mapping for virtiofs
- enable sandbox mode
- better default maps
2026-03-19 11:39:52 +01:00
Miguel E. Ruiz 379678f575 F OpenNebula/one#7500: Update Onprem Clusters descriptions (#4111)
Signed-off-by: Miguel E. Ruiz <mruiz@opennebula.io>
2026-03-18 17:37:22 +01:00
MarioRobres e7b808e21f M #-: VirtioFS not persistent and extra dir check (#4114) 2026-03-18 14:53:46 +01:00
Jan Orel b2452851bb M #-: SLES15: use python3.11 (#4113) 2026-03-18 14:11:45 +01:00
vichansson 63659bb381 F OpenNebula/one#7528: Fix numa affinity render (#4112) 2026-03-18 12:10:21 +01:00
d8e0ee2036 F #7373: FSaaS (File System as a Service) for OpenNebula
NAME   = test_ds
DS_MAD = virtiofs
TM_MAD = local
TYPE   = IMAGE_DS
DISK_TYPE = FILESYSTEM

oneadmin@ubuntu2204-kvm-ssh-7-0-f4a9-0:~$ cat img.txt
NAME="test_fs"
TYPE="FILESYSTEM"
PATH="/var/tmp/sharedfs_test"
PERSISTENT="YES"
PERSISTENT_TYPE="SHAREABLE"

DISK=[
  IMAGE_ID="21" ]

Notes:

* Same FS image cannot be used twice in the same VirtualMachine, nor the
  same tag twice
* OpenNebula will generate a MOUNT_POINT = /mnt/one-fs-<image_id> and a
  MOUNT_TAG = one-tag-<image_id>. Both can be overwritten at DISK level.
* When using Hugepages in the VM that will be used for virtiofs and
  memory access will default to shared. Do not use
  MEMORY_ACCESS='private'
* If not using hugepages the VM will use memfd as memoryBacking source
  if it includes a filesystem.
* OpenNebula will map FS access (UID/GID) to a given user that can be
  configured per host, cluster or globally in vmm_exec_kvm.conf. By
  default all access is mapped to oneadmin account.
* Datastore monitorization will report 0 free/used/total size. Images,
  representing the FS folder, reports size as the result of a du -sb
  command.
* Most of the disk operations do not apply to filesystem disks: resize, snapshots,
  save-as, backup.

co-authored-by: MarioRobres <mrobres@opennebula.io>
co-authored-by: Marco Mancini <mmancini@opennebula.io>

Signed-off-by: MarioRobres <mrobres@opennebula.io>
Signed-off-by: Marco Mancini <mmancini@opennebula.io>
2026-03-18 09:57:54 +01:00
vichansson db0e24b807 F OpenNebula/one#7528: Move NUMA mem. fields (#4109) 2026-03-17 23:36:08 +01:00
Michal Opala 1e5c77d5a2 B #-: Fix host_authorization regression in Prometheus exporters (#4106)
Signed-off-by: Michal Opala <sk4zuzu@gmail.com>
2026-03-17 08:36:48 +01:00
Michal Opala 5205002df8 M #-: Apply various fixes to patch_datasources.rb (#4105)
- Switch to literal FE hostnames in prometheus.yml
- Improve IPv6 compatibility
- Fix and extend unit tests
- Apply coding style fixes

Signed-off-by: Michal Opala <sk4zuzu@gmail.com>
2026-03-17 08:36:13 +01:00
Jan Orel 9465a84267 F Opennebula#7450: Support SLES15 build (#4110)
- update install_gems, update_lock, add Gemfile for Suse 15
- don't generate python grpc bindings if tool is missing
  (it's missing in Suse build env)
2026-03-16 19:37:48 +01:00
Pavel Czerný 25dcd30955 M #-: Fix oned crash on 'onevm create' and `onebackupjob create' (#4107) 2026-03-16 16:33:46 +01:00
Daniel Clavijo Coca e0eb350271 F #7311: Improve thin verification (#4108) 2026-03-16 16:32:33 +01:00
Ruben S. Montero 830e34a38a F #7511: DPDK nic attach and socket paths
- vmm,vnm: unify OVS DPDK vhost socket handling
- Use a shared /var/lib/one/vhost-sockets path for OVS DPDK interfaces in the KVM and Open vSwitch drivers, and create the directory when needed.
- Also fix DPDK NIC attach/detach to use the vhostuser device XML.
2026-03-16 16:16:30 +01:00
Jan Orel 7e0fa890e3 B #-: Fix ZMQ shutdown SIGSEGV on Ruby 3.4 (frozen FFI objects) (#4103)
The previous fix (b001d61b) suppressed FFI::DynamicLibrary finalizers
via ObjectSpace.undefine_finalizer to prevent dlclose() from unmapping
libzmq while ZMQ I/O threads are still running. However, on Ruby 3.4+
(SLES 16), FFI::DynamicLibrary objects are frozen for Ractor-safety,
causing undefine_finalizer to raise FrozenError — silently failing.

Fix both shutdown crash paths:

  1) SIGSEGV (dlclose unmaps libzmq): pin libzmq in memory via
     Fiddle.dlopen with disable_close, adding a dlopen refcount that
     is never decremented. FFI's dlclose then drops the refcount to 1
     (not 0), keeping the library mapped.

  2) Deadlock (zmq_ctx_term blocks on open sockets): suppress the
     ZMQ::Context finalizer via undefine_finalizer (Context objects
     are not frozen, so this works on all Ruby versions).

Falls back to the old undefine_finalizer approach on systems without
Fiddle or with a different libzmq soname (works on Ruby < 3.4).
2026-03-16 16:10:11 +01:00
Pavel Czerný 66c3fdac18 B #7527: Fix race conditions in xml-rpc and grpc API (#4101)
* Race condition issues in xml-rpc api
* Race condition in rename API
2026-03-16 08:48:54 +01:00
Pavel Czerný 95bb239941 M #-: Fix rare race condition in onevnet chown (#4099) 2026-03-11 17:36:16 +01:00
Ruben S. Montero 72a773dcd4 F #7311: LXC Disk Snapshot support
It supports live snapshot operations for LXC and the following storage
drivers:

- fs_lvm
- ceph
- shared (only raw disks)
- local (only raw disks)
2026-03-11 17:16:28 +01:00
Pavel Czerný 26dc7b7bf7 M #-: Fix gRPC PyOne build (#4098) 2026-03-11 09:45:15 +01:00
Jan Orel b001d61b00 B #-: Fix ZMQ shutdown SIGABRT caused by cross-thread socket close (#4097) 2026-03-10 11:20:09 +01:00
MarioRobres 2c293ab32c L #-: Rubocop 1.85 (#4094) 2026-03-09 11:33:05 +01:00
Jan Orel 151de49262 B #-: Fix ZMQ shutdown SIGSEGV caused by use-after-unmap (#4096)
The previous fix (acf180b) prevented the ZMQ context finalizer deadlock
by suppressing zmq_ctx_term via ObjectSpace.undefine_finalizer. However, this left ZMQ I/O threads running. When Ruby's GC later finalized the FFI::DynamicLibrary object, it called dlclose() on libzmq, unmapping its code while I/O threads were still executing it — causing a SIGSEGV.

Fix: close all ZMQ sockets first (so zmq_ctx_term won't block), then
explicitly terminate contexts (stopping I/O threads), then suppress
GC finalizers to prevent double-free.
2026-03-09 11:32:21 +01:00
Jan Orel 32ce254df6 B #-: Fix crash in VectorAttribute::marshall() with empty map (#4093)
`return 0` constructs std::string from a NULL pointer, causing
std::logic_error and oned abort during VM deploy when no FILESYSTEM
disks are present (empty TMP_CONTEXT in generate_disk_context).
2026-03-04 17:12:01 +01:00
Ruben S. Montero 5c0f1adcdb M #-: Remove unsupported TM_MAD_SYSTEM configurations 2026-03-03 11:23:03 +01:00
Jaime Conchello 0b6f35c95f F OpenNebula/engineering#740: Fix support for fqdn (#4092) 2026-03-02 16:41:02 +01:00
Pavel Czerný ee3daf5e5e M #-: Purge unused attributes from config xml-schema (#4090) 2026-03-01 14:25:33 +01:00
Jan Orel c1a4be5803 M #-: Add missing license (el10 build failed) (#4089) 2026-02-27 09:21:48 +01:00
Ruben S. Montero 81fd8e353b Revert "F #7373: FSaaS (File System as a Service) for OpenNebula"
This reverts commit fa72e8fd7f.
2026-02-26 19:24:53 +01:00