apache / apache/cloudstack

UI: VM's on crashed node show as running

未关闭
#8,214 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
component:api component:compute component:UI status:stale type:enhancement type:improvement
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

##### 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)

贡献指南

打开贡献指南

调研方向

从仪表板和 VM 详细信息视图开始,通过在不进行维护的情况下强制重启 KVM 节点来重现问题。跟踪离线控制平面状态如何反映在 VM 状态中;完成标准是受影响的 VM 能及时显示 Stopped 或 Crashed,并在节点重启后保持一致。

由索引模型根据 Issue 内容生成。

评估

领域
frontend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。