I’m trying to configure my OpenNebula server to calculate VMs costs. I have configured these feature in two ways: assigning values in the VM template and assigning values in /etc/one/oned.host.
Assigned values are:
In VM template, cost calculated (for a VM with 300 MB, 1 CPU and 8 GB disk) is 219.66K /month.
After running 2 VMs equals (one with a template with costs and another one with a template without costs because these are assigned from /etc/one/oned.conf), information from “oneshowback” is different:
USER_NAM GROUP_NA VM_ID VM_NAME MONTH YEAR HOURS COST oneadmin oneadmin 20 costs-oned.conf 11 2020 0.11 8656.46 oneadmin oneadmin 21 costs-template 11 2020 0.10 37.22
Why is this happening?