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
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,
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
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
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
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"
> написал
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