You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "SviridoffA (via GitHub)" <gi...@apache.org> on 2025/03/12 11:35:57 UTC
[D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
GitHub user SviridoffA created a discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
Hi everyone! Is anyone else experiencing issues with the new resource display, with the new Used/Allocated toggle? I’m completely lost as to what it’s showing. I have several virtual machines running on my cluster. They’re almost constantly idle. However, the dashboard, when set to “used,” displays something similar to my “allocated” values. Meanwhile, “allocated” shows values that don’t make sense to me. My current workload on the cluster should be around 1%, and “allocated” should be closer to what is currently displayed as “used.” I t is not fresh install, I upgraded from 4.19.1. I’d appreciate any help in understanding this.



GitHub link: https://github.com/apache/cloudstack/discussions/10554
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
addressing this: #10803
and closing this one
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-13002701
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA closed a discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
Hi everyone! Is anyone else experiencing issues with the new resource display, with the new Used/Allocated toggle? I’m completely lost as to what it’s showing. I have several virtual machines running on my cluster. They’re almost constantly idle. However, the dashboard, when set to “used,” displays something similar to my “allocated” values. Meanwhile, “allocated” shows values that don’t make sense to me. My current workload on the cluster should be around 1%, and “allocated” should be closer to what is currently displayed as “used.” I t is not fresh install, I upgraded from 4.19.1. I’d appreciate any help in understanding this.



GitHub link: https://github.com/apache/cloudstack/discussions/10554
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache closed the discussion with a comment: Dashboard 4.19.2. New Used/Allocated resources view ???
@SviridoffA
The values are fetched via cloudstack API, it is not a UI issue.
Moreover, I think it is not a bug. for clarification
- On the dashboard boarding page, data are fetched by API listCapacity
- Allocated capacity: the resource allocated to the user vms and system vms, etc
- Used capacity: the resource used by Running vms, or reserved for vms which are stopped recently
- On the Cluster/Zone details page, data are fetched by API listZonesMetrics or listClustersMetrics
- Used: the real usage of hosts in the zone or cluster. It is consistent with the usage users get on the host (for example, free, htop, uptime)
- Allocated: the resource allocated to user vms and system vms (same to Used capacity above) in precentage
- if the used percentage is much smalled than Allocated percentage, it means you could allocate more resources on the environment. You can increase the over provisioning factor (be careful on MEMORY if you use KVM).
@nvazquez @DaanHoogland
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-14508538
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
Okay, but then I don’t fully understand the meaning of the metrics on the dashboard.
> On the Cluster/Zone details page, data are fetched by API listZonesMetrics or listClustersMetrics
>
> * Used: the real usage of hosts in the zone or cluster. It is consistent with the usage users get on the host (for example, free, htop, uptime)
> * Allocated: the resource used by Running vms, or reserved for vms which are stopped recently (same to Used capacity above) in precentage
> * if the used percentage is much smalled than Allocated percentage, it means you could allocate more resources on the environment. You can increase the over provisioning factor (be careful on MEMORY if you use KVM).
Here, everything is good and clear.
> On the dashboard boarding page, data are fetched by API listCapacity
>
> * Allocated capacity: the resource allocated to the user vms and system vms, etc
> * Used capacity: the resource used by Running vms, or reserved for vms which are stopped recently
But here, it’s completely unclear why this is needed. Why do we have a "Used" metric that is actually "Allocated"? Why not just use the same keys from the API listZonesMetrics or listClustersMetrics, as on the Cluster/Zone details page, and everything would look correct?
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-14508908
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
It seems I finally got it . I initially misinterpreted the switch's position, and it was also confusing that the metric also accounts for recently stopped virtual machines and doesn't update immediately.
I have tested it by creating a large number of VMs, and now everything makes sense to me. I apologize for the mess I caused here.
@weizhouapache Thanks for you clarification. Only one question for now, Can you tel me please, how long resources are reserved for stopped vms?
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-14512217
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
> It seems I finally got it . I initially misinterpreted the switch's position, and it was also confusing that the metric also accounts for recently stopped virtual machines and doesn't update immediately. I have tested it by creating a large number of VMs, and now everything makes sense to me. I apologize for the mess I caused here. @weizhouapache Thanks for you clarification. Only one question for now, Can you tel me please, how long resources are reserved for stopped vms?
no problem @SviridoffA
it is great everything is clear to you. hope other users can get some more information from our discussion
> how long resources are reserved for stopped vms?
it is configurable. There is a global setting `capacity.skipcounting.hours`
**Capacity skipcounting hours (capacity.skipcounting.hours): Time (in seconds) to wait before release VM's cpu and memory when VM in stopped state**
The default value is 3600 seconds (1 hour)
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-14512340
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
GitHub user DaanHoogland added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
@SviridoffA , I do not recall, did you create an issue for this?
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-13002513
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "nvazquez (via GitHub)" <gi...@apache.org>.
GitHub user nvazquez added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
Hi @SviridoffA thanks for your question. The toggle was introduced to fix a mismatch on the previous versions about the used vs allocated values that were displayed on the dashboard, allowing CloudStack to display allocated and used capacity separately. Previously, ony allocated values were meant to be displayed, but CloudStack was using the used capacity values. This was fixed on this PR: https://github.com/apache/cloudstack/pull/10215. According to your images it looks like there is a problem with the CPU used capacity values displayed on the dashboard (according to your cluster stats it should be 2% instead of 22%). I'll have a look at this
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-12474363
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA reopened a discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
Hi everyone! Is anyone else experiencing issues with the new resource display, with the new Used/Allocated toggle? I’m completely lost as to what it’s showing. I have several virtual machines running on my cluster. They’re almost constantly idle. However, the dashboard, when set to “used,” displays something similar to my “allocated” values. Meanwhile, “allocated” shows values that don’t make sense to me. My current workload on the cluster should be around 1%, and “allocated” should be closer to what is currently displayed as “used.” I t is not fresh install, I upgraded from 4.19.1. I’d appreciate any help in understanding this.



GitHub link: https://github.com/apache/cloudstack/discussions/10554
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA closed a discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
Hi everyone! Is anyone else experiencing issues with the new resource display, with the new Used/Allocated toggle? I’m completely lost as to what it’s showing. I have several virtual machines running on my cluster. They’re almost constantly idle. However, the dashboard, when set to “used,” displays something similar to my “allocated” values. Meanwhile, “allocated” shows values that don’t make sense to me. My current workload on the cluster should be around 1%, and “allocated” should be closer to what is currently displayed as “used.” I t is not fresh install, I upgraded from 4.19.1. I’d appreciate any help in understanding this.



GitHub link: https://github.com/apache/cloudstack/discussions/10554
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
Before deploying and running a VMs as a cloud provider, there is a process ofresource planning. The thing is, in today's world, without overprovisioning, a service provider often becomes unprofitable. To make resource planning more convenient, it would be great if the root admin dashboard displayed statistics on the current load on the cluster(s) and the total amount of allocated resources, with total available. This would allow for a rough forecast of what overprovision ratio could be used. Honestly, when I first saw this toggle, I thought that’s what it was for. Obviously, I’m missing something. But, current display doesn’t make any sense to me. Perhaps the toggle should have been labeled as reserved/allocated instead of used. But I still don’t understand what this metric is for. Don’t get me wrong, I’m not saying it’s incorrect. I’ve been working with CloudStack for a little over a year, and I’m probably missing something. Maybe I should dig into this call throug
h the API manually, and I’ll figure out what it returns. But right now, the CPU and memory numbers shown in the dashboard don’t align with any real metrics for me. Maybe I just can’t correlate them properly.
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-14511223
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
Hi @nvazquez thanks your reply. I think this is a great feature, but unfortunately it doesn’t seem to be working in my case. Please let me know if there’s anything else I can provide. I’m not sure if it’s relevant, but I do have overprovisioning configured as written below:
CPU - 2
MEM - 3
And one more thing.. It looks like the allocated amount is showing up as a few percent higher than it really is. Currently, my workload is very static; sudden spikes are almost non-existent.
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-12474799
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
Thank you once again, closing this one...
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-14512399
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
No, I didn’t create one because I wasn’t sure if it was just my problem, but let me do that now.
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-13002582
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
GitHub user DaanHoogland closed the discussion with a comment: Dashboard 4.19.2. New Used/Allocated resources view ???
neat
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-13002911
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
<img width="426" height="625" alt="2025-09-25_16-26" src="https://github.com/user-attachments/assets/9eb41f5f-f9ea-4ee4-a35b-d3a005692918" />
<img width="506" height="482" alt="2025-09-25_16-27" src="https://github.com/user-attachments/assets/e0a9feb8-bc9f-442d-a59f-48b971b58fbf" />
<img width="490" height="468" alt="2025-09-25_16-28" src="https://github.com/user-attachments/assets/dba27faa-303d-480d-8b9e-50c42e1967ba" />
@weizhouapache Can you confirm please, that these are the correct metrics. Just to be sure)))
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-14511415
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache edited a comment on the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
@SviridoffA
The values are fetched via cloudstack API, it is not a UI issue.
Moreover, I think it is not a bug. for clarification
- On the dashboard boarding page, data are fetched by API listCapacity
- Allocated capacity: the resource allocated to the user vms and system vms, etc
- Used capacity: the resource used by Running vms, or reserved for vms which are stopped recently
- On the Cluster/Zone details page, data are fetched by API listZonesMetrics or listClustersMetrics
- Used: the real usage of hosts in the zone or cluster. It is consistent with the usage users get on the host (for example, free, htop, uptime)
- Allocated: the resource used by Running vms, or reserved for vms which are stopped recently (same to Used capacity above) in precentage
- if the used percentage is much smalled than Allocated percentage, it means you could allocate more resources on the environment. You can increase the over provisioning factor (be careful on MEMORY if you use KVM).
@nvazquez @DaanHoogland
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-14508538
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
GitHub user weizhouapache added a comment to the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
> But here, it’s completely unclear why this is needed. Why do we have a "Used" metric that is actually "Allocated"? Why not just use the same keys from the API listZonesMetrics or listClustersMetrics, as on the Cluster/Zone details page, and everything would look correct?
When deploy or start a VM, ACS checks the cpu/memory capacity based on the total/allocated/used capacity on the dashboard.
I think they are more important than the real cpu/memory usage of zone/cluster
btw: the zone/cluster metrics only contains the cpu and memory usage, while listCapacity returns more information (storage, ips, gpu, cpu cores, etc)
@SviridoffA
What's your advise on it ?
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-14509145
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
Re: [D] Dashboard 4.19.2. New Used/Allocated resources view ??? [cloudstack]
Posted by "SviridoffA (via GitHub)" <gi...@apache.org>.
GitHub user SviridoffA edited a comment on the discussion: Dashboard 4.19.2. New Used/Allocated resources view ???
Hi @nvazquez thanks for your reply. I think this is a great feature, but unfortunately it doesn’t seem to be working in my case. Please let me know if there’s anything else I can provide. I’m not sure if it’s relevant, but I do have overprovisioning configured as written below:
CPU - 2
MEM - 3
And one more thing.. It looks like the allocated amount is showing up as a few percent higher than it really is. Currently, my workload is very static; sudden spikes are almost non-existent.
GitHub link: https://github.com/apache/cloudstack/discussions/10554#discussioncomment-12474799
----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org