<div dir="ltr">Hi Alexandr,<div><br></div><div>Can you post your template please. Have you somehow defined two CONTEXT</div><div>arrays inside the template?</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Bad Request : "[VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined." </span><br>

</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">The above makes me think you did.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>

</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Best,<br>Valentin</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 24, 2014 at 4:37 PM, Alexandr Baranov <span dir="ltr"><<a href="mailto:telecastcloud@gmail.com" target="_blank">telecastcloud@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi, <br>
I have problems to create new virtual machines with rocci although i can create new virtual machines through sunstone web interface. </p>
<p>Here's the output:<br>
 $ occi --endpoint <rOOCI endpoint> --action create --resource compute --mixin os_tpl#uuid_kvm_scientific_6_x86_64_1cpu_1gb_ram_clstkvm_155 --mixin resource_tpl#small --attribute occi.core.title="uuid_sl65_cvmfs_cloudinit_276_cloudinit_1406193329" --output-format json --auth basic --username <USER> --password <passwrd> F,</p>



<p> [2014-07-24T17:25:32.944541 #28565] FATAL -- : [rOCCI-cli] An error occurred! Message: HTTP POST with ID["72735417-9542-4e74-b04d-7d0c09b6c525"] failed! HTTP Response status: [400]<br>
 Bad Request : "[VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined." <br></p>
<p>What could be the problem?</p>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>