Hello,
My KVM host is stuck in an ERROR state after being added. After deep debugging, we found the root cause in the oned.log.
My Setup:
- OS: Ubuntu 24.04 LTS
- OpenNebula Version: 6.8.0.1-1
The Error:
The oned.log shows that the monitoring script state.rb is crashing with a Ruby FrozenError. Here is the exact error message from the log:
<STATE_VM>Error executing state.rb: can't modify frozen Array: [] </STATE_VM>
Full log snippet for context:
Thu Jun 12 00:28:35 2025 [Z0][HMM][E]: Unable to monitor host id: 7
Thu Jun 12 00:28:35 2025 [Z0][MDP][W]: Error parsing start message for host 7: <MONITOR_MESSAGES>…<STATE_VM>Error executing state.rb: can’t modify frozen Array: </STATE_VM>
The libvirtd.service is running correctly and passwordless SSH for oneadmin to localhost is working. This seems to be a bug in the monitoring script on Ubuntu 24.04.
Could you please advise on a patch or a fix for this issue?
Thank you.