Bug 1332986
| Summary: | Snapshot operation names changed from <op_name>_snapshot to <op_name>snapshot | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Raz Tamir <ratamir> |
| Component: | RestAPI | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Raz Tamir <ratamir> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.0.0 | CC: | bugs, juan.hernandez, ratamir, sbonazzo |
| Target Milestone: | ovirt-4.0.0-beta | Keywords: | Automation, Regression |
| Target Release: | 4.0.0 | Flags: | rule-engine:
ovirt-4.0.0+
rule-engine: blocker+ rule-engine: planning_ack+ juan.hernandez: devel_ack+ pstehlik: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-05 07:42:52 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: | |||
Is that on the v4 API or the v3 API? If it's the v4, it's not a bug. We are using V3 API I'm pretty sure this is intentional. Juan, can you weigh in here please? The name change is intentional, and part of the changes in version 4 of the API. But version 3 of the API shouldn't be affected. I'm checking and fixing it. This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. Moving to first RC, since things should not be targeted to second one at this point. Verified on ovirt-engine-4.0.0.4-0.1.el7ev.noarch:
GET request to /api/vms/{vm_id}
<link href="/ovirt-engine/api/vms/{vm_id}/commit_snapshot" rel="commit_snapshot"/>
<link href="/ovirt-engine/api/vms/{vm_id}/preview_snapshot" rel="commit_snapshot"/>
<link href="/ovirt-engine/api/vms/{vm_id}/undo_snapshot" rel="commit_snapshot"/>
oVirt 4.0.0 has been released, closing current release. |
Description of problem: All snapshot operation changed: - preview_snapshot -> previewsnapshot - undo_snapshot -> undosnapshot - commit_snapshot -> commitsnapshot Version-Release number of selected component (if applicable): ovirt-engine-4.0.0-0.0.master.20160502171442.git6123627.el7.centos.noarch vdsm-4.17.999-1036.git19a27af.el7.centos.noarch How reproducible: 100% Steps to Reproduce: 1. Run GET request on DELETE on /api/vms/{vm: id} 2. Search for preview 3. Actual results: previewsnapshot exists Expected results: should be preview_snapshot Additional info: