No. of CPU Cores in Compute Cluster doesnt display correctly when Cluster has oversubscription more than 1
- Lingua principale
- Java
- Stelle
- 3.1k
- Fork
- 1.4k
- Merge medio
- 6g 19h
- PR unite (30g)
- 32
Descrizione
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
~~~
Compute Cluster UI
~~~
##### CLOUDSTACK VERSION
~~~
4.19.1.1
~~~
##### CONFIGURATION
##### OS / ENVIRONMENT
##### SUMMARY
We have 2 Compute Clusters:
- Cluster 1 : Oversubcription = 1
- Cluster 2 : Oversubcription = 2
Refering to the screenshot below, Cluster 1 is showing the correct No. of CPU Cores allocated.
But for Cluster 2, it seems inaccurate. The number of allocation exceeded whats available. Resulting in a UI error.


But the bigger problem now, is that both clusters have exceeded the allocation threshold, but there was no notification sent. And neither did cloudstack stop users from creating new virtual machines from the clusters.
Without this, Admins would not be able to ensure n+1 sufficient capacity in the event of a node failure.

In summary, there are 3 Issues:
- No. Of Allocated CPU Cores should display the full available amount, after oversubscription
- Admin should get Notification if exceeded the global setting threshold (cluster.cpu.allocated.capacity.notificationthreshold)
- User should not be able to create resources into the cluster after exceeding global setting threshold (cluster.cpu.allocated.capacity.disablethreshold)
##### STEPS TO REPRODUCE
~~~
~~~
##### EXPECTED RESULTS
~~~
- No. Of Allocated CPU Cores should display the full available amount, after oversubscription
- Admin should get Notification if exceeded the global setting threshold (cluster.cpu.allocated.capacity.notificationthreshold)
- User should not be able to create resources into the cluster after exceeding global setting threshold (cluster.cpu.allocated.capacity.disablethreshold)
~~~
##### ACTUAL RESULTS
~~~
- No. Of Allocated CPU Cores should not displaying total available cores correctly, after oversubscription.
- Admin did not get Notification if exceeded the global setting threshold (cluster.cpu.allocated.capacity.notificationthreshold)
- User is able to create resources into the cluster after exceeding global setting threshold (cluster.cpu.allocated.capacity.disablethreshold)
~~~
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dal comportamento della Compute Cluster UI descritto per l’oversubscription e dalle impostazioni cluster.cpu.allocated.capacity.notificationthreshold e cluster.cpu.allocated.capacity.disablethreshold. Il payload non indica file sorgente né test, quindi traccia prima la visualizzazione dell’allocazione della CPU e la gestione delle soglie; il lavoro è completato quando la visualizzazione della capacità, la notifica e la prevenzione della creazione di nuove VM sono corrette.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- cloud, infrastructure
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100