<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 1, 2016 at 3:27 PM, Ben De Luca <span dir="ltr">&lt;<a href="mailto:bdeluca@gmail.com" target="_blank">bdeluca@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Could I set up glance for this? </div></blockquote><div><br></div><div>You can upload the files to glance first, then import them to oVirt using the rest-api.</div><div><br></div><div>E.g.</div><div><div class="gmail-pre" style="font-family:monospace;white-space:pre;color:rgb(0,0,0)">POST /ovirt-engine/api/openstackimageproviders/123/images/456/import</div><div class="gmail-pre" style="font-family:monospace;white-space:pre;color:rgb(0,0,0)">&lt;action&gt;</div><div class="gmail-pre" style="font-family:monospace;white-space:pre;color:rgb(0,0,0)"><a id="gmail-l52" href="https://gerrit.ovirt.org/gitweb?p=ovirt-engine-api-model.git;a=blob;f=src/main/java/services/openstack/OpenstackImageService.java;h=72acfefee4e431669a9991b155052ab5dbe41f4e;hb=HEAD#l52" class="gmail-linenr" style="color:rgb(153,153,153);text-decoration:none">  </a>&lt;storage_domain&gt;</div><div class="gmail-pre" style="font-family:monospace;white-space:pre;color:rgb(0,0,0)"><a id="gmail-l53" href="https://gerrit.ovirt.org/gitweb?p=ovirt-engine-api-model.git;a=blob;f=src/main/java/services/openstack/OpenstackImageService.java;h=72acfefee4e431669a9991b155052ab5dbe41f4e;hb=HEAD#l53" class="gmail-linenr" style="color:rgb(153,153,153);text-decoration:none">  </a>  &lt;name&gt;images0&lt;/name&gt;</div><div class="gmail-pre" style="font-family:monospace;white-space:pre;color:rgb(0,0,0)"><a id="gmail-l54" href="https://gerrit.ovirt.org/gitweb?p=ovirt-engine-api-model.git;a=blob;f=src/main/java/services/openstack/OpenstackImageService.java;h=72acfefee4e431669a9991b155052ab5dbe41f4e;hb=HEAD#l54" class="gmail-linenr" style="color:rgb(153,153,153);text-decoration:none">  </a>&lt;/storage_domain&gt;</div><div class="gmail-pre" style="font-family:monospace;white-space:pre;color:rgb(0,0,0)">&lt;/action&gt;</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On 31 October 2016 at 23:42, Ben De Luca <span dir="ltr">&lt;<a href="mailto:bdeluca@gmail.com" target="_blank">bdeluca@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">That&#39;s probably a little bit more brave than I am, so there is no way in the current release? I don&#39;t mind jumping through a few hoops but sitting for days loading them doesn&#39;t fill me joy. <span></span><div><div><br></div><div>If not it&#39;s great that feature is added. <div><div class="gmail-m_9050469375554498693h5"><br><br><br><br>On Monday, 31 October 2016, Amit Aviram &lt;<a href="mailto:aaviram@redhat.com" target="_blank">aaviram@redhat.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-size:small">Hi Ben. Actually exactly today REST API for uploading disks was introduced to master. It is supposed to get into the next 4.0.Z version, so if you want you can update your version soon enough and use the API.</div><div style="font-size:small"><br></div><div style="font-size:small">When you&#39;ll have the right version, you can use examples from &quot;/api/Model&quot; to upload disks using oVirt&#39;s Python SDK.</div><div style="font-size:small"><br></div><div style="font-size:small">If you need any help, please feel free to keep asking on the list.</div><div style="font-size:small"><br></div><div style="font-size:small">Amit.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 31, 2016 at 7:22 PM, Ben De Luca <span dir="ltr">&lt;<a>bdeluca@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div>    I was wondering if there was a method on the cli/script to mass upload disks to ovirt. The web loader is great, but also I have 20 disks that I really just want to upload via shell. </div><div><br></div><div>    I can&#39;t seem to find a tool to do it, I have found ovirt-image-uploader (but that&#39;s for ovf files).</div><div><br></div><div>    I hoped that I could just pull the date directly off nfs but that doesnt seem to be possible, or I am blind?</div><div><br></div><div>    Thanks</div><span><font color="#888888"><div>-Ben</div><div><br></div><div><br></div><div><br></div><div><br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a>Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div></div>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>