Can't start a pod anymore with graphql mutation without a networkVolumeId

When I run this mutation
mutation podFindAndDeployOnDemand($input: PodFindAndDeployOnDemandInput) {
podFindAndDeployOnDemand(input: $input) {
id
imageName
env
machineId
ports
machine {
podHostId
}
}
}
with these inputs

{
"input": {
"cloudType": "SECURE",
"name": "****",
"templateId": "*****",
"env": [
{ "key": "USERNAME", "value": "*****" },
{ "key": "TYPE", "value": "****" },
{ "key": "POD_NAME", "value": "******" }
],
"gpuCount": 1,
"gpuTypeId": "NVIDIA A40"
}
}
mutation podFindAndDeployOnDemand($input: PodFindAndDeployOnDemandInput) {
podFindAndDeployOnDemand(input: $input) {
id
imageName
env
machineId
ports
machine {
podHostId
}
}
}
with these inputs

{
"input": {
"cloudType": "SECURE",
"name": "****",
"templateId": "*****",
"env": [
{ "key": "USERNAME", "value": "*****" },
{ "key": "TYPE", "value": "****" },
{ "key": "POD_NAME", "value": "******" }
],
"gpuCount": 1,
"gpuTypeId": "NVIDIA A40"
}
}
I get the following error
{
"errors": [
{
"message": "There are no longer any instances available with enough disk space.",
"path": [
"podFindAndDeployOnDemand"
],
"extensions": {
"code": "RUNPOD"
}
}
],
"data": {
"podFindAndDeployOnDemand": null
}
}
{
"errors": [
{
"message": "There are no longer any instances available with enough disk space.",
"path": [
"podFindAndDeployOnDemand"
],
"extensions": {
"code": "RUNPOD"
}
}
],
"data": {
"podFindAndDeployOnDemand": null
}
}
This is very new it wasn't happening before, are we forced to use networkVolumeIds now?
11 Replies
Souvik
Souvik3mo ago
+1
Madiator2011
Madiator20113mo ago
+1 Use REST API
powerofthenut
powerofthenutOP3mo ago
@Madiator2011 is it better than the graphQL api?
Madiator2011
Madiator20113mo ago
ye less chance you can mees things up
powerofthenut
powerofthenutOP3mo ago
perfect thank you
Madiator2011
Madiator20113mo ago
much easier to work with as on graphql one thing wrong and it will error out
powerofthenut
powerofthenutOP3mo ago
where can I find it?
powerofthenut
powerofthenutOP3mo ago
thank you can the REST api terminate a POD vs stop it?
Madiator2011
Madiator20113mo ago
Delete a Pod - terminate Stop a Pod - stop
powerofthenut
powerofthenutOP3mo ago
thank you

Did you find this page helpful?