Mailing List Archive

Nprobe containers unable to share license file
Hi All:

I have a use case in which I am running multiple nprobe sessions as
containers (so we can apply various networking operations against its
respective veth port).

I notice that I despite the systemID is identical for all the containers, I
can not share the same license across them. I can only use a license on the
first nprobe container, any additional containers would site license
mismatch

localhost]$ sudo docker logs netflowbot3
07/Mar/2017 09:31:39 [nprobe.c:6211] ERROR: Invalid nProbe license
(/etc/nprobe.license) [License mismatch error]
07/Mar/2017 09:31:39 [nprobe.c:6218] ERROR: for BE1406069208AB1B
07/Mar/2017 09:31:39 [nprobe.c:6222] ERROR:
***************************************************
07/Mar/2017 09:31:39 [nprobe.c:6223] ERROR: **
**
07/Mar/2017 09:31:39 [nprobe.c:6224] ERROR: ** Switching to DEMO MODE due
to license error **
07/Mar/2017 09:31:39 [nprobe.c:6225] ERROR: **
**
07/Mar/2017 09:31:39 [nprobe.c:6226] ERROR: ** Create your nProbe license
at **
07/Mar/2017 09:31:39 [nprobe.c:6227] ERROR: **
http://www.nmon.net/mklicense/ **
07/Mar/2017 09:31:39 [nprobe.c:6228] ERROR: **
**
07/Mar/2017 09:31:39 [nprobe.c:6229] ERROR:
***************************************************
07/Mar/2017 09:31:39 [nprobe.c:6248] ERROR:
***************************************************************
07/Mar/2017 09:31:39 [nprobe.c:6249] ERROR: * NOTE: This is a DEMO version
limited to 25000 flows export. *
07/Mar/2017 09:31:39 [nprobe.c:6250] ERROR:
***************************************************************
07/Mar/2017 09:31:39 [plugin.c:161] No plugins found in ./plugins
07/Mar/2017 09:31:39 [plugin.c:169] Loading 24 plugins [.so] from
/usr/local/lib/nprobe/plugins
07/Mar/2017 09:31:39 [nprobe.c:4272] WARNING: The output interfaceId is set
to 0: did you forget to use -Q perhaps ?
07/Mar/2017 09:31:39 [nprobe.c:4275] WARNING: The input interfaceId is set
to 0: did you forget to use -u perhaps ?
07/Mar/2017 09:31:39 [nprobe.c:4336] Welcome to nprobe v.7.1.150527
($Revision: 4692 $) for x86_64-unknown-linux-gnu with native PF_R


Here is how I am exporting/exposing the license file

docker run -td --rm -v
/home/devbot/license_pool/${i}.xdrum.nprobe.license:/etc/nprobe.license:ro
--name="netflowbot$i" xdrum/nprobe nprobe

I know I can run multple instances of nprobe in linux while sharing the
same license file, what is the difference between the two use cases? Am I
doing something incorrectly?


Much Thanks
Morgan Yang
Re: Nprobe containers unable to share license file [ In reply to ]
Hi Morgan
please provide the output from both the first (working instance) and the second (non working) instance,
something like the first 50 lines should be enough.

Thank you
Alfredo

