Skip to Content.
Sympa Menu

perfsonar-dev - RE: [pS-dev] ps-sshtelnet-mp: not registering??

Subject: perfsonar development work

List archive

RE: [pS-dev] ps-sshtelnet-mp: not registering??


Chronological Thread 
  • From: Fausto Vetter <>
  • To: Michael Bischoff <>
  • Cc: Błażej Pietrzak <>, "" <>, Krzysztof Jędrzejewski <>
  • Subject: RE: [pS-dev] ps-sshtelnet-mp: not registering??
  • Date: Tue, 27 Jul 2010 18:14:59 +0100
  • Accept-language: en-US, en-GB
  • Acceptlanguage: en-US, en-GB

Bingo! I removed the content part of the configuration and it just worked.

 

Thanks!!!

 

Regards,

______________________________________________________________________

 

Mr Fausto Vetter

Network & Services Support Engineer

 

DANTE - www.dante.net

 

Tel: +44 (0)1223 371 357

Fax: +44 (0)1223 371 371

Email:

 

City House, 126-130 Hills Road

Cambridge CB2 1PQ

UK

_____________________________________________________________________

 

From: Michael Bischoff [mailto:]
Sent: 27 July 2010 17:13
To: Fausto Vetter
Cc: Błażej Pietrzak; ; Krzysztof Jędrzejewski
Subject: Re: [pS-dev] ps-sshtelnet-mp: not registering??

 

In service.properties:

 

# Group=LS

# Description=Enter the content type of the service

service.ls.service_content_type=sshtelnet mp

 

Should either:

have the value file:

service.ls.service_content_type=file

 

or be removed (if theres no value it defaults to file)

 

This should fix the problem, given I am looking at the right versions of the source.

 

For completeness sake:

service.ls.service_content_type

should have the value of iether: file, xmldb, lssummary or context

and it's a internal service property and should not be changed by end users

(It should be absent in the base2)

 

Best regards,

 

Michael

 

2010/7/27 Fausto Vetter <>

I also noticed the following messages:

 

