Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This fixes a bug introduced in jobsub_lite 1.7 #557

Merged
merged 3 commits into from
Apr 1, 2024

Conversation

shreyb
Copy link
Collaborator

@shreyb shreyb commented Mar 31, 2024

In #551, we changed the behavior of how the _condor_SEC_CREDENTIAL_STORER environment variable was used. Previously, the condor.py:submit() function would always coerce that environment variable to point to the jobsub_lite version of condor_vault_storer. #551 changed that so that if _condor_SEC_CREDENTIAL_STORER was defined prior to submission, that setting was respected. This broke POMS submissions, as POMS relies on jobsub's overriding whatever setting for _condor_SEC_CREDENTIAL_STORER that exists.

Originally, that portion of #551 was put in place to allow us to pass verbose and debug to the underlying condor_vault_storer commands for troubleshooting purposes. This PR keeps that behavior by using the user-passed --verbose/--debug flags while restoring the previous overriding of _condor_SEC_CREDENTIAL_STORER.

I also added tests to make sure we didn't accidentally re-break this behavior in the future.

@shreyb shreyb requested a review from marcmengel March 31, 2024 20:14
@shreyb shreyb added this to the 1.7.1 milestone Mar 31, 2024
Copy link
Contributor

@marcmengel marcmengel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@marcmengel marcmengel merged commit 8838dc5 into fermitools:master Apr 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants