-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #588 from timtheisen/docs
Preliminary HTCondor-CE 23 docs
- Loading branch information
Showing
22 changed files
with
186 additions
and
421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,81 @@ configuring them in unison. | |
START_LOCAL_UNIVERSE = False | ||
START_SCHEDULER_UNIVERSE = $(START_LOCAL_UNIVERSE) | ||
|
||
Inserting IDTOKENs into the routed job's sandbox | ||
------------------------------------------ | ||
|
||
If you want to insert IDTOKENS into the routed job's sandbox you can use the `SendIDTokens` route command, or | ||
the `JOB_ROUTER_SEND_ROUTE_IDTOKENS` global configuration variable. Tokens | ||
sent using this mechanism must be named and declared using the `JOB_ROUTER_CREATE_IDTOKEN_NAMES` | ||
and [`JOB_ROUTER_CREATE_IDTOKEN_<name>`](https://htcondor.readthedocs.io/en/latest/admin-manual/configuration-macros.html#JOB_ROUTER_CREATE_IDTOKEN_%3CNAME%3E) configuration variables. Tokens whose names are declared in | ||
the `JOB_ROUTER_SEND_ROUTE_IDTOKENS` configuration variable are sent by default for each route that does | ||
not have a `SendIDTokens` command. | ||
|
||
- **To declare IDTOKENS for inclusion in glide-in jobs** for the purpose of advertising to a collector | ||
add something like the following to `/etc/condor-ce/config.d/99-local-ce-token.conf`: | ||
|
||
JOB_ROUTER_CREATE_IDTOKEN_NAMES = name1 name2 | ||
JOB_ROUTER_CREATE_IDTOKEN_name1 @=end | ||
sub = "[email protected]" | ||
kid = "POOL" | ||
lifetime = 3900 | ||
scope = "ADVERTISE_STARTD, ADVERTISE_MASTER, READ" | ||
dir = "/etc/condor-ce/gltokens/name1" | ||
filename = "ce_name1.idtoken" | ||
owner = "owner1" | ||
@end | ||
JOB_ROUTER_CREATE_IDTOKEN_Name2 @=end | ||
sub = "[email protected]" | ||
kid = "POOL" | ||
lifetime = 3900 | ||
scope = "ADVERTISE_STARTD, ADVERTISE_MASTER, READ" | ||
dir = "/etc/condor-ce/gltokens/name2" | ||
filename = "ce_name2.idtoken" | ||
owner = "owner2" | ||
@end | ||
|
||
- **To insert one of the above IDTOKENS in the sandbox of a routed job**, include the token name in the `SendIDTokens` route | ||
command like this. | ||
|
||
SendIDTokens = "Name2" | ||
!!! note "Route commands" | ||
`SendIDTokens` is a route command, not a job attribute. | ||
This means that you will not be able to manipulate it through | ||
[transform verbs](writing-job-routes.md#editing-attributes) such as `EVALSET`. | ||
**To add an IDTOKEN to a routed job in addition to the default tokens**, build a string containing the token name | ||
along with the value of the global configuration variable like this. | ||
|
||
SendIDTokens = "Name2 $(JOB_ROUTER_SEND_ROUTE_IDTOKENS)" | ||
|
||
**You can use an attribute of the source job** to choose the IDTOKEN by writing an expression like this. | ||
|
||
SendIDTokens = strcat( My.Owner, " $(JOB_ROUTER_SEND_ROUTE_IDTOKENS)") | ||
|
||
It is presumed that the value of `My.Owner` above is the same as the `<name>` of an IDTOKEN and as the `owner` field | ||
of that token. For instance, the Fermilab CE config uses the above `SendIDTokens` expression and | ||
the following token declarations at the time of this guide. | ||
|
||
JOB_ROUTER_CREATE_IDTOKEN_NAMES = fermilab3 osg | ||
JOB_ROUTER_CREATE_IDTOKEN_fermilab3 @=end | ||
sub = "[email protected]" | ||
kid = "POOL" | ||
lifetime = 3900 | ||
scope = "ADVERTISE_STARTD, ADVERTISE_MASTER, READ" | ||
dir = "/etc/condor-ce/gltokens/fermilab" | ||
filename = "ce_fermilab3.idtoken" | ||
owner = "fermilab" | ||
@end | ||
JOB_ROUTER_CREATE_IDTOKEN_osg @=end | ||
sub = "[email protected]" | ||
kid = "POOL" | ||
lifetime = 600 | ||
scope = "ADVERTISE_STARTD, ADVERTISE_MASTER, READ" | ||
dir = "/etc/condor-ce/gltokens/fermilab" | ||
filename = "ce_osg.idtoken" | ||
owner = "osg" | ||
@end | ||
|
||
|
||
Enabling the Monitoring Web Interface | ||
------------------------------------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ The specific services are: | |
|
||
| Software | Service name | | ||
|:-----------------------------|:--------------------------------------------| | ||
| Fetch CRL | `fetch-crl-boot` and `fetch-crl-cron` | | ||
| Your batch system | `condor` or `pbs_server` or … | | ||
| HTCondor-CE | `condor-ce` | | ||
| **(Optional)** APEL uploader | `condor-ce-apel` and `condor-ce-apel.timer` | | ||
|
@@ -62,20 +61,12 @@ before trying to operate the HTCondor-CE again. | |
Checking User Authentication | ||
---------------------------- | ||
|
||
There are two primary authentication methods for submitting jobs to | ||
an HTCondor-CE: GSI (currently being phased out) and SciTokens. | ||
The authentication method for submitting jobs to | ||
an HTCondor-CE is SciTokens. | ||
To see which authentication method and identity were used to submit | ||
a particular job (or modify existing jobs), you can look in | ||
`/var/log/condor-ce/AuditLog`. | ||
|
||
If GSI authentication was used, you'll see a set of lines like this: | ||
|
||
``` | ||
10/15/21 17:52:32 (cid:14) (D_AUDIT) Command=QMGMT_WRITE_CMD, peer=<172.17.0.2:41045> | ||
10/15/21 17:52:32 (cid:14) (D_AUDIT) AuthMethod=GSI, AuthId=/DC=org/DC=opensciencegrid/C=US/O=OSG Software/OU=People/CN=testuser, [email protected] | ||
10/15/21 17:52:32 (cid:14) (D_AUDIT) Submitting new job 1.0 | ||
``` | ||
|
||
If SciTokens authentication was used, you'll see a set of lines like this: | ||
|
||
``` | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
Releases | ||
======== | ||
|
||
HTCondor-CE 23 is distributed via RPM and are available from the following Yum repositories: | ||
|
||
- [HTCondor stable and current channels](https://research.cs.wisc.edu/htcondor/downloads/) | ||
- [Open Science Grid](https://opensciencegrid.org/docs/common/yum/) | ||
|
||
|
||
Known Issues | ||
------------ | ||
|
||
Known bugs affecting HTCondor-CEs can be found in | ||
[Jira](https://opensciencegrid.atlassian.net/issues/?jql=project%20%3D%20HTCONDOR%20AND%20status%20not%20in%20(done%2C%20abandoned)%20and%20component%20%3D%20htcondor-ce%20and%20issuetype%20%3D%20bug) | ||
|
||
Updating to HTCondor-CE 23 | ||
-------------------------- | ||
|
||
!!! note "Updating from HTCondor-CE < 6" | ||
If updating to HTCondor-CE 23 from HTCondor-CE < 5, be sure to also consult the HTCondor-CE 6 | ||
[upgrade instructions](../v6/releases.md#500). | ||
|
||
!!! tip "Finding relevant configuration changes" | ||
When updating HTCondor-CE RPMs, `.rpmnew` and `.rpmsave` files may be created containing new defaults that you | ||
should merge or new defaults that have replaced your customzations, respectively. | ||
To find these files for HTCondor-CE, run the following command: | ||
|
||
:::console | ||
root@host # find /etc/condor-ce/ -name '*.rpmnew' -name '*.rpmsave' | ||
|
||
HTCondor-CE 23 is very close in functionality yo HTCondor-CE 6. | ||
As such, upgrading should be very easy. | ||
|
||
HTCondor-CE 23 Version History | ||
------------------------------ | ||
|
||
This section contains release notes for each version of HTCondor-CE 23. | ||
Full HTCondor-CE version history can be found on [GitHub](https://github.com/htcondor/htcondor-ce/releases). | ||
|
||
### 23.0.0 ### | ||
|
||
[This release](https://github.com/htcondor/htcondor-ce/releases/tag/v23.0.0) includes the following new features: | ||
|
||
- Add grid CA and host certificate/key locations to default SSL search paths | ||
- Verifies that HTCondor-CE can access the local HTCondor's SPOOL directory | ||
- Can use condor\_ce\_trace without SciToken to test batch system integration | ||
- condor\_ce\_upgrade\_check checks compatibility with HTCondor 23.0 | ||
- Adds deprecation warnings for old job router configuration syntax | ||
|
||
Getting Help | ||
------------ | ||
|
||
If you have any questions about the release process or run into issues with an upgrade, please | ||
[contact us](../index.md#contact-us) for assistance. |
File renamed without changes.
Oops, something went wrong.