Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1622359

Summary: Virtual machine details attached with the disk is not available with API
Product: [oVirt] ovirt-engine-sdk-python Reporter: Arshpreet Singh <arshpreet218>
Component: GeneralAssignee: Ondra Machacek <omachace>
Status: CLOSED DUPLICATE QA Contact: Lukas Svaty <lsvaty>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.2.5CC: bugs, juan.hernandez
Target Milestone: ---   
Target Release: ---   
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: 2018-08-28 08:21:19 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 Arshpreet Singh 2018-08-26 19:24:53 UTC
Description of problem:
Disks are attached to the virtual machine, in the ovirt engine Web UI name of the Virtual machine attached to the disk is available but through the API GET request there are no such details about the attached Virtual machine.'

Version-Release number of selected component (if applicable):


How reproducible:

hit the API and check its output.

Steps to Reproduce:
1. hit the API: 'https://{ovirt-engine-ip}/ovirt-engine/api/disks/{disk_id}' 
2. send a get request on this API
3. store the server response and then verify it.

Actual results:
 There is no information about the virtual machine on which the disk is attached.


Expected results:
 If the details are available in the ovirt engine Web UI then it should also be available in its API.

Additional info:

Comment 1 Ondra Machacek 2018-08-28 08:21:19 UTC
In order to get this information you have to send All-content: true header.

*** This bug has been marked as a duplicate of bug 1585572 ***