<div dir="ltr">Hello!<div>I am trying to allocate a new image in OpenNebula using the Image.allocate(client,imageTemplate) method from the Java api. </div><div><div><br></div><div>I am doing:</div><div>OneResponse resonse =Image.allocate(client, image.toString());<br>
</div><div><br></div><div>where image.toString() is:</div><div><br></div><div><div>NAME = "ImageTest"</div><div>PATH = /var/lib/one/datastores/108/c10ddf1eb1bb078c4b1116652c5c9a55</div><div>PUBLIC = YES</div><div>
PERSISTENT = NO</div><div>TYPE = OS</div><div>DESCRIPTION = "this is a test"</div></div><div><br></div><div> response.getErrorMessage() is :"Not enough parameters"<br></div><div><br></div><div>But as I read from: <a href="http://archives.opennebula.org/documentation:archives:rel3.4:img_template">http://archives.opennebula.org/documentation:archives:rel3.4:img_template</a></div>
<div>I have set all the required parameters.</div><div>Do you know what am I missing? Any help will be much appreciated.</div><div><br></div><div>Thank you!</div><div>Regards,</div>-- <br><b>Roxana Ioana Roman</b><div><br>
</div>
</div></div>