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

Add exclusions for aliases [RHELDST-26013] #755

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

amcmahon-rh
Copy link
Contributor

@amcmahon-rh amcmahon-rh commented Nov 13, 2024

Certain paths on our NetStorage fs have no symlinks/aliases, and teams/tools that make use of these paths expect similar behaviour from exodus.
This change introduces "exclude_paths" to exclude alias generation for certain paths, so we can replicate NetStorage behaviour.

Copy link
Member

@rohanpm rohanpm 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 so far, just needs tests.

exodus_gw/aws/util.py Outdated Show resolved Hide resolved
exodus_gw/aws/dynamodb.py Outdated Show resolved Hide resolved
tests/worker/test_deploy.py Outdated Show resolved Hide resolved
@amcmahon-rh amcmahon-rh changed the title exclusion_path wip Add exclusions for aliases [RHELDST-13644] Nov 19, 2024
@amcmahon-rh amcmahon-rh force-pushed the exclude_paths branch 2 times, most recently from 6866520 to 59dc1bf Compare November 19, 2024 13:53
exodus_gw/aws/util.py Outdated Show resolved Hide resolved
exodus_gw/worker/deploy.py Outdated Show resolved Hide resolved
@amcmahon-rh amcmahon-rh changed the title Add exclusions for aliases [RHELDST-13644] Add exclusions for aliases [RHELDST-26013] Nov 21, 2024
@rohanpm
Copy link
Member

rohanpm commented Nov 24, 2024

Is this ready for review now? I wasn't sure, because you added some log statements which were clearly for debugging and you didn't take them out again.

Certain paths on our NetStorage fs have no symlinks/aliases, and teams/
tools that make use of these paths expect similar behaviour from exodus.

This change introduces "exclude_paths" to exclude alias generation for
certain paths, so we can replicate NetStorage behaviour.
@amcmahon-rh
Copy link
Contributor Author

I've updated the code again to remove the left over debug logs 😬

@rohanpm rohanpm merged commit f6072cc into release-engineering:master Nov 25, 2024
3 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