[one-users] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-07-24 Thread Alexandr Baranov
Hi, I have problems to create new virtual machines with rocci although i can create new virtual machines through sunstone web interface. Here's the output: $ occi --endpoint --action create --resource compute --mixin os_tpl#uuid_kvm_scientific_6_x86_64_1cpu_1gb_ram_clstkvm_155 --mixin resource_tp

Re: [one-users] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-07-24 Thread Valentin Bud
Hi Alexandr, Can you post your template please. Have you somehow defined two CONTEXT arrays inside the template? Bad Request : "[VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined." The above makes me think you did. Best, Valentin On Thu,

Re: [one-users] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-07-24 Thread Alexandr Baranov
My template: 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"] 24.07.2014 17:4

Re: [one-users] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-07-24 Thread Valentin Bud
Looks good to me Alexandr. It seems it's another problem somewhere else. I have never used rocci so I am unable to help you further :|. Maybe others will. Best, Valentin On Thu, Jul 24, 2014 at 4:55 PM, Alexandr Baranov wrote: > My template: > NIC=[NETWORK="36-kvm",NETWORK_UNAME="oneadmin"] ME

Re: [one-users] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-07-24 Thread Alexandr Baranov
Thank you, Valentin! 24.07.2014 18:01 пользователь "Valentin Bud" написал: > Looks good to me Alexandr. It seems it's another problem somewhere else. > I have never used rocci so I am unable to help you further :|. Maybe others > will. > > Best, > Valentin > > > On Thu, Jul 24, 2014 at 4:55 PM, A

Re: [one-users] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-07-30 Thread Ruben S. Montero
Maybe the rocci is adding it, could you try to remove the context, create the Vm and check the VM template afterwards to see if there is another CONTEXT attribute. On Jul 24, 2014 4:03 PM, "Alexandr Baranov" wrote: > Thank you, Valentin! > 24.07.2014 18:01 пользователь "Valentin Bud" > написал

Re: [one-users] [VirtualMachineAllocate] Error allocating a new virtual machine. Only one CONTEXT attribute can be defined.

2014-08-05 Thread Alexandr Baranov
Thank, for your support! I solve my problem - reinstall rocci-server, and update ruby up to v.2.1.2 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org