Description of problem: templates_service.add(tmpl, broken: true) This will create template and silently ignore the broken parameter - it should raise an exception on unknown params Version-Release number of selected component (if applicable): ovirt-engine-sdk-4.0.1 How reproducible: always Steps to Reproduce: equire "ovirtsdk4" connection = OvirtSDK4::Connection.new({ :url => 'https://hostname/ovirt-engine/api', :username => 'admin@internal', :password => 'password', :insecure => true, }) system_service = connection.system_service vms_service = system_service.vms_service templates_service = system_service.templates_service cluster = system_service.clusters_service.list[0] vm = vms_service.list[0] tmpl = OvirtSDK4::Template.new({ :name => "template", :vm => { :id => vm.id, }, :cluster => { :id => cluster.id, }, }) templates_service.add(tmpl, broken: true) Actual results: ignores the parameter Expected results: should raise an exception Additional info: in python sdk it raises an exception
Juan - when should we fix this? 4.1?
Yes, 4.1.
It has been impossible to fix this for 4.1, I am re-targeting to 4.2.
Verified that running given example raises an exception. SDK version 4.2.0alpha4, engine 4.2.0-0.0.master.20171108151837.gita7de53e.el7.centos.
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.