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

Carlos Fernández Iglesias ciglesias at cesga.es
Fri Nov 25 01:33:48 PST 2011


Hello,

This is the info:

-bash-4.1$ onevnet show -x 0
<VNET>
  <ID>0</ID>
  <UID>0</UID>
  <GID>0</GID>
  <UNAME>oneadmin</UNAME>
  <GNAME>oneadmin</GNAME>
  <NAME>171</NAME>
  <TYPE>1</TYPE>
  <BRIDGE>virbrCLOUD</BRIDGE>
  <PUBLIC>1</PUBLIC>
  <TOTAL_LEASES>0</TOTAL_LEASES>
  <TEMPLATE>
    <BRIDGE><![CDATA[virbrCLOUD]]></BRIDGE>
    <LEASES>
      <IP><![CDATA[84.21.173.192]]></IP>
      <MAC><![CDATA[02:fe:54:15:ad:C0]]></MAC>
    </LEASES>
    <LEASES>
      <IP><![CDATA[84.21.173.194]]></IP>
      <MAC><![CDATA[02:fe:54:15:ad:C2]]></MAC>
    </LEASES>
    <NAME><![CDATA[PROBAS]]></NAME>
    <TYPE><![CDATA[FIXED]]></TYPE>
  </TEMPLATE>
  <LEASES/>
</VNET>

Thank you.

El vie 25 nov 2011 10:03:27 CET, Ruben S. Montero escribió:
> hi
>
> What is info of onevnet show -x 0 ?
>
>
> Cheers
>
> 2011/11/25 Carlos Fernández Iglesias<ciglesias at cesga.es>:
>> I am trying to get the lease also with the oneadmin account, yes.
>>
>> This are the lines in oned.log:
>>
>> Fri Nov 25 09:45:19 2011 [ReM][D]: TemplateInfo method invoked
>> Fri Nov 25 09:45:19 2011 [ReM][D]: TemplateInstantiate method invoked
>> Fri Nov 25 09:45:19 2011 [ONE][E]: Could not get virtual network for VM.
>> Fri Nov 25 09:45:19 2011 [ReM][E]: [TemplateInstantiate] Error allocating a
>> new virtual machine. Could not get virtual network for VM.
>>
>> Thank you.
>>
>> El jue 24 nov 2011 21:02:51 CET, Ruben S. Montero escribió:
>>>
>>> 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
>>>>
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>





More information about the Users mailing list