R
Runpod17mo 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
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
youcef
youcefOP17mo ago
yeah, works fine if I start it in the UI
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
youcef
youcefOP17mo ago
alright
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Solution
youcef
youcef17mo 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
youcefOP17mo ago
I'll make a pull request
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
youcef
youcefOP17mo 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...

Did you find this page helpful?