HTCondor Project List Archives



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

Re: [Condor-devel] Has use of regexps with condor_status changed between 7.4 and 7.7?



On 03/19/2012 02:20 AM, Todd Tannenbaum wrote:
On 3/18/2012 8:41 PM, Rob wrote:
On Sat, 17 Mar 2012 09:46:49, Lukas Slebodnik wrote:
We have installed Condor 7.6.5 and your command
>did not also output anything.
>
>But I tried some modifications of your command.
>
>Next command will output both MyAddress and replaced IP address
>condor_status -f "%s " MyAddress -f "%s \n" 'regexps("<([^:]+):\d+>",
MyAddress, "\1")'
>
>So workaroud for you could be
>condor_status -f "" MyAddress -f "%s \n" 'regexps("<([^:]+):\d+>",
MyAddress, "\1")'
>

Thank you, this indeed works......but I can't believe this is then the
new "official" way of achieving this.
Your suggestion looks more like a work-around of a newly introduced bug
in the condor_status command.....


Indeed, I think it is a bug, and I think I may have an idea what is
happening... I just created a developer ticket about this, see
https://condor-wiki.cs.wisc.edu/index.cgi/tktview?tn=2896

If I guessed right re what is going on (fingers crossed), it should be
an easy fix.

Thanks for letting us know,
Todd

Until the fix, a cleaner way to workaround is w/ -attributes.

Best,


matt