Re: [one-users] REG: onevnet list

2011-09-22 Thread Fabian Wenk

Hello Sriviatsan

On 22.09.2011 10:12, srivatsan jagannathan wrote:


Having same problem with this configuration also,
NAME   = "test150"
TYPE   = FIXED
BRIDGE = eth1
LEASES = [IP=192.168.58.150]

OUTPUT
onevnet show 108
VIRTUAL NETWORK 108 INFORMATION
ID:   : 108
UID:  : 0
PUBLIC: N

VIRTUAL NETWORK TEMPLATE
BRIDGE=eth1
LEASES=[ IP=192.168.58.150 ]
NAME=test150
TYPE=FIXED

LEASES INFORMATION
LEASE=[ IP=192.168.58.100, MAC=02:00:c0:a8:3a:64, USED=0, VID=-1 ]
LEASE=[ IP=192.168.58.150, MAC=02:00:c0:a8:3a:96, USED=0, VID=-1 ]


I have just tried your setup on my system, and everything looks good:

# cat test150.net
NAME   = "test150"
TYPE   = FIXED
BRIDGE = eth1
LEASES = [IP=192.168.58.150]
#

# onevnet create test150.net
#

# onevnet list
  ID USER NAME  TYPE BRIDGE P #LEASES
[...]
   5 admintest150  Fixed   eth1 N   0
#

# onevnet show 5
VIRTUAL NETWORK 5 INFORMATION 


ID:   : 5
UID:  : 0
PUBLIC: N

VIRTUAL NETWORK TEMPLATE
BRIDGE=eth1 


LEASES=[ IP=192.168.58.150 ]
NAME=test150
TYPE=FIXED

LEASES INFORMATION
LEASE=[ IP=192.168.58.150, MAC=02:00:c0:a8:3a:96, USED=0, VID=-1 ]
#

Did the network named "test150" already exists when you created it 
with this template? This could explain why you are seeing two 
LEASE lines (192.168.58.100 and 192.168.58.150).


But it is rather strange, that your 'onevnet list' does not show 
any output at all. Could it be, that the database got hit by 
something which trashed it in some parts?


What are you using as backend database, sqlite or MySQL?


bye
Fabian
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] REG: onevnet list

2011-09-22 Thread srivatsan jagannathan
Hi Fabian,

Having same problem with this configuration also,
NAME   = "test150"
TYPE   = FIXED
BRIDGE = eth1
LEASES = [IP=192.168.58.150]

OUTPUT
onevnet show 108
VIRTUAL NETWORK 108 INFORMATION
ID:   : 108
UID:  : 0
PUBLIC: N

VIRTUAL NETWORK TEMPLATE
BRIDGE=eth1
LEASES=[ IP=192.168.58.150 ]
NAME=test150
TYPE=FIXED

LEASES INFORMATION
LEASE=[ IP=192.168.58.100, MAC=02:00:c0:a8:3a:64, USED=0, VID=-1 ]
LEASE=[ IP=192.168.58.150, MAC=02:00:c0:a8:3a:96, USED=0, VID=-1 ]


onevnet list
  ID USER NAME  TYPE BRIDGE P #LEASES



log file oned.log
Thu Sep 22 10:06:10 2011 [InM][I]: --Mark--
Thu Sep 22 10:06:10 2011 [VMM][I]: --Mark--
Thu Sep 22 10:06:10 2011 [InM][I]: Monitoring host cloud7 (19)
Thu Sep 22 10:06:14 2011 [InM][D]: Host 19 successfully monitored.
Thu Sep 22 10:06:39 2011 [ReM][D]: HostPoolInfo method invoked
Thu Sep 22 10:06:39 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Thu Sep 22 10:07:09 2011 [ReM][D]: HostPoolInfo method invoked
Thu Sep 22 10:07:09 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Thu Sep 22 10:07:21 2011 [ReM][D]: VirtualNetworkAllocate method invoked
Thu Sep 22 10:07:27 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked
Thu Sep 22 10:07:39 2011 [ReM][D]: HostPoolInfo method invoked
Thu Sep 22 10:07:39 2011 [ReM][D]: VirtualMachinePoolInfo method invoked


Hi Fabian,
>
> OpenNebula Set up, 1 main server (without virtual bridge), 2 node server
> (with bridge name virbr0)
>
> Main server where i can perform one(host/vm/image/vnet) doesn't configured
> as bridge
>
> but the 2 node server has bridge name virbr0
>
> added oned.log
> Thu Sep 22 09:54:39 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:54:39 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Sep 22 09:55:09 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:55:09 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Sep 22 09:55:39 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:55:39 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Sep 22 09:55:55 2011 [InM][I]: Monitoring host cloud7 (19)
> Thu Sep 22 09:55:59 2011 [InM][D]: Host 19 successfully monitored.
> Thu Sep 22 09:56:09 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:56:09 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Sep 22 09:56:10 2011 [InM][I]: --Mark--
> Thu Sep 22 09:56:10 2011 [VMM][I]: --Mark--
> Thu Sep 22 09:56:39 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:56:39 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Sep 22 09:57:09 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:57:09 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
>
>
>
>
> Regards,
> Srivatsan J.
>

On Wed, Sep 21, 2011 at 6:33 PM, Fabian Wenk  wrote:

> Hello Srivatsan
>
>
> On 20.09.11 12:06, srivatsan jagannathan wrote:
>
>> Trying to add virtual network, type fixed see bottom.
>> onevnet -v create X.net
>> ->  return vnet-number (10)
>>
>> onevnet show vnet-number (works fine, list information)
>>
>> onevnet list   --->  displays nothing (only header information rest
>> blank.)
>>
>
> somehow strange, did you see any errors in the log files?
>
>
>  #Now we'll use the cluster private network (physical)
>> BRIDGE = virbr0
>>
>
> Does the interface virbr0 exist? Is it really a bridge interface? You can
> check with 'brctl show'.
>
>
> bye
> Fabian
> __**_
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] REG: onevnet list

2011-09-21 Thread Fabian Wenk

Hello Srivatsan

On 20.09.11 12:06, srivatsan jagannathan wrote:

Trying to add virtual network, type fixed see bottom.
onevnet -v create X.net
->  return vnet-number (10)

onevnet show vnet-number (works fine, list information)

onevnet list   --->  displays nothing (only header information rest
blank.)


somehow strange, did you see any errors in the log files?


#Now we'll use the cluster private network (physical)
BRIDGE = virbr0


Does the interface virbr0 exist? Is it really a bridge interface? 
You can check with 'brctl show'.



bye
Fabian
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] REG: onevnet list

2011-09-20 Thread srivatsan jagannathan
Hi Team,

   Installed opennebula 2.2 and everything working fine...

Trying to add virtual network, type fixed see bottom.
onevnet -v create X.net
-> return vnet-number (10)

onevnet show vnet-number (works fine, list information)

onevnet list   ---> displays nothing (only header information rest
blank.)



--- sample network created---
NAME = "test1"
TYPE = FIXED

#Now we'll use the cluster private network (physical)
BRIDGE = virbr0
LEASES = [ IP="192.168.58.100"]
LEASES = [ IP="192.168.58.101"]
LEASES = [ IP="192.168.58.102"]
--


Regards,
Srivatsan J.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org