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

Re: [HTCondor-users] condor_adstash with --ad_file option



Hi Jason,

 

No, nothing else. Iâm in fact able to run this command from our schedds (so there must be something different in the node Iâve set up). We are investigating.

 

Thanks a lot!

Maria

 

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Jason Patton via HTCondor-users
Sent: 17 March 2025 15:56
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Cc: Jason Patton <jpatton@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] condor_adstash with --ad_file option

 

Hi Maria,

 

It's not clear what the error is, was there any more to the traceback that got printed out? I was unable to reproduce an error when running a test when using these following arguments in a conda environment with the HTCondor python bindings install and\, where the current directory contains a file named "startd_history" with some history ads:

 

condor_adstash --standalone --ad_file ./startd_history --interface jsonfile --log_file ./adstash.log

 

Jason

 

On Mon, Mar 17, 2025 at 9:12âAM Maria Alandes Pradillo via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:

 

Dear colleagues,

 

Iâm trying to use condor_adstash with the --ad_file option. However, I get the following error:

 

03/17/25 15:04:03 ******************************************************

03/17/25 15:04:03 ** /usr/bin/condor_adstash (CONDOR_ADSTASH) STARTING UP

03/17/25 15:04:03 ** /usr/bin/condor_adstash

03/17/25 15:04:03 ** Configuration: subsystem:ADSTASH type:ADSTASH class:DAEMON

03/17/25 15:04:03 ** $CondorVersion: 23.0.2 2023-11-20 BuildID: 690948 PackageID: 23.0.2-1 $

03/17/25 15:04:03 ** $CondorPlatform: x86_64_AlmaLinux9 $

03/17/25 15:04:03 ** PID: 576802

03/17/25 15:04:03 ******************************************************

03/17/25 15:04:03 Running in standalone mode, will exit after one loop

03/17/25 15:04:03 Starting adstash loop

Traceback (most recent call last):

  File "/usr/bin/condor_adstash", line 143, in <module>

    main()

  File "/usr/bin/condor_adstash", line 113, in main

    last_loop_time = adstash(args)

  File "/usr/libexec/condor/adstash/adstash.py", line 62, in adstash

    ad_source = ADSTASH_AD_SOURCE_REGISTRY["ad_file"]()()

  File "/usr/libexec/condor/adstash/ad_sources/registry.py", line 24, in ad_file_source

    from adstash.ad_source.ad_file import FileAdSource

 

I would like to read history files from static files instead of dynamically querying the schedulers. Am I missing something in my configuration/installation?

 

Thanks a lot,

Maria

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe

Join us in June at Throughput Computing 25: https://urldefense.com/v3/__https://osg-htc.org/htc25__;!!Mak6IKo!P3mcYBOPD-ZL5utTlGViNJdtT9odx0cLFTjp5nD2S8bKNfuwgi4zSq9j1obRTnUuLjdhTVyrgiMFzxgBuKq-IprMgy3LJDI$

The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/