Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Using SLOT_TYPE_2_NAME_PREFIX breaks STARTD_ATTRS?
- Date: Fri, 09 Mar 2018 17:11:58 +0100
- From: Oliver Freyermuth <o.freyermuth@xxxxxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Using SLOT_TYPE_2_NAME_PREFIX breaks STARTD_ATTRS?
Dear tj,
many thanks, this indeed is working fine!
I also tried
NicePrefix_STARTD_ATTRS
before since I already assumed this was the issue, but it did not work.
Using SLOT_TYPE_2_STARTD_ATTRS seems like a nice trick to avoid this :-).
Is this somewhere in the documentation?
I looked around before asking here, but failed to find it.
(I looked in http://research.cs.wisc.edu/htcondor/manual/v8.7/3_14Setting_Up.html , for example).
Many thanks again and all the best,
Oliver
Am 08.03.2018 um 17:13 schrieb John M Knoeller:
> I think so. once you give the slot type a prefix, then it's not named slot2 anymore, and so it doesn't
> use SLOT2_STARTD_ATTRS. I think you want to use
>
> SLOT_TYPE_2_STARTD_ATTRS = $(STARTD_ATTRS) something_funny
>
> Or You could have all slots advertise something_funny, but have the value be different for type 2 slots.
>
> STARTD_ATTRS = something_funny
> something_funny = "MyString"
> SLOT_TYPE_2_something_funny = "Type2String"
>
> -tj
>
>
>
>
> -----Original Message-----
> From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Oliver Freyermuth via HTCondor-users
> Sent: Tuesday, March 6, 2018 4:16 PM
> To: htcondor-users <htcondor-users@xxxxxxxxxxx>
> Cc: Oliver Freyermuth <o.freyermuth@xxxxxxxxxxxxxx>
> Subject: [HTCondor-users] Using SLOT_TYPE_2_NAME_PREFIX breaks STARTD_ATTRS?
>
> Hi together,
>
> I tested the following configuration for a starter:
> --------------------------------------
> NUM_SLOTS = 2
>
> SLOT_TYPE_1 = auto
> NUM_SLOTS_TYPE_1 = 1
> SLOT_TYPE_1_PARTITIONABLE = TRUE
>
> SLOT_TYPE_2 = 30%
> NUM_SLOTS_TYPE_2 = 1
> SLOT_TYPE_2_PARTITIONABLE = TRUE
> something_funny = "MyString"
> SLOT2_STARTD_ATTRS = something_funny
> #SLOT_TYPE_2_NAME_PREFIX = NicePrefix_
> --------------------------------------
> This works fine, i.e. the STARTD_ATTR "something_funny" with value "MyString"
> can be seen with "condor_status -long <nameofhost>" as expected.
>
> However, once I uncomment the "SLOT_TYPE_2_NAME_PREFIX" line and restart condor on the execute node,
> the slot get's a nice name - but I can not see "something_funny" being announced by the startd anymore.
>
> Is this expected?
>
> This is HTCondor 8.6.9.
>
> Cheers,
> Oliver
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/
>
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/
>