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
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 stopped cray-sdu-rda service as per the requirement for testing and executed sat bootsys boot --stage ncn-power --ncn-boot-timeout 900 which should mount collection-mount and points the collection link to collection-mount
Risks and Mitigations
Risk is low as we just try-restart the cray-sdu-rda service where collection points to collection-mount when service is actively running
Pull Request Checklist
[ ] Version number(s) incremented, if applicable
[x] Copyrights updated
[x] License file intact
[x] Target branch correct
[x] CHANGELOG.md updated
[x] Testing is appropriate and complete, if applicable
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