apache / apache/cloudstack

UI: VM's on crashed node show as running

Open
#8,214 7 comments 0 reactions 0 assignees View on GitHub
component:api component:compute component:UI status:stale type:enhancement type:improvement
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

##### ISSUE TYPE

* Bug Report

##### COMPONENT NAME

~~~
UI
~~~

##### CLOUDSTACK VERSION

~~~
4.18.1.0
~~~

##### CONFIGURATION

N/A

##### OS / ENVIRONMENT

N/A

##### SUMMARY

When a kvm node crashes (no maintenance) the VM's running on that node will still show the status "Running" in the dashboard.
When accessing the VM itself you get the error message:
`The Control Plane Status of this instance is Offline. Some actions on this instance will fail, if so please wait a while and retry.`
When the kvm node restarts, after some time the VM's on it will show as "Stopped" and will have to be started manually.

##### STEPS TO REPRODUCE

~~~
Force reboot without maintenance a kvm node that run's compute resources
~~~

##### EXPECTED RESULTS

~~~
I would expect the VM's to show as Stopped/Crashed as soon as the kvm node goes down
~~~

##### ACTUAL RESULTS

~~~
VM looks as running:
~~~
![image](https://github.com/apache/cloudstack/assets/6742236/119c1853-a4b0-4a9b-9484-ad723282278e)

~~~
VM details says there is an issue with control plane:
~~~
![image](https://github.com/apache/cloudstack/assets/6742236/ac8ff75d-5483-4acb-8533-6f97df45f921)

~~~
Node is offline:
~~~
![image](https://github.com/apache/cloudstack/assets/6742236/1bd21cb1-1e82-4f15-8219-70fdd26be1e6)

Contributor guide

Open the contributing guide

Research direction

Start in the dashboard and VM details views, reproducing the issue by force-rebooting a KVM node without maintenance. Trace how the offline control-plane state is reflected in the VM status; done means affected VMs promptly show Stopped or Crashed and remain consistent after the node restarts.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.