apache / apache/cloudstack

UI: VM's on crashed node show as running

Offen
#8,214 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
component:api component:compute component:UI status:stale type:enhancement type:improvement
Vorherrschende Sprache
Java
Sterne
3.1k
Forks
1.4k
Ø Merge
6 T. 19 Std.
Gemergte PRs (30 T.)
32

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne in den Dashboard- und VM-Detailansichten und reproduziere das Problem, indem du einen KVM-Knoten ohne Wartung zwangsweise neu startest. Verfolge, wie der Offline-Zustand der Control Plane im VM-Status widergespiegelt wird; als erledigt gilt, wenn betroffene VMs zeitnah Stopped oder Crashed anzeigen und nach dem Neustart des Knotens konsistent bleiben.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.