Bug 1352657
| Summary: | GET of diskattachment returns a list of objects without the href property | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Carlos Mestre González <cmestreg> |
| Component: | RestAPI | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Carlos Mestre González <cmestreg> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.0.2 | CC: | acanan, bugs, ratamir, tnisan |
| Target Milestone: | ovirt-4.0.2 | Flags: | rule-engine:
ovirt-4.0.z+
rule-engine: planning_ack+ juan.hernandez: devel_ack+ acanan: testing_ack+ |
| Target Release: | 4.0.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-12 14:22:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
in version 4.0.2-1 |
Description of problem: Rest api collection of disk attachment objects. Version-Release number of selected component (if applicable): rhevm-4.0.2-0.2.rc1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. get a vms disk attachment collection: /ovirt-engine/api/vms/5eab22b7-cfe0-4ce3-96f3-3f0ec88f9960/diskattachments Actual results: <disk_attachments> <disk_attachment id="6f92b6a8-152b-4020-b341-d983e9df1fe2"> <bootable>false</bootable> <interface>virtio_scsi</interface> </disk_attachment> </disk_attachments> Expected results: as with any other response in ovirt the object returns the href property with the link to the disk attachment link: <disk_attachments> <disk_attachment href="/ovirt-engine/api/vms/5eab22b7-cfe0-4ce3-96f3-3f0ec88f9960/diskattachments/6f92b6a8-152b-4020-b341-d983e9df1fe2" id="6f92b6a8-152b-4020-b341-d983e9df1fe2"> <bootable>false</bootable> <interface>virtio_scsi</interface> </disk_attachment> </disk_attachments> Additional info: