[one-users] Problem in network from fresh install opennebula 3

Ruben S. Montero rubensm at dacya.ucm.es
Thu Nov 24 12:02:51 PST 2011


Are you trying yo get the lease also with the oneadmin account? Any
relevant message in oned.log?

2011/11/24 Carlos Fernández Iglesias <ciglesias at cesga.es>:
> Hello,
>
> I have a fresh install with a network configured:
> ID             : 0
> USER           : oneadmin
> GROUP          : oneadmin
> PUBLIC         : Yes
> USED LEASES    : 0
>
> VIRTUAL NETWORK TEMPLATE
> BRIDGE=virbrCLOUD
> LEASES=[ IP=84.21.173.192, MAC=02:fe:54:15:ad:C0 ]
> LEASES=[ IP=84.21.173.194, MAC=02:fe:54:15:ad:C2 ]
> NAME=red1
> TYPE=FIXED
>
> one template that uses it, but onetemplate instantiate gives allways the
> same error with oneadmin:
>
> [TemplateInstantiate] Error allocating a new virtual machine. Could not get
> virtual network for VM.
>
> Does anyone know what i'm doing wrong?
>
> Thanks.
>
> Machine template:
> TEMPLATE 0 INFORMATION
> ID             : 0
> NAME           : Opennebula pruebas migracion
> USER           : oneadmin
> GROUP          : oneadmin
> REGISTER TIME  : 11/24 15:27:05
> PUBLIC         : Yes
>
> TEMPLATE CONTENTS
> CONTEXT=[
>  FILES=/var/lib/oneadmin/init.sh,
>  GATEWAY=84.21.173.254,
>  HOSTNAME=$NAME,
>  IP_PRIVATE=192.168.195.1,
>  IP_PUBLIC=84.21.173.194,
>  NODE_CORES=1,
>  ROOT_PASSWD=pass,
>  TARGET=hdd,
>  USER_GID=1000,
>  USER_ID=1000,
>  USER_NAME=user,
>  USER_PASSWD=user ]
> CPU=1
> DISK=[
>  DRIVER=qcow2,
>  IMAGE_ID=3 ]
> DISK=[
>  READONLY=no,
>  SIZE=1024,
>  TARGET=hdc,
>  TYPE=swap ]
> GRAPHICS=[
>  KEYMAP=es,
>  LISTEN=0.0.0.0,
>  TYPE=vnc ]
> MEMORY=1024
> NAME="Opennebula pruebas migracion"
> NIC=[
>  IP=84.21.173.194,
>  MODEL=virtio,
>  NETWORK_ID=0 ]
> RANK="- RUNNING_VMS"
> REQUIREMENTS="HYPERVISOR=\"kvm\" & TM_MAD=\"tm_ssh\""
> TEMPLATE_ID=0
> VCPU=1
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid

URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7



More information about the Users mailing list