nevermind
nevermind
RRunPod
Created by nevermind on 9/3/2024 in #⛅|pods
My pod had been stuck during initialization
ogw47gdxzk3a26 - stuck during image pulling. Could you checkout what happened and handle that issue, because our infra is not ready to handle this kind of your errors.
11 replies
RRunPod
Created by nevermind on 8/21/2024 in #⛅|pods
How does runpod handle pod terminating
It is very likely that runpod simply sends a sigkill to the main container process. This is really annoying when you are trying to handle termination. Could you please provide information on how your orche system handles pod termination and how I can get the OS signal
26 replies
RRunPod
Created by nevermind on 5/21/2024 in #⛅|pods
graphql Unauthorized
When I perform the "myPods" query [https://graphql-spec.runpod.io/#query-myself looks similar] with the "machines" field, I receive a strange output:
{
"errors": [
{
"message": "Unauthorized",
"locations": [
{
"line": 15,
"column": 3
}
],
"path": ["myself", "machines"],
"extensions": {
"code": "RUNPOD"
}
}
],
"data": ...
}
{
"errors": [
{
"message": "Unauthorized",
"locations": [
{
"line": 15,
"column": 3
}
],
"path": ["myself", "machines"],
"extensions": {
"code": "RUNPOD"
}
}
],
"data": ...
}
The "data" field contains normal data but without "machines". 1. Why am I facing "Unauthorized"? 2. How do I filter my pods by dataCenter's value? Script to reproduce:
import requests

query = {
"operationName":"myPods",
"variables":{},
"query":"query myPods {\n myself { pods {\n desiredStatus \n dockerId\n id\n imageName\n lastStatusChange\n locked\n machineId\n name\n machineType\n templateId\n uptimeSeconds\n }\n machines { id } }\n}"
}
r = requests.post(
"https://api.runpod.io/graphql?api_key=...",
json=query
)
print(r.content)
print(r.status_code)
import requests

query = {
"operationName":"myPods",
"variables":{},
"query":"query myPods {\n myself { pods {\n desiredStatus \n dockerId\n id\n imageName\n lastStatusChange\n locked\n machineId\n name\n machineType\n templateId\n uptimeSeconds\n }\n machines { id } }\n}"
}
r = requests.post(
"https://api.runpod.io/graphql?api_key=...",
json=query
)
print(r.content)
print(r.status_code)
11 replies