> On 7 Mar 2017, at 03:07, Morgan Yang <morgan.yang1982@gmail.com> wrote:
>
> Hi All:
>
> I have a use case in which I am running multiple nprobe sessions as containers (so we can apply various networking operations against its respective veth port).
>
> I notice that I despite the systemID is identical for all the containers, I can not share the same license across them. I can only use a license on the first nprobe container, any additional containers would site license mismatch
>
> localhost]$ sudo docker logs netflowbot3
> 07/Mar/2017 09:31:39 [nprobe.c:6211] ERROR: Invalid nProbe license (/etc/nprobe.license) [License mismatch error]
> 07/Mar/2017 09:31:39 [nprobe.c:6218] ERROR: for BE1406069208AB1B
> 07/Mar/2017 09:31:39 [nprobe.c:6222] ERROR: ***************************************************
> 07/Mar/2017 09:31:39 [nprobe.c:6223] ERROR: ** **
> 07/Mar/2017 09:31:39 [nprobe.c:6224] ERROR: ** Switching to DEMO MODE due to license error **
> 07/Mar/2017 09:31:39 [nprobe.c:6225] ERROR: ** **
> 07/Mar/2017 09:31:39 [nprobe.c:6226] ERROR: ** Create your nProbe license at **
> 07/Mar/2017 09:31:39 [nprobe.c:6227] ERROR: ** http://www.nmon.net/mklicense/ <http://www.nmon.net/mklicense/> **
> 07/Mar/2017 09:31:39 [nprobe.c:6228] ERROR: ** **
> 07/Mar/2017 09:31:39 [nprobe.c:6229] ERROR: ***************************************************
> 07/Mar/2017 09:31:39 [nprobe.c:6248] ERROR: ***************************************************************
> 07/Mar/2017 09:31:39 [nprobe.c:6249] ERROR: * NOTE: This is a DEMO version limited to 25000 flows export. *
> 07/Mar/2017 09:31:39 [nprobe.c:6250] ERROR: ***************************************************************
> 07/Mar/2017 09:31:39 [plugin.c:161] No plugins found in ./plugins
> 07/Mar/2017 09:31:39 [plugin.c:169] Loading 24 plugins [.so] from /usr/local/lib/nprobe/plugins
> 07/Mar/2017 09:31:39 [nprobe.c:4272] WARNING: The output interfaceId is set to 0: did you forget to use -Q perhaps ?
> 07/Mar/2017 09:31:39 [nprobe.c:4275] WARNING: The input interfaceId is set to 0: did you forget to use -u perhaps ?
> 07/Mar/2017 09:31:39 [nprobe.c:4336] Welcome to nprobe v.7.1.150527 ($Revision: 4692 $) for x86_64-unknown-linux-gnu with native PF_R
>
>
> Here is how I am exporting/exposing the license file
>
> docker run -td --rm -v /home/devbot/license_pool/${i}.xdrum.nprobe.license:/etc/nprobe.license:ro --name="netflowbot$i" xdrum/nprobe nprobe
>
> I know I can run multple instances of nprobe in linux while sharing the same license file, what is the difference between the two use cases? Am I doing something incorrectly?
>
>
> Much Thanks
> Morgan Yang
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
Re: Nprobe containers unable to share license file [ In reply to ]
Hi Alfredo:

Please see attached. I'm using a nprobe container i found online, which is
an older version of nprobe, i'm trying to build a container with a new
version as well.



On Tue, Mar 7, 2017 at 9:46 AM, Alfredo Cardigliano <cardigliano@ntop.org>
wrote:

> Hi Morgan
> please provide the output from both the first (working instance) and the
> second (non working) instance,
> something like the first 50 lines should be enough.
>
> Thank you
> Alfredo
>
> On 7 Mar 2017, at 03:07, Morgan Yang <morgan.yang1982@gmail.com> wrote:
>
> Hi All:
>
> I have a use case in which I am running multiple nprobe sessions as
> containers (so we can apply various networking operations against its
> respective veth port).
>
> I notice that I despite the systemID is identical for all the containers,
> I can not share the same license across them. I can only use a license on
> the first nprobe container, any additional containers would site license
> mismatch
>
> localhost]$ sudo docker logs netflowbot3
> 07/Mar/2017 09:31:39 [nprobe.c:6211] ERROR: Invalid nProbe license
> (/etc/nprobe.license) [License mismatch error]
> 07/Mar/2017 09:31:39 [nprobe.c:6218] ERROR: for BE1406069208AB1B
> 07/Mar/2017 09:31:39 [nprobe.c:6222] ERROR: ******************************
> *********************
> 07/Mar/2017 09:31:39 [nprobe.c:6223] ERROR: **
> **
> 07/Mar/2017 09:31:39 [nprobe.c:6224] ERROR: ** Switching to DEMO MODE due
> to license error **
> 07/Mar/2017 09:31:39 [nprobe.c:6225] ERROR: **
> **
> 07/Mar/2017 09:31:39 [nprobe.c:6226] ERROR: ** Create your nProbe license
> at **
> 07/Mar/2017 09:31:39 [nprobe.c:6227] ERROR: **
> http://www.nmon.net/mklicense/ **
> 07/Mar/2017 09:31:39 [nprobe.c:6228] ERROR: **
> **
> 07/Mar/2017 09:31:39 [nprobe.c:6229] ERROR: ******************************
> *********************
> 07/Mar/2017 09:31:39 [nprobe.c:6248] ERROR: ******************************
> *********************************
> 07/Mar/2017 09:31:39 [nprobe.c:6249] ERROR: * NOTE: This is a DEMO version
> limited to 25000 flows export. *
> 07/Mar/2017 09:31:39 [nprobe.c:6250] ERROR: ******************************
> *********************************
> 07/Mar/2017 09:31:39 [plugin.c:161] No plugins found in ./plugins
> 07/Mar/2017 09:31:39 [plugin.c:169] Loading 24 plugins [.so] from
> /usr/local/lib/nprobe/plugins
> 07/Mar/2017 09:31:39 [nprobe.c:4272] WARNING: The output interfaceId is
> set to 0: did you forget to use -Q perhaps ?
> 07/Mar/2017 09:31:39 [nprobe.c:4275] WARNING: The input interfaceId is set
> to 0: did you forget to use -u perhaps ?
> 07/Mar/2017 09:31:39 [nprobe.c:4336] Welcome to nprobe v.7.1.150527
> ($Revision: 4692 $) for x86_64-unknown-linux-gnu with native PF_R
>
>
> Here is how I am exporting/exposing the license file
>
> docker run -td --rm -v /home/devbot/license_pool/${i}
> .xdrum.nprobe.license:/etc/nprobe.license:ro --name="netflowbot$i"
> xdrum/nprobe nprobe
>
> I know I can run multple instances of nprobe in linux while sharing the
> same license file, what is the difference between the two use cases? Am I
> doing something incorrectly?
>
>
> Much Thanks
> Morgan Yang
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
Re: Nprobe containers unable to share license file [ In reply to ]
Hi Morgan
please note the system id is not the same, it should be due to the container management (virtual) interface which is different in each container instance:

BE1406059208AB1B
BE1406049208AB1B

Alfredo

