-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
- Loading branch information
Showing
10 changed files
with
375 additions
and
12 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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/sh | ||
|
||
# Start the server, and keep trying to generate token until it works | ||
|
||
export USE_POOL_PASSWORD=yes | ||
condor_store_cred -p {{.Spec.Config.Password}} -f /root/secrets/pool_password | ||
exec bash -x /start.sh & | ||
|
||
# Create a token for the execute nodes. | ||
# And this will bind to /htcondor_operator and be copied to /root/secrets/token | ||
retval=1 | ||
while [ ${retval} -ne 0 ] | ||
do | ||
echo "Waiting for cluster to become ready to generate token..."; | ||
condor_token_create -authz ADVERTISE_MASTER -authz ADVERTISE_STARTD -authz READ -identity dockerworker@example.net -token dockerworker_token | ||
retval=$? | ||
sleep 2 | ||
done | ||
echo "HTCondor properly configured" | ||
echo "CUT HERE" | ||
cat /etc/condor/tokens.d/dockerworker_token |
Oops, something went wrong.