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

Check if VAULT_ADDR env var exists before deleting it #13016

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

dosas
Copy link
Collaborator

@dosas dosas commented Oct 31, 2023

Currently this throws an error in teardown if VAULT_ADDR is not set.

@dosas dosas requested a review from a team as a code owner October 31, 2023 14:59
@omkarkhatavkar
Copy link

Can one of the admins verify this patch?

@ogajduse ogajduse requested a review from jyejare October 31, 2023 16:15
@jyejare
Copy link
Member

jyejare commented Oct 31, 2023

Setting the VAULT_ADDR is mandatory and is being done in Context manager itself.

Whats unsetting that var for you ?

@dosas
Copy link
Collaborator Author

dosas commented Nov 2, 2023

I still had some dummy values set in .env file for

VAULT_MOUNT_POINT_FOR_DYNACONF
VAULT_PATH_FOR_DYNACONF

That is why it executed that path.
Removing the file fixed it for me.

@jyejare jyejare added CherryPick PR needs CherryPick to previous branches 6.12.z Introduced in or relating directly to Satellite 6.12 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 labels Nov 2, 2023
@jyejare jyejare merged commit c1d7b42 into SatelliteQE:master Nov 2, 2023
8 of 9 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 2, 2023
github-actions bot pushed a commit that referenced this pull request Nov 2, 2023
github-actions bot pushed a commit that referenced this pull request Nov 2, 2023
Gauravtalreja1 pushed a commit that referenced this pull request Nov 2, 2023
Check if VAULT_ADDR env var exists before deleting it (#13016)

Co-authored-by: dosas <[email protected]>
(cherry picked from commit c1d7b42)

Co-authored-by: dosas <[email protected]>
Gauravtalreja1 pushed a commit that referenced this pull request Nov 2, 2023
Check if VAULT_ADDR env var exists before deleting it (#13016)

Co-authored-by: dosas <[email protected]>
(cherry picked from commit c1d7b42)

Co-authored-by: dosas <[email protected]>
Gauravtalreja1 pushed a commit that referenced this pull request Nov 2, 2023
Check if VAULT_ADDR env var exists before deleting it (#13016)

Co-authored-by: dosas <[email protected]>
(cherry picked from commit c1d7b42)

Co-authored-by: dosas <[email protected]>
shweta83 pushed a commit to shweta83/robottelo that referenced this pull request Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.12.z Introduced in or relating directly to Satellite 6.12 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants