Cannot create pods even there are available gpus

When I query as following,
query {
    gpuTypes(input: {id: "NVIDIA L4"}) {
        id
        lowestPrice(input: {
            gpuCount: 1
            secureCloud: true
        }) {
            gpuName
            rentedCount
            totalCount
            rentalPercentage
        }
    }
}

It return following result, which seems like there are some available L4 gpus.
{
  "data": {
    "gpuTypes": [
      {
        "id": "NVIDIA L4",
        "lowestPrice": {
          "gpuName": "L4",
          "rentedCount": 105,
          "totalCount": 136,
          "rentalPercentage": 0.7721
        }
      }
    ]
  }
}


However, if I create L4 pods with following query,
mutation {
    podFindAndDeployOnDemand(
        input: {
            cloudType: SECURE
            gpuCount: 1
            volumeInGb: 40
            containerDiskInGb: 40
            minVcpuCount: 2
            minMemoryInGb: 5
            gpuTypeId: "NVIDIA L4"
            name: "Test"
            imageName: "runpod/tensorflow"
            dockerArgs: ""
            ports: "8888/http"
            volumeMountPath: "/workspace"
        }
    ) {
        id
    }
}

It return following error
{
  "errors": [
    {
      "message": "There are no longer any instances available with the requested specifications. Please refresh and try again.",
      "path": [
        "podFindAndDeployOnDemand"
      ],
      "extensions": {
        "code": "RUNPOD"
      }
    }
  ],
  "data": {
    "podFindAndDeployOnDemand": null
  }
}
Was this page helpful?