Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VMs, CPU and MEMORY of STOPPED VMs are not deduced from users monitoring #720

Closed
OpenNebulaProject opened this issue Nov 20, 2017 · 3 comments

Comments

@OpenNebulaProject
Copy link


Author Name: EOLE Team (EOLE Team)
Original Redmine Issue: 2646, https://dev.opennebula.org/issues/2646
Original Date: 2014-01-16


Hello,

Trying to look at “Who is taking all that resources?” of our little cluster, I saw the report per user of VMs/CPU and MEMORY:

oneadmin@nebula:~$ oneuser list
  ID NAME            GROUP      AUTH           VMS            MEMORY         CPU
   0 oneadmin        oneadmin   core             -                 -           -
   1 serveradmin     oneadmin   server_c   0 /   0      0M /      0M   0.0 / 0.0
   2 user1           users      ldap       7 /   0    5.5G /      0M   0.7 / 0.0
[...]

The problem is that @user1@ has only 3 @running@ VMs, with 512MB memory each, other are in @stopped@ state.

I think this report could make the difference between VMs with allocated resources and VMs without.

Maybe something like:

oneadmin@nebula:~$ oneuser list
  ID NAME            GROUP      AUTH               VMS                   MEMORY         CPU
   0 oneadmin        oneadmin   core                 -                        -                 -
   1 serveradmin     oneadmin   server_c   0     /   0      0M        /      0M   0.0       / 0.0
   2 user1           users      ldap       3 (7) /   0    1.5G (5.5G) /      0M   0.2 (0.7) / 0.0
[...]

Regards.

@OpenNebulaProject
Copy link
Author


Original Redmine Comment
Author Name: Carlos Martín (Carlos Martín)
Original Date: 2014-01-17T16:00:26Z


It makes sense, maybe a VM in stopped or undeployed states should not be accounted for the VM quotas (nº of vms, cpu, mem).

@stale
Copy link

stale bot commented Mar 6, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. The OpenNebula Dev Team

@dann1
Copy link
Contributor

dann1 commented Mar 15, 2019

There are real CPU and Memory values monitored by the IM drivers

@stale stale bot removed the Status: Abandoned label Mar 15, 2019
@dann1 dann1 closed this as completed Mar 15, 2019
rsmontero pushed a commit that referenced this issue Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants