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

[deployer] Update exec root-homes command so that it's per hub not per cluster #4545

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

GeorgianaElena
Copy link
Member

@GeorgianaElena GeorgianaElena commented Jul 31, 2024

Needed this while doing the openscapes efs migration to double check transfer and was not working as expected. This fixes it.

Ref: #4291.

@GeorgianaElena GeorgianaElena self-assigned this Jul 31, 2024
Copy link

Merging this PR will trigger the following deployment actions.

Support and Staging deployments

Cloud Provider Cluster Name Upgrade Support? Reason for Support Redeploy Upgrade Staging? Reason for Staging Redeploy
aws 2i2c-aws-us No Yes Core infrastructure has been modified
aws nasa-esdis No Yes Core infrastructure has been modified
gcp linked-earth No Yes Core infrastructure has been modified
aws projectpythia No Yes Core infrastructure has been modified
gcp 2i2c No Yes Core infrastructure has been modified
aws catalystproject-africa No Yes Core infrastructure has been modified
gcp cloudbank No Yes Core infrastructure has been modified
aws smithsonian No Yes Core infrastructure has been modified
kubeconfig pchub No Yes Core infrastructure has been modified
gcp awi-ciroh No Yes Core infrastructure has been modified
aws jupyter-health No Yes Core infrastructure has been modified
aws opensci No Yes Core infrastructure has been modified
aws kitware No Yes Core infrastructure has been modified
gcp 2i2c-uk No Yes Core infrastructure has been modified
aws victor No Yes Core infrastructure has been modified
gcp leap No Yes Core infrastructure has been modified
aws earthscope No Yes Core infrastructure has been modified
aws nasa-veda No Yes Core infrastructure has been modified
kubeconfig utoronto No Yes Core infrastructure has been modified
aws nasa-ghg No Yes Core infrastructure has been modified
aws gridsst No Yes Core infrastructure has been modified
aws ubc-eoas No Yes Core infrastructure has been modified
aws openscapes No Yes Core infrastructure has been modified
gcp catalystproject-latam No Yes Core infrastructure has been modified
aws nasa-cryo No Yes Core infrastructure has been modified
gcp hhmi No Yes Core infrastructure has been modified
gcp pangeo-hubs No Yes Core infrastructure has been modified
aws jupyter-meets-the-earth No Yes Core infrastructure has been modified

Production deployments

