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

Check ips for ondemand clusters when loading from Den #1018

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

carolineechen
Copy link
Collaborator

@carolineechen carolineechen commented Jul 16, 2024

when loading on demand cluster from name (Den), if different IPs are found in the local sky db (refresh=False), then update the IPs. the local IPs should be more recent than the saved IPs

note: it is possible the cluster was autodowned but still in the local db, in this case the local IPs will still be used but won't work (calling up_if_not or _ping will correct this, but this is to avoid calling refresh in the constructor).

note: we do not resave the cluster either

Copy link
Collaborator Author

carolineechen commented Jul 16, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @carolineechen and the rest of your teammates on Graphite Graphite

Copy link
Contributor

@dongreenberg dongreenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great solution! Agree with the behavior

Base automatically changed from cc/ssh-local to main July 17, 2024 03:30
@carolineechen carolineechen merged commit 6024371 into main Jul 17, 2024
12 checks passed
@carolineechen carolineechen deleted the cc/cluster-load-ips branch July 17, 2024 03:30
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