Open bbockelm opened 4 months ago
@bbockelm I'm not finding that attribute in the condor documentation at all for MachineAd. Is it custom or would it be under Machine or ClientMachine? Or am I looking in the wrong place entirely? If it is custom, would it be in the machine ad or the class ad? My instinct is the machine ad, but I want to be sure.
You want to look for the file via the _CONDOR_MACHINE_AD
environment variable. See this documentation section: https://htcondor.readthedocs.io/en/latest/users-manual/env-of-job.html#extra-environment-variables-htcondor-sets-for-jobs
At some hosts, the "EP name" is meaningless (it is the randomly-generated pod name) but the machine's
K8SPhysicalHostName
attribute records the "real" hostname.We should add this name to the metadata we include in the hold message for the plugin. It should be recorded, if present, as the
hostname
attribute); ifK8SPhysicalHostName
is not present, then nohostname
should be put in the error message (as it would be duplicative of other parts of the error message.So, example:
would become: