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

Valentin Bud valentin.bud at gmail.com
Thu Jul 24 06:46:23 PDT 2014


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, Jul 24, 2014 at 4:37 PM, Alexandr Baranov <telecastcloud at gmail.com>
wrote:

> 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 <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,
>
> [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]
> Bad Request : "[VirtualMachineAllocate] Error allocating a new virtual
> machine. Only one CONTEXT attribute can be defined."
>
> What could be the problem?
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140724/f1cbd456/attachment.htm>


More information about the Users mailing list