Description of problem: Currently V4 API still supports V3 lists and actions on template disks in: api/templates/{template_id}/disks api/templates/{template_id}/disks/{disk_id} Those should be removed and the functionality and the new functionality should be added in: api/templates/{template_id}/diskattachments api/templates/{template_id}/diskattachments/{disk_attachment_id} The functionality in V4 resources used by delegation from V3 should be moved to V3 classes Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Tal - not sure if this is just documented in the REST documentation already or requires a specific treatment, but flagging as requires-doctext? just to be on the safe side. If it's redundant, feel free to set - instead.
/disks/ returns 404, diskattachments works for single/multiple disks. I tested also different values creating multiple templates and vms fro m those templates. Regarding methods: /templates/{template:id}/diskattachments/ allows HEAD, DELETE, GET, OPTIONS /templates/{template:id}/diskattachments/{disk_attachment:id} allows HEAD, GET, OPTIONS DELETE works as expected when the disk is copied to multiple storage domains (and is documented on the api) version: 4.0.1.1-0.1.el7ev
Since the problem described in this bug report should be resolved in oVirt 4.0.1 released on July 19th 2016, it has been closed with a resolution of CURRENT RELEASE. For information on the release, and how to update to this release, follow the link below. If the solution does not work for you, open a new bug report. http://www.ovirt.org/release/4.0.1/