<div dir="ltr">Looks good to me Alexandr. It seems it's another problem somewhere else.<div>I have never used rocci so I am unable to help you further :|. Maybe others</div><div>will.</div><div><br></div><div>Best,</div>

<div>Valentin</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 24, 2014 at 4:55 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>My template:<br>
NIC=[NETWORK="36-kvm",NETWORK_UNAME="oneadmin"] MEMORY="1024" CPU="1" DISK=[IMAGE="SL65-cvmfs-cloudinit",IMAGE_UNAME=$IMAGE_UNAME] GRAPHICS=[TYPE="VNC",LISTEN="0.0.0.0"] CONTEXT=[SSH_PUBLIC_KEY="ssh-rsa [KEY]",NETWORK="YES"] RAW=[TYPE="kvm"] OS=[ARCH="x86_64",BOOT="hd"]</p>



<div class="gmail_quote">24.07.2014 17:46 пользователь "Valentin Bud" <<a href="mailto:valentin.bud@gmail.com" target="_blank">valentin.bud@gmail.com</a>> написал:<div><div class="h5"><br type="attribution">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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" target="_blank">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>
</blockquote></div></div></div>
</blockquote></div><br></div>