CRAYSAT-1865: Recreate SDU collection link #245
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary and Scope
Automate the steps to recreate the /var/opt/cray/sdu/collection symbolic link to point at the collection-mount location where the fuse.s3fs filesystem is mounted.
Restarting cray-sdu-rda is one of the way to fix the symbolic link when it points at the local directory, collection-local, instead of the s3fs mount, collection-mount on ncn-m001
Issues and Related PRs
CRAYSAT-1865
Testing
List the environments in which these changes were tested.
Tested on:
Rocket
Test description:
How were the changes tested and success verified? If schema changes were part of this change, how were those handled in your upgrade/downgrade testing?
Tested whether /var/opt/cray/sdu/collection symbolic link point at the collection-mount location where the fuse.s3fs filesystem is mounted
Tested for different scenario where I manually unmounted
fuse.s3fs
and stoppedcray-sdu-rda
service as per the requirement for testing and executedsat bootsys boot --stage ncn-power --ncn-boot-timeout 900
which should mount collection-mount and points the collection link to collection-mountRisks and Mitigations
Risk is low as we just
try-restart
thecray-sdu-rda
service where collection points to collection-mount when service is actively runningPull Request Checklist