R
RunPod5mo ago
youcef

can't start pod using the cli

I'm trying to start a pod using the cli by doing:
runpodctl start pod <id>
runpodctl start pod <id>
but I'm getting the error: Error: Cannot resume a spot pod as an on demand pod. I also tried putting a bid that matches the spot pricing:
runpodctl start pod --bid 0.340 <id>
runpodctl start pod --bid 0.340 <id>
and that gets me a different error Error: PodBidResume: statuscode 400
Solution:
I found the problem, the graphql query in the source code for runpodctl is missing the gpuCount param, ran it manually with the extra param and it worked
Jump to solution
9 Replies
nerdylive
nerdylive5mo ago
Is the gpu available?
youcef
youcefOP5mo ago
yeah, works fine if I start it in the UI
nerdylive
nerdylive5mo ago
report this to runpodctl's github, create an issue descripting this then
youcef
youcefOP5mo ago
alright
nerdylive
nerdylive5mo ago
i think its aproblem with runpodctl
Solution
youcef
youcef5mo ago
I found the problem, the graphql query in the source code for runpodctl is missing the gpuCount param, ran it manually with the extra param and it worked
youcef
youcefOP5mo ago
I'll make a pull request
nerdylive
nerdylive5mo ago
OOh thats great alright!
youcef
youcefOP5mo ago
GitHub
feat and fix: add gpuCount argument to StartSpotPod by youcefs21 · ...
Add gpuCount argument Related: #156: can't start spot pod using the cli Description The start StartSpotPod endpoint is missing the gpuCount argument, causing it to not work at all. I added th...
Want results from more Discord servers?
Add your server