billpress
billpress
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
Do you have suggestions for another way to do this while runpodctl send/receive is broken?
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
So here's my use case: I'm training models and writing logs to local disk (as well as some trainer models/binaries). Once the training script completes, I need to copy the logs and binaries back to the workflow/user so I can shutdown the pod. I don't want to use a network volume, as I want to be able to grab whatever pod is available of a given type (e.g., H200) anywhere in the country (whereas using a network mounted volume limits the associated pods to the same region).
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
Totally get it. No expectations of you, personally. More wondering about eng is prioritizing as a team. Sounds like it's not unblocking linux users to use runpodctl.
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
@Dj Is there a plan to fix the ssh keys issue with runpodctl config? That would be much simpler from a client perspective, so I can just simply run runpodctl receive <key> in my workflow and it will all just work.
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
@Dj , I still want to run these commands at the end of my container's CMD:
# Send the output.log file to the pod when the command ends
runpodctl send --code "$SEND_CODE" /workspace && \
# Stop this pod so it isn't restarted
runpodctl stop pod "$RUNPOD_POD_ID"
# Send the output.log file to the pod when the command ends
runpodctl send --code "$SEND_CODE" /workspace && \
# Stop this pod so it isn't restarted
runpodctl stop pod "$RUNPOD_POD_ID"
I found the REST API call for stopping the pod. Is there a REST API call you recommend for sending the /workspace directory using the $SEND_CODE (which was generated by the client creating the container, so it can call receive on its end).
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
Amazing. Thank you!
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
Oh wow, ok. That is so much easier. Thank you!
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
Will that work?
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
No way
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
Oh!
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
fwiw, I'm only doing this so I can get the pod's ID from within the docker container:
export POD_ID=$(runpodctl get pod | awk -v name="$POD_NAME" -F$'\t' '$2==name {print $1; exit}')
export POD_ID=$(runpodctl get pod | awk -v name="$POD_NAME" -F$'\t' '$2==name {print $1; exit}')
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
Oh, I see that ssh error further down in the comments. So... what do I do to work around this?
29 replies
RRunPod
Created by billpress on 5/13/2025 in #⛅|pods
SSH key generation issue with `runpodctl config`
I did get that error message, but it went away when I created an empty ~/.runpod/config.toml (by touching it). Then, it worked fine until today, when I started getting this new ssh-related error.
29 replies
RRunPod
Created by billpress on 5/5/2025 in #⛅|pods
Registry auth credential not working
I'd love your thoughts on this, @Dj , if you're up for giving it a quick look.
40 replies
RRunPod
Created by billpress on 5/5/2025 in #⛅|pods
Registry auth credential not working
Thanks, DJ. I'm stuck on a different issue at the moment. I'll post a separate topic just to keep it clean...
40 replies
RRunPod
Created by billpress on 5/5/2025 in #⛅|pods
Registry auth credential not working
Hi @Dj , I never heard back from you about this. I eventually got the template-based authentication to work; however, I was never able to get logging in with a container registry auth ID (permanent or dynamically created) to work. I don't love using a template, but it'll do for now. Anyway, I appreciated your help here. It's really great to have somebody from RunPod interacting with customers in this way. Thank you.
40 replies
RRunPod
Created by billpress on 5/5/2025 in #⛅|pods
Registry auth credential not working
@Dj Here's my complete custom action, if it's helpful to see exactly what I'm doing. Thank you again for all your help.
40 replies
RRunPod
Created by billpress on 5/5/2025 in #⛅|pods
Registry auth credential not working
@Dj I successfully created the container registry auth token from my workflow in the way you recommended (and see it in the portal before it's deleted). Unfortunately, I still continue to get the same error messages in the pod logs. Note that I also set the following now at the top of my workflow job:
permissions:
contents: read
packages: write
id-token: write
permissions:
contents: read
packages: write
id-token: write
40 replies
RRunPod
Created by billpress on 5/5/2025 in #⛅|pods
Registry auth credential not working
I misunderstood. This makes a lot of sense. I'll try it now.
40 replies
RRunPod
Created by billpress on 5/5/2025 in #⛅|pods
Registry auth credential not working
Interesting. I had created my own PAT with read:packages and used my username in the container registry auth (that I created using the RunPod UI). I like your flow better, though, creating it dynamically, but isn't the token associated with my username, since it's my PAT? Will it work with $github.actor when somebody else is running the workflow? I know we're well into GitHub help, vs RunPod help. I really appreciate your support here.
40 replies