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

Fail getting proxy if cigetcert fails for any reason #570

Closed
retzkek opened this issue May 3, 2024 · 0 comments · Fixed by #572
Closed

Fail getting proxy if cigetcert fails for any reason #570

retzkek opened this issue May 3, 2024 · 0 comments · Fixed by #572
Assignees
Labels
bug Something isn't working
Milestone

Comments

@retzkek
Copy link
Contributor

retzkek commented May 3, 2024

The check only actually returns an exception for one specific error condition, continuing on for others, which still may not have gotten a certificate. This can result in confusing errors like PermissionError: Failed attempting 'voms-proxy-init ...

if cigetcert_cmd.returncode != 0:
if "Kerberos initialization failed" in cigetcert_cmd.stdout:
raise Exception(
"Cigetcert failed to get proxy due to kerberos issue. Please ensure "
"you have valid kerberos credentials."
)

@retzkek retzkek added the bug Something isn't working label May 3, 2024
@shreyb shreyb self-assigned this May 7, 2024
@shreyb shreyb added this to the 1.8.1 milestone May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants