Description of problem: 1. For CLI only (ovirt-shell), update template do not work. For all other apis (UI, REST, JAVA) update template works fine. 2. In engine.log there is no error. There is only a message, that do not imply the root cause, and need to be fixed: "2014-09-07 10:20:03,352 WARN [org.ovirt.engine.core.dal.job.ExecutionMessageDirector] (ajp--127.0.0.1-8702-4) [1f2442c6] The message key UpdateVmTemplate is missing from bundles/ExecutionMessages 2014-09-07 10:20:03,464 INFO [org.ovirt.engine.core.bll.UpdateVmTemplateCommand] (ajp--127.0.0.1-8702-4) [1f2442c6] Running command: UpdateVmTemplateCommand internal: false. Entities affected : ID: 21b967c2-6ea7-401c-9b6e-ab7a4b41a7e1 Type: VmTemplateAction group EDIT_TEMPLATE_PROPERTIES with role type USER 2014-09-07 10:20:03,482 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-4) [1f2442c6] Correlation ID: 1f2442c6, Job ID: d91b9444-95a2-401b-b792-48e7d2267033, Call Stack: null, Custom Even t ID: -1, Message: Template temp11 configuration was updated by admin." Example: [oVirt shell (connected)]# update template temp11 --name 'temppp' id : 21b967c2-6ea7-401c-9b6e-ab7a4b41a7e1 name : temp11 bios-boot_menu-enabled : False cluster-id : 00000001-0001-0001-0001-0000000001bb console-enabled : False cpu-architecture : X86_64 cpu-topology-cores : 1 cpu-topology-sockets : 4 cpu_shares : 0 creation_time : 2014-08-12 09:18:52.736000+03:00 delete_protected : False display-allow_override : False display-copy_paste_enabled : True display-file_transfer_enabled: True display-monitors : 4 display-single_qxl_pci : False display-smartcard_enabled : False display-type : spice high_availability-enabled : False high_availability-priority : 1 memory : 536870912 migration_downtime : -1 origin : ovirt os-boot-dev : hd os-type : rhel_6x64 sso-methods-method-id : GUEST_AGENT stateless : False status-state : ok timezone : Etc/GMT type : server usb-enabled : True usb-type : native virtio_scsi-enabled : True Version-Release number of selected component (if applicable): ovirt-3.5 rc1.1 [oVirt shell (connected)]# info backend version: 3.5 sdk version : 3.5.0.4 cli version : 3.5.0.3 python version : 2.6.6.final.0 How reproducible: 100% Found on automation tests, but also failed when tested in manually. Steps to Reproduce: 1. Update template name, description, num of vcpu, nic, etc. Expected results: 1. Template should be updated with the relevant fields 2. In case of updat etemplate failure, there should be error message in engine.log, that imply the problem.
I believe that this was tested with a version of the Python SDK affected by bug 1122546. What was exactly the version of the Python SDK used? # rpm -q ovirt-engine-sdk
[istein@istein network]$ rpm -qa | grep sdk ovirt-engine-sdk-python-3.5.0.4-1.20140728.gitec31051.el6.noarch
This version of the Python SDK is affected by bug 1122546, thus I'm closing this bug as duplicate. Note that there is currently an issue with the version number of the packages built by Jenkins. Version 3.5.0.4-1.20140728.gitec31051 should have been named 3.5.0.4-0.1.20140728.gitec31051. Note that the release number should have been 0.1 and not 1, to indicate that it is a pre-release of upstream version 3.5.0.4. This is currently being fixed. The backend issue of the missing message key still remains. You may want to open a new bug for that, or reopen and use this same bug. *** This bug has been marked as a duplicate of bug 1122546 ***