Hello @philschmid,
This is my configuration when deploying the distilbert model endpoint.
I left the managed resource group to the default automatically generated value. My settings for compute+networking and tags are the same as before.
The deployment fails with Conflict status with following raw error message:
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"code": "ApplianceDeploymentFailed",
"message": "The operation to create appliance failed. Please check operations of deployment 'hugtextclass' under resource group '/subscriptions/f6b17c2b-afa1-437e-9b38-3c41d81dbac2/resourceGroups/mrg-huggingface-20220609090948'. Error message: 'At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.'"
}
]
}
I’ve also looked into deployment operation details and found a message regarding the Conflict status:
{
"status": "Failed",
"error": {
"code": "ApplianceDeploymentFailed",
"message": "The operation to create appliance failed. Please check operations of deployment 'hugtextclass' under resource group '/subscriptions/f6b17c2b-afa1-437e-9b38-3c41d81dbac2/resourceGroups/mrg-huggingface-20220609090948'. Error message: 'At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.'",
"details": [
{
"code": "Conflict",
"message": "{\r\n \"status\": \"failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"DeploymentScriptError\",\r\n \"message\": \"The provided script failed with the following error:\\r\\nERROR: {\\\"status\\\":\\\"Failed\\\",\\\"error\\\":{\\\"code\\\":\\\"DeploymentFailed\\\",\\\"message\\\":\\\"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.\\\",\\\"details\\\":[{\\\"code\\\":\\\"Conflict\\\",\\\"message\\\":\\\"{\\\\r\\\\n \\\\\\\"status\\\\\\\": \\\\\\\"Failed\\\\\\\",\\\\r\\\\n \\\\\\\"error\\\\\\\": {\\\\r\\\\n \\\\\\\"code\\\\\\\": \\\\\\\"ResourceDeploymentFailure\\\\\\\",\\\\r\\\\n \\\\\\\"message\\\\\\\": \\\\\\\"The resource operation completed with terminal provisioning state 'Failed'.\\\\\\\",\\\\r\\\\n \\\\\\\"details\\\\\\\": [\\\\r\\\\n {\\\\r\\\\n \\\\\\\"message\\\\\\\": \\\\\\\"SubscriptionNotRegistered: Resource provider [N/A] isn't registered with Subscription [N/A]. Please see troubleshooting guide, available here: https://aka.ms/register-resource-provider\\\\\\\",\\\\r\\\\n \\\\\\\"details\\\\\\\": [],\\\\r\\\\n \\\\\\\"additionalInfo\\\\\\\": [\\\\r\\\\n {\\\\r\\\\n \\\\\\\"type\\\\\\\": \\\\\\\"MmsOperation\\\\\\\",\\\\r\\\\n \\\\\\\"info\\\\\\\": {\\\\r\\\\n \\\\\\\"id\\\\\\\": \\\\\\\"279fddd5-8685-4e69-b175-a4a7c027dc1b\\\\\\\",\\\\r\\\\n \\\\\\\"operationType\\\\\\\": \\\\\\\"OnlineEndpoint\\\\\\\",\\\\r\\\\n \\\\\\\"state\\\\\\\": \\\\\\\"Failed\\\\\\\",\\\\r\\\\n \\\\\\\"createdTime\\\\\\\": \\\\\\\"2022-06-09T07:16:09.8692253Z\\\\\\\",\\\\r\\\\n \\\\\\\"endTime\\\\\\\": \\\\\\\"2022-06-09T07:16:30.929291Z\\\\\\\",\\\\r\\\\n \\\\\\\"error\\\\\\\": {\\\\r\\\\n \\\\\\\"message\\\\\\\": \\\\\\\"SubscriptionNotRegistered: Resource provider [N/A] isn't registered with Subscription [N/A]. Please see troubleshooting guide, available here: https://aka.ms/register-resource-provider\\\\\\\"\\\\r\\\\n },\\\\r\\\\n \\\\\\\"resourceLocation\\\\\\\": \\\\\\\"/modelmanagement/v1.0/subscriptions/f6b17c2b-afa1-437e-9b38-3c41d81dbac2/resourceGroups/mrg-huggingface-20220609090948/providers/Microsoft.MachineLearningServices/workspaces/distilberttestkfealm5afkpq4/onlineEndpoints/distilberttestkfealm5afkep1\\\\\\\",\\\\r\\\\n \\\\\\\"operationLog\\\\\\\": \\\\\\\"\\\\\\\",\\\\r\\\\n \\\\\\\"parentRequestId\\\\\\\": \\\\\\\"635b702a-d27e-4408-b6b3-f589c57d66d6\\\\\\\"\\\\r\\\\n }\\\\r\\\\n }\\\\r\\\\n ]\\\\r\\\\n }\\\\r\\\\n ]\\\\r\\\\n }\\\\r\\\\n}\\\"}]}}. Please refer to https://aka.ms/DeploymentScriptsTroubleshoot for more deployment script information.\"\r\n }\r\n ]\r\n }\r\n}"
}
]
}
}
What is interesting in this status message is the “Resource provider [N/A] isn’t registered with Subscription [N/A]”. However, I am not sure how to interpret it.