Project

General

Profile

Bug #8242

What are the legal values for appname and appversion?

Added by Christopher Backhouse over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/02/2015
Due date:
% Done:

0%

Estimated time:
Duration:

Description

If I try to establishProcess with appname=CAFAna and appversion=v0.9 the query hangs.

The only values I've found that work are "test" and "1".

My scripting elsewhere uses "LEM" and a version in the form "vX_YY_ZZ". Our grid scripting uses probably "nova" and "root" and a version in that same form.

Is there a whitelist somewhere to get added to, or should I just switch to using appname=root?

It would be nice if the server replied with an error in this case rather than just hanging.


Related issues

Related to SAM Web services - Bug #8319: establish process will fail with an internal error if a non-existent application name/version is providedClosed04/13/2015

History

#1 Updated by Robert Illingworth over 4 years ago

You can use samweb list-applications to get a list of existing values. If you give it the family as well it will create a new entry on the fly, otherwise you have to provide an existing name and version or supposed to return an error. However the error case is not coded correctly, which is causing an http 500 response to the client, which puts ifdh into a loop.

#2 Updated by Christopher Backhouse over 4 years ago

Got it.

What sort of thing is supposed to be in family? The majority are "nova" but the rest are really all over the place.

#3 Updated by Robert Illingworth over 4 years ago

  • Related to Bug #8319: establish process will fail with an internal error if a non-existent application name/version is provided added

#4 Updated by Robert Illingworth over 4 years ago

  • Status changed from New to Closed

Family is just a arbitrary string to allow experiments to group their applications into some sort of structure. Personally I think it was a mistake and just the name would have been sufficient.

The hanging with an invalid name problem should be fixed in the next version of the server.



Also available in: Atom PDF