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

[Decommission Hub] allen-swdb #1722

Closed
1 of 17 tasks
damianavila opened this issue Sep 20, 2022 · 8 comments · Fixed by #1736
Closed
1 of 17 tasks

[Decommission Hub] allen-swdb #1722

damianavila opened this issue Sep 20, 2022 · 8 comments · Fixed by #1736
Assignees

Comments

@damianavila
Copy link
Contributor

damianavila commented Sep 20, 2022

Summary

Confirmed the request for decommission on this comment: #1440 (comment)

Info

Task List

Phase I

  • Confirm with Community Representative that the hub is no longer in use and it's safe to decommission
  • Confirm if there is any data to migrate from the hub before decommissioning
    • If yes, confirm where the data should be migrated to
      • Confirm a 2i2c Engineer has access to the destination in order to complete the data migration
    • If no, confirm it is ok to delete all the data stored in the user home directories

Phase II - Hub Removal

(These steps are decribed in more detail in the docs at https://infrastructure.2i2c.org/en/latest/howto/hubs/delete-hub.html.)

  • Manage existing data (migrate data from the hub or delete it)
  • Remove the appropriate config/clusters/<cluster_name>/<hub_name>.values.yaml files. A complete list of relevant files can be found under the appropriate entry in the associated cluster.yaml file.
  • Remove the associated hub entry from the config/clusters/<cluster_name>/cluster.yaml file.
  • Remove the hub deployment
    • helm --namespace HUB_NAME delete HUB_NAME
    • kubectl delete namespace HUB_NAME
  • Delete the hub's authentication application on auth0, GitHub or CILogon

Phase III - Cluster Removal

This phase is only necessary for single hub clusters.

@damianavila
Copy link
Contributor Author

@mabuice, can you please confirm the following two items:

  • Confirm with Community Representative that the hub is no longer in use and it's safe to decommission (double checking because of protocol 😉).
  • Confirm if there is any data to migrate from the hub before decommissioning

@damianavila
Copy link
Contributor Author

@mabuice, just a gentle reminder about confirming the items I asked about above. Thanks!

@damianavila
Copy link
Contributor Author

I also assigned this decommission to @yuvipanda since he is going to finish and merge #1585 before the decommission actually happens 😉.

@mabuice
Copy link

mabuice commented Sep 30, 2022

@damianavila I think everything is good. It's ok to decommission. Sorry for the late response.

Thanks for everything; this was great.

yuvipanda added a commit to yuvipanda/pilot-hubs that referenced this issue Sep 30, 2022
@yuvipanda
Copy link
Member

Thanks for confirming, @mabuice! This will destroy all user data in their home directories irretrievably, hope that's ok :)

Decomission will happen whenever #1736 is reviewed and merged.

@damianavila damianavila moved this from Needs Shaping / Refinement to In progress in DEPRECATED Engineering and Product Backlog Oct 3, 2022
Repository owner moved this from In progress to Complete in DEPRECATED Engineering and Product Backlog Oct 4, 2022
@yuvipanda
Copy link
Member

It is gone now!

@sgibson91
Copy link
Member

Just FYI, I noticed the GitHub OAuth apps and Namecheap entries for this hub are hanging around, so I will clean those up

@damianavila
Copy link
Contributor Author

so I will clean those up

Thanks @sgibson91!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

4 participants