[Users] Quota for VMs created from templates

Mitja Mihelič mitja.mihelic at arnes.si
Thu Oct 3 13:59:06 UTC 2013


Hi!

We are running engine version 3.3.0 on CentOS6 and we have come across a 
problem, possibly a bug.
When a user creates a VM from a template, the template's quota is 
assigned to the VM.

Here is the setup:
- quota is set to Enforced on the data center
- quota is created for template purposes (TemplateQuota)
- a template is created from a sealed VM with TemplateQuota assigned to it
- quota is created for a user, the user is set as its consumer
- the user creates a VM from the mentioned template and leaves the quota 
unchanged
- the created VM consumes the user's storage quota but does not consume 
their memory and CPU quota

This way a user can create and run an arbitrary number of VMs as long 
they stay within their storage quota.
No errors are reported in the logs.

Kind regards,
Mitja Mihelic

-- 
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 78

-------------- next part --------------
A non-text attachment was scrubbed...
Name: VM_create.png
Type: image/png
Size: 33491 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131003/0233a525/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VM_info.png
Type: image/png
Size: 169267 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131003/0233a525/attachment-0003.png>


More information about the Users mailing list