liprec / vsts-release-aas

Repository for my Analysis Service Azure pipelines tasks related to Azure Analysis Service or Power BI Premium
Other
27 stars 28 forks source link

Parallel publish of multiple models to same AAS server fails #27

Closed ckupferschmid closed 3 years ago

ckupferschmid commented 5 years ago

Error message:

Error during adding firewall rule (Firewall rule names should be unique. Duplicate name vsts-release-aas-rule is not allowed.) Firewall rule names should be unique. Duplicate name vsts-release-aas-rule is not allowed.

richardswinbank commented 3 years ago

I experienced this error after a prior deployment failure. The deployment failure was my fault - AAS was paused! - but it looks like the task didn't clean up after itself post-failure. On the next run, the task failed because the rule was still there.

It would be useful if the task could remove the firewall rule after failure and/or check for its existence before attempting to create it.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.