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

[k8s] sky local up gpu support - ignore if ldconfig.real already exists #3509

Merged
merged 1 commit into from
May 6, 2024

Conversation

romilbhardwaj
Copy link
Collaborator

User shared bug report on slack:

No kind clusters found.
Generating /tmp/skypilot-kind.yaml
Creating cluster "skypilot" ...
 β€’ Ensuring node image (kindest/node:v1.21.1) πŸ–Ό  ...
 βœ“ Ensuring node image (kindest/node:v1.21.1) πŸ–Ό
 β€’ Preparing nodes πŸ“¦   ...
 βœ“ Preparing nodes πŸ“¦ 
 β€’ Writing configuration πŸ“œ  ...
 βœ“ Writing configuration πŸ“œ
 β€’ Starting control-plane πŸ•ΉοΈ  ...
 βœ“ Starting control-plane πŸ•ΉοΈ
 β€’ Installing CNI πŸ”Œ  ...
 βœ“ Installing CNI πŸ”Œ
 β€’ Installing StorageClass πŸ’Ύ  ...
 βœ“ Installing StorageClass πŸ’Ύ
Set kubectl context to "kind-skypilot"
You can now use your cluster with:

kubectl cluster-info --context kind-skypilot

Have a nice day! πŸ‘‹
Kind cluster created.

Enabling GPU support...
ln: failed to create symbolic link '/sbin/ldconfig.real': File exists

Kind node may have ldconfig.real already exist on the node. In that case symlinking is not required. This patch skips symlinking if it already exists.

Tested (run the relevant ones):

  • Manually tested with on a GCP T4 with sky local up

Copy link
Collaborator

@Michaelvll Michaelvll left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @romilbhardwaj !

@romilbhardwaj romilbhardwaj merged commit 2ff95bb into master May 6, 2024
20 checks passed
@romilbhardwaj romilbhardwaj deleted the k8s_localup_ldconfig branch May 6, 2024 01:29
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