-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fix ping-and-up test for den launched clusters #1684
base: main
Are you sure you want to change the base?
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
1597c5d
to
c75846e
Compare
e31d961
to
6524d80
Compare
c20cd82
to
4013fe4
Compare
cluster_den_status: list = read_resp_data(resp) | ||
|
||
if not cluster_den_status: | ||
logger.warning("Failed to update cluster info") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decided to go with "Failed to update cluster info"
since we are updating cluster info (such as compute properties etc), and not just cluster status.
@jlewitt1
0074691
to
97d564c
Compare
cluster_dict = self._sky_status(refresh=not dryrun) | ||
self._populate_connection_from_status_dict(cluster_dict) | ||
if self.launcher == LauncherType.DEN: | ||
cluster_uri = rns_client.format_rns_address(self.rns_address or self.name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we're using the den launcher it always have an rns address, is there a reason we have the or self.name
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the first time we call self._update_from_status(dryrun=True)
is during the cluster construction, before we save the cluster (relevant for both den and local launched clusters), therefore we don't have rns_address
yet.
(Code reference)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so in that case isn't it enough to rely on the RNS address, and if it's none not hit den?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, good point, agreed, pushed an update
97d564c
to
ee1469a
Compare
6cbbf68
to
768ea7a
Compare
1edaa75
to
53ef430
Compare
1f9481c
to
6c9cdd9
Compare
53ef430
to
a2f72d9
Compare
6c9cdd9
to
9573009
Compare
c0be80e
to
6f580a5
Compare
6f580a5
to
814246b
Compare
14753f6
to
b82ab35
Compare
2280a44
to
6718847
Compare
6718847
to
8789a16
Compare
b82ab35
to
dd92066
Compare
dd92066
to
c5ef2e1
Compare
304b5ff
to
0b66b12
Compare
0b66b12
to
65cf6d8
Compare
c5ef2e1
to
493b0d7
Compare
65cf6d8
to
20d6b9f
Compare
74507f6
to
bac7432
Compare
493b0d7
to
c3c29d2
Compare
fixing the logic of
cluster._ping(retry=True)
for den_launched clusters.