0

I have created VMSS using custom image. I have hosted web application build in .Net MVC on VMSS. I have configured CI/CD from Azure DevOps by referring following https://learn.microsoft.com/en-us/azure/devops/pipelines/apps/cd/azure/deploy-azure-scaleset?view=azure-devops .

It is showing error D:\a\_temp\1575277721063\packer\packer.exe failed with return code: 1 . Any suggestion/recommendation is appreciated. Below is some failed commands in Log:

 1. azure-arm: resources.DeploymentsClient#CreateOrUpdate: Failure sending request: StatusCode=200 -- Original Error: Long running operation terminated with status 'Failed': 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."
 2. Some builds didn't complete successfully and had errors:
    2019-12-02T09:57:31.5222618Z --> azure-arm: resources.DeploymentsClient#CreateOrUpdate: Failure sending request: StatusCode=200 -- Original Error: Long running operation terminated with status 'Failed': 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."

 3. 2019-12-02T09:57:31.5222868Z ==> Builds finished but no artifacts were created.
James Wong
  • 4,529
  • 4
  • 48
  • 65
Mike
  • 171
  • 1
  • 3
  • Hi Mike, please follow [this document](https://learn.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-deployment-operations?tabs=azure-portal#get-deployment-operations-and-error-message) to get more details about your error message. As I know, many causes can cause this kind of issue, so it's hard to know what's really happening without the further info. – LoLance Dec 12 '19 at 15:05

1 Answers1

0

Since the error message (DeploymentFailed) from the pipeline is a generic one, it would be tough to investigate the issue without looking at the underlying logs or your pipeline details.

For troubleshooting it further, please try the following:

Bhargavi Annadevara
  • 4,923
  • 2
  • 13
  • 30