Closed msdya closed 1 year ago
Hi @msdya, I cannot replicate this. This error is telling me that the KeyVault that is part of the deployment does not exist -- which tells me perhaps KeyVault was not deployed successfully. One thing to check is make sure KV is deployment successful. A common error is related to same names to a previously deployed and deleted KeyVault. Specifically if you do not purge a deleted KeyVault from a previous deployment with the same name (deployment id), succeeding deployments will fail.
I'll close this issue for now. Please reopen if you are still experiencing this.
I get the following error, to deploy E2E example Synapse Parking Sensor. I used "snpk" as DEPLOYMENT_ID .
export GITHUB_REPO="msdya/modern-data-warehouse-dataops" export GITHUB_PAT_TOKEN="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" export AZURE_LOCATION="westeurope" export AZURE_SUBSCRIPTION_ID="8a207ddf-b53c-48df-9525-fc806b8ca6c8" export DEPLOYMENT_ID="snpk" export AZDO_PIPELINES_BRANCH_NAME="main" export AZDO_PROJECT="parking_sensors_synapse_ci_cd" export AZDO_ORGANIZATION_URL="https://dev.azure.com/daweiyaolab/"
===================================================
Below is the error message, and details.
"Can not perform requested operation on nested resource. Parent resource 'mdwdops-kv-dev-snpk' not found
-====================================================== Details:
ERROR: {"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 \"code\": \"DeploymentFailed\",\r\n \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.\",\r\n \"details\": [\r\n {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"{\r\n \\"error\\": {\r\n \\"code\\": \\"BadRequest\\",\r\n \\"message\\": \\"Invalid value found at accessPolicies[0].ObjectId: null\\"\r\n }\r\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"},{"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\": \"DeploymentFailed\",\r\n \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.\",\r\n \"details\": [\r\n {\r\n \"code\": \"Conflict\",\r\n \"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\\": \\"OperationTimedOut\\",\r\n \\"message\\": \\"The operation timed out and automatically rolled back. Please retry the operation.\\"\r\n }\r\n ]\r\n }\r\n}\"\r\n },\r\n {\r\n \"code\": \"NotFound\",\r\n \"message\": \"{\r\n \\"error\\": {\r\n \\"code\\": \\"ParentResourceNotFound\\",\r\n \\"message\\": \\"Can not perform requested operation on nested resource. Parent resource 'mdwdops-kv-dev-snpk' not found.\\"\r\n }\r\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}}