[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] queryAnyAds constraint



Thank you for the replies.  Initial attempts were against 7.5.3, and subsequent against 7.4.3.  We ended up filtering the list in the application vs. relying on the constraint.

On Tue, Oct 5, 2010 at 10:48 PM, Matthew Farrellee <matt@xxxxxxxxxx> wrote:
On 10/05/2010 05:54 PM, Anna Aquino wrote:
Hello,

I am querying the classads, but only want the machine classad type.  I
have a similar scenario as described in the
https://www-auth.cs.wisc.edu/lists/condor-users/2008-October/msg00021.shtml
post.  I haven't broken the code on the correct syntax for either MyType
or TargetType in either the command-line nor the web service call.

When I perform a query with a constraint, such as condor_status -any
-constraint OpSys==\"LINUX\" or condor_status -any -constraint
Activity==\"Idle\" I get the expected results in both the command-line
and the web service call.  However, when attempting to constrain by
MyType (condor_status -constraint MyType==\"Machine\") or TargetType
(condor_status -constraint TargetType==\"Job\"), no results are
returned.  Any pointers?

Thanks!


https://condor-wiki.cs.wisc.edu/index.cgi/tktview?tn=508

It's not just similar, it's the same issue.

As a long shot, you might try 7.5. The ClassAd implementation was changed in 7.5. Please report back either way.

Best,


matt