> On 7 Mar 2017, at 20:31, Morgan Yang <morgan.yang1982@gmail.com> wrote:
>
> Hi Alfredo:
>
> Please see attached. I'm using a nprobe container i found online, which is an older version of nprobe, i'm trying to build a container with a new version as well.
>
>
>
> On Tue, Mar 7, 2017 at 9:46 AM, Alfredo Cardigliano <cardigliano@ntop.org <mailto:cardigliano@ntop.org>> wrote:
> Hi Morgan
> please provide the output from both the first (working instance) and the second (non working) instance,
> something like the first 50 lines should be enough.
>
> Thank you
> Alfredo
>
>> On 7 Mar 2017, at 03:07, Morgan Yang <morgan.yang1982@gmail.com <mailto:morgan.yang1982@gmail.com>> wrote:
>>
>> Hi All:
>>
>> I have a use case in which I am running multiple nprobe sessions as containers (so we can apply various networking operations against its respective veth port).
>>
>> I notice that I despite the systemID is identical for all the containers, I can not share the same license across them. I can only use a license on the first nprobe container, any additional containers would site license mismatch
>>
>> localhost]$ sudo docker logs netflowbot3
>> 07/Mar/2017 09:31:39 [nprobe.c:6211] ERROR: Invalid nProbe license (/etc/nprobe.license) [License mismatch error]
>> 07/Mar/2017 09:31:39 [nprobe.c:6218] ERROR: for BE1406069208AB1B
>> 07/Mar/2017 09:31:39 [nprobe.c:6222] ERROR: ***************************************************
>> 07/Mar/2017 09:31:39 [nprobe.c:6223] ERROR: ** **
>> 07/Mar/2017 09:31:39 [nprobe.c:6224] ERROR: ** Switching to DEMO MODE due to license error **
>> 07/Mar/2017 09:31:39 [nprobe.c:6225] ERROR: ** **
>> 07/Mar/2017 09:31:39 [nprobe.c:6226] ERROR: ** Create your nProbe license at **
>> 07/Mar/2017 09:31:39 [nprobe.c:6227] ERROR: ** http://www.nmon.net/mklicense/ <http://www.nmon.net/mklicense/> **
>> 07/Mar/2017 09:31:39 [nprobe.c:6228] ERROR: ** **
>> 07/Mar/2017 09:31:39 [nprobe.c:6229] ERROR: ***************************************************
>> 07/Mar/2017 09:31:39 [nprobe.c:6248] ERROR: ***************************************************************
>> 07/Mar/2017 09:31:39 [nprobe.c:6249] ERROR: * NOTE: This is a DEMO version limited to 25000 flows export. *
>> 07/Mar/2017 09:31:39 [nprobe.c:6250] ERROR: ***************************************************************
>> 07/Mar/2017 09:31:39 [plugin.c:161] No plugins found in ./plugins
>> 07/Mar/2017 09:31:39 [plugin.c:169] Loading 24 plugins [.so] from /usr/local/lib/nprobe/plugins
>> 07/Mar/2017 09:31:39 [nprobe.c:4272] WARNING: The output interfaceId is set to 0: did you forget to use -Q perhaps ?
>> 07/Mar/2017 09:31:39 [nprobe.c:4275] WARNING: The input interfaceId is set to 0: did you forget to use -u perhaps ?
>> 07/Mar/2017 09:31:39 [nprobe.c:4336] Welcome to nprobe v.7.1.150527 ($Revision: 4692 $) for x86_64-unknown-linux-gnu with native PF_R
>>
>>
>> Here is how I am exporting/exposing the license file
>>
>> docker run -td --rm -v /home/devbot/license_pool/${i}.xdrum.nprobe.license:/etc/nprobe.license:ro --name="netflowbot$i" xdrum/nprobe nprobe
>>
>> I know I can run multple instances of nprobe in linux while sharing the same license file, what is the difference between the two use cases? Am I doing something incorrectly?
>>
>>
>> Much Thanks
>> Morgan Yang
>>
>>
>>
>> _______________________________________________
>> Ntop-misc mailing list
>> Ntop-misc@listgateway.unipi.it <mailto:Ntop-misc@listgateway.unipi.it>
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it <mailto:Ntop-misc@listgateway.unipi.it>
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc <http://listgateway.unipi.it/mailman/listinfo/ntop-misc>
>
> <first_container_license_working.txt><second_container_license_not_working.txt>_______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
Re: Nprobe containers unable to share license file [ In reply to ]
Thanks for pointing this out, sorry I missed it. Is it possible to have a
feature request that would allow multiple containers on the same system to
share a license?

On Mar 7, 2017 2:23 PM, "Alfredo Cardigliano" <cardigliano@ntop.org> wrote:

