Ich versuche, die Python-API zu verwenden, um Aufträge von einem Computer zu übermitteln, der Condor nicht installiert hat, und ich habe eine Menge Probleme.HTCondor Python API
Ich habe ‚Htcondor installieren pip‘ und wenn ich es importieren, erhalte ich: hier
>>> import htcondor
Neither the environment variable CONDOR_CONFIG,
/etc/condor/, /usr/local/etc/, nor ~condor/ contain a condor_config source.
Either set CONDOR_CONFIG to point to a valid config source,
or put a "condor_config" file in /etc/condor/ /usr/local/etc/ or ~condor/
Was ist das Problem? Um die API von einem Client-Rechner wie diesem zu verwenden, muss ich einen vollständig installierten und konfigurierten Condor haben? Ich würde nicht denken, dass das notwendig wäre.
Wie dem auch sei trottete ich auf, und ich versuchte, diese:
>>> coll = htcondor.Collector("192.168.10.2")
>>> ads = coll.query(htcondor.AdTypes.Startd)
12/17/17 13:12:36 ERROR "Unwilling or unable to try IPv4 or IPv6.
Check the settings ENABLE_IPV4, ENABLE_IPV6, and NETWORK_INTERFACE.
" at line 1212 in file
/var/lib/condor/execute/slot1/dir_5110/htcondor_source/src/condor_io/sock.cpp
Was mache ich falsch hier?