Re: [GSOC] NullPointerException when deployVM using GRE isolation method. Help me!

2013-06-12 Thread Nguyen Anh Tu
@Chiradeep: I already implemented allocate() function to OvsGuestNetworkGuru. The above error is no more appear. Now I'll make OVS works with XCP 1.6. I tried and saw some new errors. However, everything is more clearly. 2013/6/12 Nguyen Anh Tu > @Chiradeep Vittal: I saw what happen on this er

Re: [GSOC] NullPointerException when deployVM using GRE isolation method. Help me!

2013-06-12 Thread Nguyen Anh Tu
@Chiradeep Vittal: I saw what happen on this error. The problem is: the * guru.allocate()* function in NetworkManager called to ExternalGuestNetworkGuru instead of OvsGuestNetworkGuru. *NetworkGuru guru = AdapterBase.getAdapterByName(_networkGurus, network.getGuruName())* this function return Exte

Re: [GSOC] NullPointerException when deployVM using GRE isolation method. Help me!

2013-06-10 Thread Nguyen Anh Tu
Hi, I'll look around this bug. 2013/6/11 Chiradeep Vittal > Yes > > On 6/10/13 1:12 PM, "Sebastien Goasguen" wrote: > > > > >On Jun 10, 2013, at 3:07 PM, Chiradeep Vittal > > wrote: > > > >> The check for the config is incorrect. The check should be whether the > >> network in the input param

Re: [GSOC] NullPointerException when deployVM using GRE isolation method. Help me!

2013-06-10 Thread Chiradeep Vittal
Yes On 6/10/13 1:12 PM, "Sebastien Goasguen" wrote: > >On Jun 10, 2013, at 3:07 PM, Chiradeep Vittal > wrote: > >> The check for the config is incorrect. The check should be whether the >> network in the input parameter has the isolation method 'GRE'. You can >>see >> the canHandle method on how

Re: [GSOC] NullPointerException when deployVM using GRE isolation method. Help me!

2013-06-10 Thread Sebastien Goasguen
On Jun 10, 2013, at 3:07 PM, Chiradeep Vittal wrote: > The check for the config is incorrect. The check should be whether the > network in the input parameter has the isolation method 'GRE'. You can see > the canHandle method on how to check for this. Although, I don't see why > this check shou

Re: [GSOC] NullPointerException when deployVM using GRE isolation method. Help me!

2013-06-10 Thread Chiradeep Vittal
The check for the config is incorrect. The check should be whether the network in the input parameter has the isolation method 'GRE'. You can see the canHandle method on how to check for this. Although, I don't see why this check should even be necessary. The network will be associated with the gur

Re: [GSOC] NullPointerException when deployVM using GRE isolation method. Help me!

2013-06-10 Thread Sebastien Goasguen
On Jun 10, 2013, at 10:17 AM, Nguyen Anh Tu wrote: > Hi forks, > I think we say "folks" but that's not solving the NPE error. I cc Chiradeep who might have some insight here. -sebastien > I'm trying OVS tunnel with XCP 1.6 and get error NullPointerException when > executing deployVM. > > I

[GSOC] NullPointerException when deployVM using GRE isolation method. Help me!

2013-06-10 Thread Nguyen Anh Tu
Hi forks, I'm trying OVS tunnel with XCP 1.6 and get error NullPointerException when executing deployVM. I found this error starting from the below code. *NetworkManagerImpl.java* *NicProfile profile = guru.allocate(network, requested, vm); (1)* if (isDefaultNic != null) {