Bug 1622359 - Virtual machine details attached with the disk is not available with API
Summary: Virtual machine details attached with the disk is not available with API
Keywords:
Status: CLOSED DUPLICATE of bug 1585572
Alias: None
Product: ovirt-engine-sdk-python
Classification: oVirt
Component: General
Version: 4.2.5
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Ondra Machacek
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-26 19:24 UTC by Arshpreet Singh
Modified: 2018-08-28 08:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-28 08:21:19 UTC
oVirt Team: Infra
Embargoed:


Attachments (Terms of Use)

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 ***


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