Cloud Provider Cluster Name Hub Name Reason for Redeploy
aws 2i2c-aws-us showcase Core infrastructure has been modified
aws 2i2c-aws-us ncar-cisl Core infrastructure has been modified
aws 2i2c-aws-us itcoocean Core infrastructure has been modified
aws 2i2c-aws-us cosmicds Core infrastructure has been modified
aws 2i2c-aws-us isea Core infrastructure has been modified
aws 2i2c-aws-us neurohackademy Core infrastructure has been modified
aws nasa-esdis prod Core infrastructure has been modified
gcp linked-earth prod Core infrastructure has been modified
aws projectpythia prod Core infrastructure has been modified
aws projectpythia pythia-binder Core infrastructure has been modified
gcp 2i2c imagebuilding-demo Core infrastructure has been modified
gcp 2i2c binderhub-ui-demo Core infrastructure has been modified
gcp 2i2c demo Core infrastructure has been modified
gcp 2i2c ohw Core infrastructure has been modified
gcp 2i2c aup Core infrastructure has been modified
gcp 2i2c temple Core infrastructure has been modified
gcp 2i2c ucmerced Core infrastructure has been modified
gcp 2i2c climatematch Core infrastructure has been modified
gcp 2i2c mtu Core infrastructure has been modified
gcp 2i2c tufts Core infrastructure has been modified
aws catalystproject-africa nm-aist Core infrastructure has been modified
aws catalystproject-africa must Core infrastructure has been modified
aws catalystproject-africa uvri Core infrastructure has been modified
aws catalystproject-africa wits Core infrastructure has been modified
aws catalystproject-africa kush Core infrastructure has been modified
aws catalystproject-africa molerhealth Core infrastructure has been modified
aws catalystproject-africa aibst Core infrastructure has been modified
aws catalystproject-africa bhki Core infrastructure has been modified
aws catalystproject-africa bon Core infrastructure has been modified
gcp cloudbank bcc Core infrastructure has been modified
gcp cloudbank ccsf Core infrastructure has been modified
gcp cloudbank csm Core infrastructure has been modified
gcp cloudbank dvc Core infrastructure has been modified
gcp cloudbank elcamino Core infrastructure has been modified
gcp cloudbank evc Core infrastructure has been modified
gcp cloudbank glendale Core infrastructure has been modified
gcp cloudbank high Core infrastructure has been modified
gcp cloudbank howard Core infrastructure has been modified
gcp cloudbank miracosta Core infrastructure has been modified
gcp cloudbank riohondo Core infrastructure has been modified
gcp cloudbank skyline Core infrastructure has been modified
gcp cloudbank demo Core infrastructure has been modified
gcp cloudbank fresno Core infrastructure has been modified
gcp cloudbank humboldt Core infrastructure has been modified
gcp cloudbank laney Core infrastructure has been modified
gcp cloudbank sbcc Core infrastructure has been modified
gcp cloudbank sbcc-dev Core infrastructure has been modified
gcp cloudbank elac Core infrastructure has been modified
gcp cloudbank lacc Core infrastructure has been modified
gcp cloudbank lamission Core infrastructure has been modified
gcp cloudbank lbcc Core infrastructure has been modified
gcp cloudbank mendocino Core infrastructure has been modified
gcp cloudbank merced Core infrastructure has been modified
gcp cloudbank mills Core infrastructure has been modified
gcp cloudbank mission Core infrastructure has been modified
gcp cloudbank moreno Core infrastructure has been modified
gcp cloudbank norco Core infrastructure has been modified
gcp cloudbank palomar Core infrastructure has been modified
gcp cloudbank pasadena Core infrastructure has been modified
gcp cloudbank reedley Core infrastructure has been modified
gcp cloudbank sjcc Core infrastructure has been modified
gcp cloudbank sacramento Core infrastructure has been modified
gcp cloudbank srjc Core infrastructure has been modified
gcp cloudbank saddleback Core infrastructure has been modified
gcp cloudbank santiago Core infrastructure has been modified
gcp cloudbank sjsu Core infrastructure has been modified
gcp cloudbank sierra Core infrastructure has been modified
gcp cloudbank tuskegee Core infrastructure has been modified
gcp cloudbank wlac Core infrastructure has been modified
gcp cloudbank csulb Core infrastructure has been modified
gcp cloudbank csum Core infrastructure has been modified
aws smithsonian prod Core infrastructure has been modified
kubeconfig pchub prod Core infrastructure has been modified
gcp awi-ciroh prod Core infrastructure has been modified
aws jupyter-health prod Core infrastructure has been modified
aws opensci sciencecore Core infrastructure has been modified
aws opensci climaterisk Core infrastructure has been modified
aws opensci small-binder Core infrastructure has been modified
aws opensci big-binder Core infrastructure has been modified
aws kitware prod Core infrastructure has been modified
gcp 2i2c-uk lis Core infrastructure has been modified
aws victor prod Core infrastructure has been modified
gcp leap prod Core infrastructure has been modified
gcp leap public Core infrastructure has been modified
aws earthscope prod Core infrastructure has been modified
aws nasa-veda prod Core infrastructure has been modified
kubeconfig utoronto prod Core infrastructure has been modified
kubeconfig utoronto r-prod Core infrastructure has been modified
aws nasa-ghg prod Core infrastructure has been modified
aws gridsst prod Core infrastructure has been modified
aws ubc-eoas prod Core infrastructure has been modified
aws openscapes prod Core infrastructure has been modified
aws openscapes workshop Core infrastructure has been modified
gcp catalystproject-latam unitefa-conicet Core infrastructure has been modified
gcp catalystproject-latam cicada Core infrastructure has been modified
gcp catalystproject-latam gita Core infrastructure has been modified
gcp catalystproject-latam iner Core infrastructure has been modified
gcp catalystproject-latam plnc Core infrastructure has been modified
gcp catalystproject-latam unam Core infrastructure has been modified
gcp catalystproject-latam uprrp Core infrastructure has been modified
gcp catalystproject-latam cabana Core infrastructure has been modified
gcp catalystproject-latam nnb-ccg Core infrastructure has been modified
gcp catalystproject-latam labi Core infrastructure has been modified
aws nasa-cryo prod Core infrastructure has been modified
gcp hhmi prod Core infrastructure has been modified
gcp hhmi spyglass Core infrastructure has been modified
gcp hhmi binder Core infrastructure has been modified
gcp pangeo-hubs prod Core infrastructure has been modified
gcp pangeo-hubs coessing Core infrastructure has been modified
aws jupyter-meets-the-earth prod Core infrastructure has been modified

@GeorgianaElena GeorgianaElena merged commit a55b4b7 into 2i2c-org:main Jul 31, 2024
36 checks passed
Copy link

🎉🎉🎉🎉

Monitor the deployment of the hubs here 👉 https://github.com/2i2c-org/infrastructure/actions/runs/10178786600

@consideRatio
Copy link
Member

@GeorgianaElena there is deployer exec homes also, isn't that doing what you now made this command do?

# from `deployer exec --help`
homes                       Pop an interactive shell with the home directories of the given hub mounted on /home
root-homes                  Pop an interactive shell with the entire nfs file system of the given cluster mounted on /root-homes

A reason for adding this was when performing a EFS backup operation for example - because then you get a folder put in the root folder of the EFS system. Another reason, even though this one is only a convenience reason, is if you'd need to do something for all hub's in the same NFS server.

@GeorgianaElena
Copy link
Member Author

@consideRatio the command already existed for #4291. I've just made it now to use the nfs ip of each hub rather than assuming there is only one per cluster, which now isn't the case.

@GeorgianaElena GeorgianaElena deleted the deployer-exec-root-homes branch July 31, 2024 10:58
@GeorgianaElena
Copy link
Member Author

I needed it when doing the backup in order to make sure that I hadn't transfer anything else but the homedir.

@consideRatio
Copy link
Member

Ahhhh, nice thanks okay now I get it!

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