Bug 1258224 - Failed to delete watchdog device from template via REST api
Summary: Failed to delete watchdog device from template via REST api
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Juan Hernández
QA Contact: Shira Maximov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-30 12:07 UTC by Shira Maximov
Modified: 2016-04-20 01:31 UTC (History)
8 users (show)

Fixed In Version: 3.6.0-12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-20 01:31:33 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 45515 0 master MERGED restapi: Treat template watchdogs as template devices Never
oVirt gerrit 45619 0 ovirt-engine-3.6 MERGED restapi: Treat template watchdogs as template devices Never

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


Note You need to log in before you can comment on or make changes to this bug.