htcondor2 Members

htcondor2.enable_debug(flags=None) None

Enable debug messages, optionally setting the debug flags.

Parameters

flags (str) – Optional debug flags; defaults to None which uses the default flags from TOOL_DEBUG. Or from whatever subsystem was set by calling set_subsystem.

htcondor2.disable_debug()

Disable debugging output from HTCondor.

htcondor2.enable_log()

Enable debugging output from HTCondor, where the output is sent to a file. The logging level is set by the TOOL_DEBUG parameter, and the file by TOOL_LOG.

htcondor2.log(level, message)

Log a message using the HTCondor logging subsystem.

Parameters
htcondor2.param

A collections.abc.MutableMapping of the HTCondor configuration. Changes are reflected in the current process’s memory immediately, but are never written to disk. To change another process’s configuration (e.g., a running daemon’s), use RemoteParam.

htcondor2.ping(location, authz=None, security=None) ClassAd

Send a ping command to an HTCondor daemon.

Parameters
  • location (Union[str, ClassAd]) – A string specifying the daemon’s sinful address or a classad2.ClassAd describing the daemon as returned by Collector.locate().

  • authz (str) – Authorization level or command to test.

  • security (SecurityContext) – SecurityContext to use for authentication.

htcondor2.platform()

Returns the platform of HTCondor this module was compiled for.

htcondor2.reload_config(root_config_file=None) None

Reload the HTCondor config, optionally using the given root_config_file.

Parameters

root_config_file (str) – Optional path to root config file; defaults to None If no root_config_file is given, the default config files are reloaded. If root_config_file is specified, config is loaded from that file as if that file had been set as the CONDOR_CONFIG environment variable.

htcondor2.send_alive(ad=None, pid=None, timeout=None) None
htcondor2.send_command(ad, dc, target=None)

Send a command to an HTCondor daemon.

Parameters
htcondor2.set_ready_state(state='Ready') None

Tell the condor_master that this daemon is in a state.

Parameters

state (str) – The state this daemon is in; defaults to "Ready".

htcondor2.set_subsystem()

Set the subsystem name for the object.

The subsystem is primarily used for the parsing of the HTCondor configuration file.

Parameters
  • name (str) – The subsystem name.

  • daemon_type (SubsystemType) – The HTCondor daemon type. The default value of SubsystemType.Auto infers the type from the name parameter.

htcondor2.version()

Returns the version of HTCondor this module is linked against.