> Hi Morgan
> please note the system id is not the same, it should be due to the
> container management (virtual) interface which is different in each
> container instance:
>
> BE14060*5*9208AB1B
> BE14060*4*9208AB1B
>
> Alfredo
>
> On 7 Mar 2017, at 20:31, Morgan Yang <morgan.yang1982@gmail.com> wrote:
>
> Hi Alfredo:
>
> Please see attached. I'm using a nprobe container i found online, which is
> an older version of nprobe, i'm trying to build a container with a new
> version as well.
>
>
>
> On Tue, Mar 7, 2017 at 9:46 AM, Alfredo Cardigliano <cardigliano@ntop.org>
> wrote:
>
>> Hi Morgan
>> please provide the output from both the first (working instance) and the
>> second (non working) instance,
>> something like the first 50 lines should be enough.
>>
>> Thank you
>> Alfredo
>>
>> On 7 Mar 2017, at 03:07, Morgan Yang <morgan.yang1982@gmail.com> wrote:
>>
>> Hi All:
>>
>> I have a use case in which I am running multiple nprobe sessions as
>> containers (so we can apply various networking operations against its
>> respective veth port).
>>
>> I notice that I despite the systemID is identical for all the containers,
>> I can not share the same license across them. I can only use a license on
>> the first nprobe container, any additional containers would site license
>> mismatch
>>
>> localhost]$ sudo docker logs netflowbot3
>> 07/Mar/2017 09:31:39 [nprobe.c:6211] ERROR: Invalid nProbe license
>> (/etc/nprobe.license) [License mismatch error]
>> 07/Mar/2017 09:31:39 [nprobe.c:6218] ERROR: for BE1406069208AB1B
>> 07/Mar/2017 09:31:39 [nprobe.c:6222] ERROR: ******************************
>> *********************
>> 07/Mar/2017 09:31:39 [nprobe.c:6223] ERROR: **
>> **
>> 07/Mar/2017 09:31:39 [nprobe.c:6224] ERROR: ** Switching to DEMO MODE
>> due to license error **
>> 07/Mar/2017 09:31:39 [nprobe.c:6225] ERROR: **
>> **
>> 07/Mar/2017 09:31:39 [nprobe.c:6226] ERROR: ** Create your nProbe
>> license at **
>> 07/Mar/2017 09:31:39 [nprobe.c:6227] ERROR: **
>> http://www.nmon.net/mklicense/ **
>> 07/Mar/2017 09:31:39 [nprobe.c:6228] ERROR: **
>> **
>> 07/Mar/2017 09:31:39 [nprobe.c:6229] ERROR: ******************************
>> *********************
>> 07/Mar/2017 09:31:39 [nprobe.c:6248] ERROR: ******************************
>> *********************************
>> 07/Mar/2017 09:31:39 [nprobe.c:6249] ERROR: * NOTE: This is a DEMO
>> version limited to 25000 flows export. *
>> 07/Mar/2017 09:31:39 [nprobe.c:6250] ERROR: ******************************
>> *********************************
>> 07/Mar/2017 09:31:39 [plugin.c:161] No plugins found in ./plugins
>> 07/Mar/2017 09:31:39 [plugin.c:169] Loading 24 plugins [.so] from
>> /usr/local/lib/nprobe/plugins
>> 07/Mar/2017 09:31:39 [nprobe.c:4272] WARNING: The output interfaceId is
>> set to 0: did you forget to use -Q perhaps ?
>> 07/Mar/2017 09:31:39 [nprobe.c:4275] WARNING: The input interfaceId is
>> set to 0: did you forget to use -u perhaps ?
>> 07/Mar/2017 09:31:39 [nprobe.c:4336] Welcome to nprobe v.7.1.150527
>> ($Revision: 4692 $) for x86_64-unknown-linux-gnu with native PF_R
>>
>>
>> Here is how I am exporting/exposing the license file
>>
>> docker run -td --rm -v /home/devbot/license_pool/${i}
>> .xdrum.nprobe.license:/etc/nprobe.license:ro --name="netflowbot$i"
>> xdrum/nprobe nprobe
>>
>> I know I can run multple instances of nprobe in linux while sharing the
>> same license file, what is the difference between the two use cases? Am I
>> doing something incorrectly?
>>
>>
>> Much Thanks
>> Morgan Yang
>>
>>
>>
>> _______________________________________________
>> Ntop-misc mailing list
>> Ntop-misc@listgateway.unipi.it
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>
>>
>>
>> _______________________________________________
>> Ntop-misc mailing list
>> Ntop-misc@listgateway.unipi.it
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>>
>
> <first_container_license_working.txt><second_container_
> license_not_working.txt>_______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>