<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I'm trying to generated a lun disk, using the python SDK.<br class=""><br class="">My code can be found at <a href="https://github.com/fbacchella/ovirtcmd/blob/master/ovlib/disks/__init__.py" class="">https://github.com/fbacchella/ovirtcmd/blob/master/ovlib/disks/__init__.py</a><br class=""><br class="">If a try to see the content of a existing disk and test with :<br class="">print disk.get_type()<br class="">print disk.get_storage_type()<br class=""><br class="">I'm getting :<br class="">None<br class="">lun<br class=""><br class="">Now I try to create another LUN disk with<br class="">kwargs['storage_type'] = 'lun'<br class="">kwargs['type_'] = 'system'<br class=""><br class="">I'm getting:<div class=""><br class=""><font face="Menlo" class="">> POST /api/disks HTTP/1.1<br class="">> <disk><br class="">> <type>system</type><br class="">> <interface>virtio-scsi</interface><br class="">> <lun_storage><br class="">> <logical_unit id="3600c0ff00026285aed8f355701000000"/><br class="">> </lun_storage><br class="">> <storage_type>lun</storage_type><br class="">> </disk><br class="">...<br class="">< <fault><br class="">< <reason>Incomplete parameters</reason><br class="">< <detail>Storage [type] required for invoke0</detail><br class="">< </fault><br class=""></font><div class=""><br class=""></div><div class="">changing to </div><div class=""><font face="Menlo" class=""> kwargs['type_'] = None </font></div><div class="">change nothing, I'm still getting the same error message.</div><div class=""><br class=""></div><font face="Menlo" class="">> POST /api/disks HTTP/1.1<br class="">> <disk><br class="">> <interface>virtio-scsi</interface><br class="">> <lun_storage><br class="">> <logical_unit id="3600c0ff00026285aed8f355701000000"/><br class="">> </lun_storage><br class="">> <storage_type>lun</storage_type><br class="">> </disk><br class="">...<br class="">< <fault><br class="">< <reason>Incomplete parameters</reason><br class="">< <detail>Storage [type] required for invoke0</detail><br class="">< </fault><br class=""><br class=""></font><div class=""><br class=""></div><div class=""> What did I do wrong ? There is nothing about that in the logs</div><br class="Apple-interchange-newline"><br class=""><br class=""><br class=""></div></body></html>