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

CRAYSAT-1865: Recreate SDU collection link #245

Merged

Conversation

annapoorna-s-alt
Copy link
Contributor

@annapoorna-s-alt annapoorna-s-alt commented Jul 25, 2024

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 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
  • Copyrights updated
  • License file intact
  • Target branch correct
  • CHANGELOG.md updated
  • Testing is appropriate and complete, if applicable
  • HPC Product Announcement prepared, if applicable

@annapoorna-s-alt annapoorna-s-alt force-pushed the CRAYSAT-1865-recreate-SDU-link branch from c3e5900 to fddfb28 Compare July 25, 2024 10:28
@annapoorna-s-alt
Copy link
Contributor Author

Latest output is here

@annapoorna-s-alt annapoorna-s-alt force-pushed the CRAYSAT-1865-recreate-SDU-link branch from fddfb28 to 2061c12 Compare July 26, 2024 09:08
IM:CRAYSAT-1865
Reviwer:Ryan

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
Copy link
Contributor

@shivaprasad-metimath shivaprasad-metimath 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

@annapoorna-s-alt annapoorna-s-alt merged commit 7401702 into feature/CRAYSAT-1740 Jul 29, 2024
3 checks passed
@annapoorna-s-alt annapoorna-s-alt deleted the CRAYSAT-1865-recreate-SDU-link branch July 29, 2024 04:55
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