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

Alexandr Baranov telecastcloud at gmail.com
Thu Jul 24 06:55:47 PDT 2014


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:46 пользователь "Valentin Bud" <valentin.bud at gmail.com>
написал:

> 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/438143f8/attachment.htm>


More information about the Users mailing list