- [LS Registration] Remove old Lookup Info (http://lhcopn-dante-mdm.cern.ch:8080/geant2-java-sql-ma/services/MeasurementArchiveService)

Exception in thread "Thread-48" java.lang.NullPointerException

        at org.perfsonar.service.base.registration.LSRegistrationComponent.runAction(Unknown Source)

        at org.perfsonar.base.auxiliary.components.simplescheduler.SchedulerTask$1.run(Unknown Source)

- [LS Registration] Put new Lookup Info (http://lhcopn-dante-mdm.cern.ch:8080/geant2-java-sql-ma/services/MeasurementArchiveService) metadata + 16 data eleme

nts

 

 

 

2010-07-27 15:29:58,553 %GEANT2-JAVA-SSHTELNET-MP.DEBUG% LSRegistrationComponent.initComponent: LSRegistrationComponent: parameter RUN_INTERVAL = 900000000

2010-07-27 15:29:58,554 %GEANT2-JAVA-SSHTELNET-MP.DEBUG% LSRegistrationComponent.initComponent: LSRegistrationComponent: parameter SCHEDULER = scheduler

 

Regards,

______________________________________________________________________

 

Mr Fausto Vetter

Network & Services Support Engineer

 

DANTE - www.dante.net

 

Tel: +44 (0)1223 371 357

Fax: +44 (0)1223 371 371

Email:

 

City House, 126-130 Hills Road

Cambridge CB2 1PQ

UK

_____________________________________________________________________

 

From: Fausto Vetter
Sent: 27 July 2010 16:37
To: 'Michael Bischoff'; Błażej Pietrzak
Cc: ; Krzysztof Jędrzejewski
Subject: RE: [pS-dev] ps-sshtelnet-mp: not registering??

 

Hi,

 

I don’t mind upgrading any of the nodes in LHC-OPN. When are they going to be released in the stable repository?

 

By the way, the applications I have installed are:

 

perfsonar-java-xml-ls-1.4-1

perfsonar-java-rrd-ma-3.2-1

perfsonar-java-as-1.2-3

perfsonar-java-sshtelnet-mp-1.3.4.2-1

perfsonar-java-sql-ma-2.2-1

 

The conf files are attached in the zip file.

 

Regards,

______________________________________________________________________

 

Mr Fausto Vetter

Network & Services Support Engineer

 

DANTE - www.dante.net

 

Tel: +44 (0)1223 371 357

Fax: +44 (0)1223 371 371

Email:

 

City House, 126-130 Hills Road

Cambridge CB2 1PQ

UK

_____________________________________________________________________

 

From: Michael Bischoff [mailto:]

Sent: 27 July 2010 15:50
To: Błażej Pietrzak
Cc: Fausto Vetter; ; Krzysztof Jędrzejewski
Subject: Re: [pS-dev] ps-sshtelnet-mp: not registering??

 

The logic responsible for registering to the LS service *is implemented in psbase library which is shared among all the services*. It is *not implemented* in the ssh/telnet mp service codebase.

It means that the problem reveiled here has consequences for *all services* as well!

I should know, as I've made various modifications to the base in the past :-) 

 

That code is fired indirectly by the configuration and depending on how much information needs to be send to the LS the service part that builds on the base will also contain logic.

 

The base itself is not as robust towards incomplete configuration as it should be, meaning it will work fine as long as everything is there but as soon as something is missing you will

end up with obscure error messages. I've tried to improve this in the past, but the base is big and there was the promise of a 'base2'.

 

Is 'service.ls.service_content_type' set and if so what is it set to. (service.properties) It's probably easier to send the properties files but make sure they don't contain any sensitive data

 

>What lines of configuration are missing?

I was guessing, see above

 

> I think the problem is with the compatibility of the versions of services

I doubt anything is being send in the first place, given the type of error.

 

Given, as Błażej Pietrzak indicates, that there is a newer version that is based on 'base2' I'd strongly encourage you to upgrade.

 

Regards,

Michael


2010/7/27 Błażej Pietrzak <>:
> Michael Bischoff pisze:
>>
>> Hello Fausto,
>>
>> >From what I can guess from those 3 lines is that the registration
>> logic ends prematurely due to a programmer's mistake,
>> which might have comes to light here because it's missing certain
>> lines of configuration.
>>
>> As it saids 'Unknown Source' for some reason debug information was
>> omitted. (Perhaps it was build by ant?) so it's a little
>> tricky troubleshoot considering I don't have the lines.
>>
>> Should the sshtelnet-mp developer not respond, please send the version
>> of the mp to the list and I'll investigate further.
>>
>> Kind regards,
>>
>> Michael
>>  
>
> Hello all,
>
> Thank you for a quick response. Could you explain a little bit further what
> you meant by writing:
>
>> From what I can guess from those 3 lines is that the registration
>
> logic ends prematurely due to a programmer's mistake,
> which might have comes to light here because it's missing certain
> lines of configuration.
>
> What lines of configuration are missing?
> Could you send me the configuration files for xml ls and ssh/telnet mp
> service, please?
> Could you send me the log files for those two services as well, please?
>
> The logic responsible for registering to the LS service *is implemented in
> psbase library which is shared among all the services*. It is *not
> implemented* in the ssh/telnet mp service codebase.
> It means that the problem reveiled here has consequences for *all services*
> as well!
>
> I think the problem is with the compatibility of the versions of services,
> but I need information from Fausto about the version of the ssh/telnet mp
> service and xml ls service that he is using.
> I am suspecting that Fausto uses ssh/telnet mp service version < 1.4. Before
> version 1.4 ssh/telnet mp used psbase *version 1*. All the services right
> now use the psbase *version 2*, also ssh/telnet mp service starting from
> first release candidate of the version 1.4 of the service. I assume that LS
> service no longer supports requests send from the psbase *version 1* of the
> library, but it must be confirmed by the LS service developer Krzysztof.
>
> Best regards
> Blazej Pietrzak
>
> --
> _________________________________________
> Blazej Pietrzak
> Network Research and Development
> Poznan Supercomputing & Networking Center
> Poznan, Poland
>
>

 




Archive powered by MHonArc 2.6.16.

Top of Page