MachineLearningNotebooks
MachineLearningNotebooks copied to clipboard
0/1 nodes are available: 1 Insufficient microsoft.com/fpga_catapult."
Hi Unable to deploy webservice with Pb6s family. getting following error.
ERROR - Service deployment polling reached non-successful terminal state, current service state: Failed
Operation ID: 82b0effb-2dd3-4bba-bea4-fce0b5125fcb
More information can be found using '.get_logs()'
Error:
{
"code": "KubernetesError",
"statusCode": 400,
"message": "Kubernetes Deployment Error",
"details": [
{
"code": "Unschedulable",
"message": "0/1 nodes are available: 1 Insufficient microsoft.com/fpga_catapult."
},
{
"code": "DeploymentFailed",
"message": "Couldn't schedule because the kubernetes cluster didn't have available resources after trying for 00:05:00.\nYou can address this error by either adding more nodes, changing the SKU of your nodes or changing the resource requirements of your service.\nPlease refer to https://aka.ms/debugimage#container-cannot-be-scheduled for more information."
},
{
"code": "DeploymentFailed",
"message": "Your container endpoint is not available. Please follow the steps to debug:\n1. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. Please refer to https://aka.ms/debugimage#dockerlog for more information.\n2. View the diagnostic events to check status of container, it may help you to debug the issue. [{\"InvolvedObject\":\"my-aks-service-1-656dd65d98-hkp5r\",\"InvolvedKind\":\"Pod\",\"Type\":\"Warning\",\"Reason\":\"FailedScheduling\",\"Message\":\"0/1 nodes are available: 1 Insufficient microsoft.com/fpga_catapult.\",\"LastTimestamp\":\"2020-10-27T07:07:19Z\"}]"
}
]
}
---------------------------------------------------------------------------
WebserviceException Traceback (most recent call last)
<timed exec> in <module>
/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azureml/core/webservice/webservice.py in wait_for_deployment(self, show_output, timeout_sec)
756 'Error:\n'
757 '{}'.format(self.state, self._operation_endpoint.split('/')[-1],
--> 758 logs_response, error_response), logger=module_logger)
759 print('{} service creation operation finished, operation "{}"'.format(self._webservice_type,
760 operation_state))
WebserviceException: WebserviceException:
Message: Service deployment polling reached non-successful terminal state, current service state: Failed
Operation ID: 82b0effb-2dd3-4bba-bea4-fce0b5125fcb
More information can be found using '.get_logs()'
Error:
{
"code": "KubernetesError",
"statusCode": 400,
"message": "Kubernetes Deployment Error",
"details": [
{
"code": "Unschedulable",
"message": "0/1 nodes are available: 1 Insufficient microsoft.com/fpga_catapult."
},
{
"code": "DeploymentFailed",
"message": "Couldn't schedule because the kubernetes cluster didn't have available resources after trying for 00:05:00.\nYou can address this error by either adding more nodes, changing the SKU of your nodes or changing the resource requirements of your service.\nPlease refer to https://aka.ms/debugimage#container-cannot-be-scheduled for more information."
},
{
"code": "DeploymentFailed",
"message": "Your container endpoint is not available. Please follow the steps to debug:\n1. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. Please refer to https://aka.ms/debugimage#dockerlog for more information.\n2. View the diagnostic events to check status of container, it may help you to debug the issue. [{\"InvolvedObject\":\"my-aks-service-1-656dd65d98-hkp5r\",\"InvolvedKind\":\"Pod\",\"Type\":\"Warning\",\"Reason\":\"FailedScheduling\",\"Message\":\"0/1 nodes are available: 1 Insufficient microsoft.com/fpga_catapult.\",\"LastTimestamp\":\"2020-10-27T07:07:19Z\"}]"
}
]
}
InnerException None
ErrorResponse
{
"error": {
"message": "Service deployment polling reached non-successful terminal state, current service state: Failed\nOperation ID: 82b0effb-2dd3-4bba-bea4-fce0b5125fcb\nMore information can be found using '.get_logs()'\nError:\n{\n \"code\": \"KubernetesError\",\n \"statusCode\": 400,\n \"message\": \"Kubernetes Deployment Error\",\n \"details\": [\n {\n \"code\": \"Unschedulable\",\n \"message\": \"0/1 nodes are available: 1 Insufficient microsoft.com/fpga_catapult.\"\n },\n {\n \"code\": \"DeploymentFailed\",\n \"message\": \"Couldn't schedule because the kubernetes cluster didn't have available resources after trying for 00:05:00.\\nYou can address this error by either adding more nodes, changing the SKU of your nodes or changing the resource requirements of your service.\\nPlease refer to https://aka.ms/debugimage#container-cannot-be-scheduled for more information.\"\n },\n {\n \"code\": \"DeploymentFailed\",\n \"message\": \"Your container endpoint is not available. Please follow the steps to debug:\\n1. From the AML SDK, you can run print(service.get_logs()) if you have service object to fetch the logs. Please refer to https://aka.ms/debugimage#dockerlog for more information.\\n2. View the diagnostic events to check status of container, it may help you to debug the issue. [{\\\"InvolvedObject\\\":\\\"my-aks-service-1-656dd65d98-hkp5r\\\",\\\"InvolvedKind\\\":\\\"Pod\\\",\\\"Type\\\":\\\"Warning\\\",\\\"Reason\\\":\\\"FailedScheduling\\\",\\\"Message\\\":\\\"0/1 nodes are available: 1 Insufficient microsoft.com/fpga_catapult.\\\",\\\"LastTimestamp\\\":\\\"2020-10-27T07:07:19Z\\\"}]\"\n }\n ]\n}"
}
}
when i print get_logs(), I am getting the following message.
'There are no backend pods available for this service. No logs could be retrieved.'
Hello @NSVR57 did you apply FPGA quota before model deployment? the error is due to FPGA quota issue. Please let us know if you got FPGA quota and still run into the issue. Thanks, Bozhong