No. of CPU Cores in Compute Cluster doesnt display correctly when Cluster has oversubscription more than 1
- Ngôn ngữ chính
- Java
- Star
- 3.1k
- Fork
- 1.4k
- Merge trung bình
- 6 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 32
Mô tả
##### 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)
~~~
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với hành vi của Compute Cluster UI được mô tả cho oversubscription và các cấu hình cluster.cpu.allocated.capacity.notificationthreshold và cluster.cpu.allocated.capacity.disablethreshold. Payload không nêu tệp mã nguồn hoặc test nào, vì vậy trước tiên hãy theo dõi việc hiển thị CPU được cấp phát và xử lý threshold; được xem là hoàn tất khi việc hiển thị capacity, thông báo và ngăn tạo VM mới hoạt động chính xác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- cloud, infrastructure
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100