On openSUSE (Ruby 3.4), opennebula-flow, opennebula-hem and one_hm hang
on shutdown until systemd SIGKILLs them after 90s.
Root cause: during Ruby's exit sequence, GC finalizers run on unreachable
ZMQ::Context objects calling zmq_ctx_term(), which blocks until all
sockets from that context are closed. But the subscriber sockets were
never explicitly closed (threads were killed by Ruby before cleanup),
so the context finalizer deadlocks with the pending socket finalizers.
Fix: register an at_exit handler that removes ZMQ::Context finalizers
via ObjectSpace.undefine_finalizer. This prevents the blocking
zmq_ctx_term call from ever running during GC, letting socket finalizers
run zmq_close independently. The OS reclaims all remaining ZMQ resources
on process exit.
- Add confirmation messages for Clusters operations
- Add confirmation messages for Provider operations
- Fix tooltip on AddHost Form for Onprem clusters
- Fix translations
Signed-off-by: Miguel E. Ruiz <mruiz@opennebula.io>
BRIDGE_TYPE can be now a comma separated list "openvswitch,
openvswitch_dpdk". When created a VNET any value from the list for that
driver can be set.
NOTE: This commit includes oned.conf changes
(cherry picked from commit aa33731c288ca928c9d13c18e1ca5a67ff692262)
add oned.conf
Check the return code of ZMQ bind() for both publisher and replier
sockets. If binding fails (e.g. port already in use by an orphaned
one_hm.rb process), exit with an error instead of silently running
with no event publishing capability.
Without this check, a stale one_hm.rb holding the ZMQ port causes
the new instance to silently lose all hook events, breaking oneflow
service state monitoring (WatchDog never receives state changes).
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>
- RHEL/AlmaLinux 9+ — genisoimage has been deprecated, xorriso provides an mkisofs compatibility symlink
- Debian/Ubuntu — genisoimage gets no new features or bug fixes, xorrisofs is the recommended replacement
- openSUSE/SLES — only xorriso in main oss repo
- support for SUSE in install_gems, update locks
- don't install prometheus systemd services in install.sh
we handle that in packages
- various minor issues: bashisms, sudoers paths
* Color encodes cores based on VM pinning
* Adds hyperlink to VM
* Fixes rendering of NUMA topology in cases where not all nodes define a core array (i.e. with ARM).
This commit adds support for sharing IPs among several VMs. When a AR is
marked as shared several VMs can request the same IP address either
through a NIC or NIC_ALIAS.
- Shared AR's cannot assign IP address automatically, an specific IP
needs to be requested.
- Shared AR's have some restrictions:
- Shared AR cannot use external IPAM
- Shared AR can only be of type IP4 or IP6_STATIC
- Shared AR cannot update IPAM or SHARED attribute
- Shared AR cannot make reservations
- Shared AR cannot hold by mac
- NICs / NIC_ALIAS using Shared IP will include SHARED=YES
co-authored-by: Jorge Miguel Lobo Escalona <jlobo@opennebula.io>
co-authored-by: MarioRobres <mrobres@opennebula.io>
* Remove unneeded breaks, support Enum as slices
* use cassert instead of GPR_ASSERT
* Use pkg-config for grpc dependencies
* Make Client destructor virtual
* Does a deep value comparison to determine the grouping of PCI devices.
This fixes a problem with MIG setups where a partitioned GPU would be
grouped incorrectly.
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
- 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>