Quota Volatile disk

Hi,

We have set up a 50GB quota for volatile disks to a group, this group only has one user and the group has already reached the quota of 50GB.

The curious is that there is not any volatile disk attached on the templates /VMs so we don’t know from where this 50GB are coming. I also have checked all the images which belong to the user for this group and all of them are persistent.

How we can know to what/from where this 50GB belong/are coming?

I am trying to understand it but I am lost at this point, maybe, we have some miss-configuration but in any case, I would appreciate any help on this.

Thanks in advance,
Esteban

Now, it is even more weird.

On my testing group, I don’t have any template/image under it and I see 60Gb of volatile size:

onegroup show testing-esfreire
GROUP 289 INFORMATION                                                           
ID             : 289                 
NAME           : testing-esfreire    

GROUP TEMPLATE                                                                  
GROUP_ADMIN_DEFAULT_VIEW="groupadmin"
GROUP_ADMIN_VIEWS="groupadmin"
SUNSTONE_VIEWS="cloud,user"

USER ID ADMIN
689 *

RESOURCE USAGE & QUOTAS                                                         

NUMBER OF VMS               MEMORY                  CPU        VOLATILE_SIZE
  0 /       -        0M /        -      0.00 /        -       60G /    47.9G


oneimage list | grep testing-esfreire
onetemplate list | grep testing-esfreire

How can we list volatile disk? or how can we check to which these 60GB are belonging (file, disk, image, etc…)

Probably, I am missing something but I don’t understand it.

Thanks,
Esteban

Hi Esteban

VOLATILE_SIZE includes volatile disks, you should look for vms of group
testing-efreire withan attribute in the tempalte of the form DISK = [ SIZE
=…

Note that next release this quota evolves to SYSTEM_DS_SIZE including
volatile, and cloned disks; i.e. anything in the system ds datastore.

Hope it helps

Hi @ruben

Thank you very much for your answer :slight_smile:

In the case of my testing group, it is really weird because I don’t have any VM/template under it right now:

[oneadmin@opennebula4 ~]$ onegroup show 289
GROUP 289 INFORMATION                                                           
ID             : 289                 
NAME           : testing-esfreire    

GROUP TEMPLATE                                                                  
GROUP_ADMIN_DEFAULT_VIEW="groupadmin"
GROUP_ADMIN_VIEWS="groupadmin"
SUNSTONE_VIEWS="cloud,user"

USER ID ADMIN
 
689 *

RESOURCE USAGE & QUOTAS                                                         


NUMBER OF VMS               MEMORY                  CPU        VOLATILE_SIZE
  
0 /       -        0M /        -      0.00 /        -       60G /    47.9G

DATASTORE ID               IMAGES                SIZE
     
     104         0 /        -       0M /        -
     
     106         0 /        -       0M /     

Therefore, it is really weird.

On the case of the other user, we see this:

RESOURCE USAGE & QUOTAS                                                         

NUMBER OF VMS               MEMORY                  CPU        VOLATILE_SIZE
  
   1 /       -       64G /        -     10.00 /        -       60G /    97.7G

[oneadmin@opennebula4 ~]$ onevm list | grep reu
1448 user                        user                         onetick                                                      runn  571   64.8G    \

d-node13         14d 17h26

[oneadmin@opennebula4 ~]$ onevm show 1448 | grep -i template
USER TEMPLATE                                                                   
VIRTUAL MACHINE TEMPLATE                                                        
TEMPLATE_ID="211"

[oneadmin@opennebula4 ~]$ onetemplate show 211
TEMPLATE 211 INFORMATION                                                        
ID             : 211                  
NAME           : onetick             
USER           : user       
GROUP          : user       
REGISTER TIME  : 08/02 22:41:48      

PERMISSIONS                                                                     
OWNER          : um-                 
GROUP          : ---                 
OTHER          : ---                 

TEMPLATE CONTENTS                                                                
CONTEXT=[
 NETWORK="YES",
 SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
CPU="16"
 DISK=[
IMAGE="Centos 7",
IMAGE_UNAME="user" ]
DISK=[
IMAGE="one_tick_home",
IMAGE_UNAME="user" ]
DISK=[
IMAGE="one_tick_daily_and_reports",
IMAGE_UNAME="user" ]
DISK=[
IMAGE="one_tick_data_dion",
IMAGE_UNAME="user" ]
DISK=[
IMAGE="Bongaerts",
IMAGE_UNAME="user",
READONLY="yes" ]
DISK=[
IMAGE="tick_usd_dion",
IMAGE_UNAME="user ]
DISK=[
IMAGE="tick_data_1",
IMAGE_UNAME="user" ]
FROM_APP="55a3af0dd4219313b3000007"
FROM_APP_NAME="Centos 7 - KVM"
GRAPHICS=[
LISTEN="0.0.0.0",
TYPE="vnc" ]
LOGO="images/logos/ubuntu.png"
MEMORY="65536"
NIC=[
NETWORK="internet",
NETWORK_UNAME="oneadmin" ]
OS=[
ARCH="x86_64" ]
SUNSTONE_CAPACITY_SELECT="YES"
SUNSTONE_NETWORK_SELECT="YES"
VCPU="16"

(!) I just have substituted the user name by user.

We don’t see any volatile disk attached and all the images attached on the template are persistent. So, I don’t really know to what or from where these 60GB are coming.

Any help on this is appreciated :smile:

Thanks in advance,
Esteban

Hi,

That looks definitely a bug, you can’t have volatile size with 0 vms. You can use the onedb fsck tool to fix the database.