Bug 1258224

Summary: Failed to delete watchdog device from template via REST api
Product: Red Hat Enterprise Virtualization Manager Reporter: Shira Maximov <mshira>
Component: ovirt-engineAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Shira Maximov <mshira>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: bazulay, gklein, lsurette, lsvaty, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rcKeywords: Automation, Regression
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.6.0-12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:31:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shira Maximov 2015-08-30 12:07:02 UTC
Description of problem:
The action: delete watchdog from template failed with the following error: 
[Cannot ${action} ${type}. VM is not found.]


Version-Release number of selected component (if applicable):
vdsm-4.17.3-1.el7ev.noarch
Red Hat Enterprise Virtualization Manager Version: 3.6.0-0.12.master.el6

How reproducible:
100%

Steps to Reproduce:
1.send delete request in REST API: https://10.35.161.33/api/templates/<tempalte id>/watchdogs/00000000-0000-0000-0000-000000000000
2.
3.

Actual results:
[Cannot ${action} ${type}. VM is not found.]
Version-Release number of selected component (if applicable):

Expected results:
the action should work

Additional info:
link to automation test: 
https://rhev-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/3.6-GE-Tier1/7/testReport/junit/rhevmtests.sla.watchdog.watchdog_test/331-WatchdogCRUDTemplate_REST;test_remove_watchdog_template/WatchdogCRUDTemplate_REST_test_remove_watchdog_template/

Comment 1 Juan Hernández 2015-08-31 08:26:52 UTC
This regression was introduced as part of the changes in the RESTAPI required to support WildFly.

Comment 3 Shira Maximov 2015-09-24 11:54:50 UTC
verified on: 3.6.0-0.17.master.el6