We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf0aa61 commit 24f99c0Copy full SHA for 24f99c0
sky/clouds/gcp.py
@@ -256,6 +256,10 @@ def check_credentials(self) -> Tuple[bool, Optional[str]]:
256
return True, None
257
258
def get_credential_file_mounts(self) -> Tuple[Dict[str, str], List[str]]:
259
- return {
260
- '~/.config/gcloud': '~/.config/gcloud'
261
- }, ['~/.config/gcloud/virtenv']
+ # Excluding the symlink to the python executable created by the gcp
+ # credential, which causes problem for ray up multiple nodes, tracked
+ # in #494, #496, #483.
262
+ # rsync_exclude only supports relative paths.
263
+ # TODO(zhwu): rsync_exclude here is unsafe as it may exclude the folder
264
+ # from other file_mounts as well in ray yaml.
265
+ return {'~/.config/gcloud': '~/.config/gcloud'}, ['virtenv']
0 commit comments