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

Re: [Condor-users] condor_status bug?



Fair enough, except it make no mention that this ordering is a requirement.  Nor should it, I guess, because it's not true of all the flags.  Also, other command, like condor_q, don't behave in this manner, so it seems like an unusual behaviour.  Either way, a bug report has been filed.  If it is deemed important enough, I'm sure it'll be changed in a future release.  Probably should have included the '-l' argument in the bug report as well.

-B

On 2010-06-13, at 7:03 PM, Steven Timm wrote:

> 
> Several options of condor status are order-sensitive.
> The man page, while involved, is correct in specifying
> the order. condor_status -grid -l will work, condor_status -l -grid won't.
> \
> Steve
> 
> On Sat, 12 Jun 2010, Burnett, Ben wrote:
> 
>> Hey:
>> 
>> I can't recall if this is a know problem or not, but some googling for it did not return any meaningful results.  It seems there is a slight problem with the argument handling in condor_status.  The problem seems to revolve around the use of the -xml argument.  Sometimes, depending on the where in the argument list the -xml option lies, condor_status thinks there is a conflict between it and some other argument condor_status has been given.
>> 
>> For example, when using '-state' condor_status exhibits this behaviour:
>> 
>> $ condor_status -xml -state
>> Error:  arg 2 (-state) contradicts arg 1 (-xml)
>> 
>> Meanwhile, reversing the arguments works just fine:
>> 
>> $ condor_status -state -xml
>> <?xml version="1.0"?>
>> <!DOCTYPE classads SYSTEM "classads.dtd">
>> <classads>
>> <c>
>>   <a n="MyType"><s>Machine</s></a>
>>   <a n="TargetType"><s>Job</s></a>
>> ...
>> 
>> The same is true for '-submitters', '-any', etc., but not for other arguments like '-attr', '-vm' or '-java'.
>> 
>> Regards,
>> -B
>> 
>> 
>> _______________________________________________
>> Condor-users mailing list
>> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
>> subject: Unsubscribe
>> You can also unsubscribe by visiting
>> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>> 
>> The archives can be found at:
>> https://lists.cs.wisc.edu/archive/condor-users/
>> 
> 
> -- 
> ------------------------------------------------------------------
> Steven C. Timm, Ph.D  (630) 840-8525
> timm@xxxxxxxx  http://home.fnal.gov/~timm/
> Fermilab Computing Division, Scientific Computing Facilities,
> Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/