Hi, you can find the information here
/ovirt-engine/api/vms/{vm:id}/diskattachments
<disk_attachment
href="/ovirt-engine/api/vms/fe3f36c3-8284-483c-8cdd-fd0690297bf8/diskattachments/165c72fb-39fe-4115-a0ad-05bf10113e11"
id="165c72fb-39fe-4115-a0ad-05bf10113e11">
<active>true</active>
<bootable>false</bootable>
<interface>virtio_scsi</interface>
<logical_name>/dev/sdb</logical_name>
<pass_discard>false</pass_discard>
<read_only>false</read_only>
<uses_scsi_reservation>false</uses_scsi_reservation>
<disk
href="/ovirt-engine/api/disks/165c72fb-39fe-4115-a0ad-05bf10113e11"
id="165c72fb-39fe-4115-a0ad-05bf10113e11"/>
<vm
href="/ovirt-engine/api/vms/fe3f36c3-8284-483c-8cdd-fd0690297bf8"
id="fe3f36c3-8284-483c-8cdd-fd0690297bf8"/>
</disk_attachment>
Best regards,
Lucie L.
On 10/31/18 6:37 AM, Markus Schaufler wrote:
I did. And it didn't help me. I tried several requests like
GET
/ovirt-engine/api/datacenters/{datacenter:id}/storagedomains/{storagedomain:id}/disks/{disk:id}
But there is no virtio-scsi information at all. I suppose the hosted engine itself does
not need to know that information.
The workflow would be to create the vm with all the disks over the rest-api and then to
install it using a prepared iso with a kickstart file which holds the information about
the disk layout, filesystem, etc. In order to prepare the kickstart file correctly I need
to know which disk is ie. vda, vdb, ...
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YUONEUWBM2U...
--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA
IRC: lleistne @ #rhev-qe