Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy NoClientDeploy fails on "DeployAD" resource #3

Closed
big-kahuna-burger opened this issue Sep 2, 2018 · 3 comments
Closed

Deploy NoClientDeploy fails on "DeployAD" resource #3

big-kahuna-burger opened this issue Sep 2, 2018 · 3 comments

Comments

@big-kahuna-burger
Copy link

I was able to run this NoClientDeploy setup before, but the recent deployment I've tried fails on resource with display name "DeployAD".

depfail

Any help is appreciated.

@big-kahuna-burger
Copy link
Author

From Activity Log:

"properties": {
        "statusCode": "Conflict",
        "statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceDeploymentFailure\",\"message\":\"The resource operation completed with terminal provisioning state 'Failed'.\",\"details\":[{\"code\":\"DeploymentFailed\",\"message\":\"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug 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\\\": \\\"VMExtensionProvisioningError\\\",\\r\\n        \\\"message\\\": \\\"VM has reported a failure when processing extension 'DeployAD'. Error message: \\\\\\\"Finished executing command\\\\\\\".\\\"\\r\\n      }\\r\\n    ]\\r\\n  }\\r\\n}\"}]}]}}",
        "serviceRequestId": null
    }

@big-kahuna-burger
Copy link
Author

I've managed to mangle the deploy.ps1 and to provision everything needed with posh. The reason I'm suspecting it won't work with template button and portal is that from Microsoft.Compute CustomScriptExtension class has a TypeHandlerVersion 1.4 and autoUpdateMinorVersion params set to false. Will check with my fork and let you know if that is the reason. In case it is I can send a PR to fix it.

I've used Get-AzureRmVMExtensionImage -Location centralus -PublisherName Microsoft.Compute -Type CustomScriptExtension | Sort Version | select PublisherName,Type,Version to get the versions history.

@big-kahuna-burger
Copy link
Author

Closed with #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant