Created attachment 700499 [details] engine.log Description of problem: Possible to create template disk without quota assigned in enforced mode via API. Version-Release number of selected component (if applicable): sf7 How reproducible: always Steps to Reproduce: 1. Create quota q1 and set DC to enforce mode. 2. Create vm with disk. 3. Via API create template from vm. Actual results: Template is created and template disk does not have quota assigned. Expected results: Fail, need to specify quota for disk. Or by default add same as vm has? Additional info: Note that quota for template is assigned, but not for template disk. Template was created like this: curl -k -X POST -H "Accept: application/xml" -H "Content-Type: application/xml" -H "Filter: $filter" -d "<template><name>template</name><vm id=\"$vm_id\"/></template>" -u $U https://url/api/templates
After reopened - added a second set of External Trackers to the new patch: 12618
The opposite seems to be true as well. Creating a VM via the API from a template and setting a new quota for the disk seems to get ignored. Instead the quota of the template disk is used.
ok sf10
3.2 has been released