-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error state of a VM not evaluated correctly #4344
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. The OpenNebula Dev Team |
well… "bump", I guess. |
Hi @philfry, Sorry for the late reply, have you tried this on an environment with version >= 5.12.0. The monitoring subsystem was re-designed for that version and it seems this is already mapped into the one/src/im_mad/remotes/lib/kvm.rb Line 260 in eb49ad2
(Updated link) |
Hi @christian7007, thanks for your reply. |
Sorry @philfry, here you have the link to the public repo: one/src/im_mad/remotes/lib/kvm.rb Line 260 in eb49ad2
|
Seems it is already fixed. We'll reopen if needed THANKS for your feedback! |
Description
The "crashed" state is not evaluated correctly by OpenNebula.
For example, I have this VM on which I provoked a kernel panic. Libvirt shows:
The polling scripts recognize that state and return an error state (
STATE=e
)Unfortunately, OpenNebula seems to be ignoring this state and returning
STATE=ACTIVE
andLCM_STATE=UNKNOWN
:As far as I saw the correct states
STATE=FAILED
andLCM_STATE=FAILURE
are commented out ininclude/VirtualMachine.h
,src/sunstone/public/app/opennebula/vm.js
and probably other files. Also it looks like the code for processing these states is missing.Is there a reason for that? Or is it just not implemented yet?
To Reproduce
preserve
echo c > /proc/sysrq-trigger
Expected behavior
The VM to be shown with an error state instead of an unknown state.
Details
Additional context
Progress Status
The text was updated successfully, but these errors were encountered: