-
Notifications
You must be signed in to change notification settings - Fork 67
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, meom-ige] SWOT Ocean Pangeo Team #4254
Comments
If I understand correctly, we will decommission the staging and prod hub and the cluster too, right? I have this ERROR when I try to delete homes:
When I enter the GCP console, I see this: It's okay if I select any option? I can't run |
@AIDEA775 reading the support ticket, it seems indeed that staging / prod representing "SWOT Ocean Pangeo Team ([staging|prod])" should be deleted, and that everything should go - especially considering now that the contract ended 2022. I think the course of action is to attach it to our billing account and then proceed to tear down as you plan, and its OK to do so. |
Note that deleting home directory data can be done as part of deleting all cloud infra provisioned as everything is to go, so you can ignore that for the step of deleting things for any individual hub. |
@AIDEA775 I checked the checkboxes that I perceive to be irrelevant if we also will do phase 3 that deletes everything - not just an individual hub. In "Phase 2" there is only one left about |
Okey, now when I run
|
I have no knowledge on this :/ i think it could be ok to proceed, we may end up with a remnant thing, but it could be acceptable i think |
@AIDEA775 You could also decrypt the secrets file for the staging hub, that will contain the Client ID too. Try providing that to the command and see if that gives you a different output? |
Oh! Yes! In this commit consideRatio@ee87fc7 the auth was migrated to GitHubOAuthenticator without removing the CILogon client. Rolling back to the old secrets did the trick. |
Summary
This hub should have been decommissioned July 2022. AirTable currently lists this hub as active. Not to be confused with the DRAKKAR workshop) in Feb 2023.
References:
Info
Task List
Phase I
We tried but failed - the contract has ended in 2022 though so we are moving ahead.
We tried but failed.
Phase II - Hub Removal
(These steps are described in more detail in the docs at https://infrastructure.2i2c.org/hub-deployment-guide/hubs/delete-hub/)
config/clusters/<cluster_name>/<hub_name>.values.yaml
files. A complete list of relevant files can be found under the appropriate entry in the associatedcluster.yaml
file.config/clusters/<cluster_name>/cluster.yaml
file.helm --namespace HUB_NAME delete HUB_NAME
kubectl delete namespace HUB_NAME
deployer use-cluster-credentials <cluster_name>
before running the above commandsPhase III - Cluster Removal
This phase is only necessary for single hub clusters.
deployer grafana central-ds remove <cluster_name>
terraform plan -destroy
andterraform apply
from the appropriate workspace, to destroy the clusterterraform workspace delete <NAME>
projects
folder associated with the relevant cloud provider (e.g.terraform/gcp/projects/
for GCP)config/clusters/<cluster_name>
directory and all its contentsdeploy-hubs.yaml
deploy-grafana-dashboards.yaml
The text was updated successfully, but these errors were encountered: