Comments (11)
Thanks for reporting this issue and I will take a look.
In the mean time: is it possible to run the pipeline with an extra parameters system.debug
set to true and share the output of the task?
from vsts-release-aas.
Thanks for reporting this issue and I will take a look.
In the mean time: is it possible to run the pipeline with an extra parameters
system.debug
set to true and share the output of the task?
Hi Liprec!
Im having the same issue, noticed it yesterday. It appears it may be tripping out on the IP flags.
##[debug] startIPAddress: '<ip>XX.XXX.XXX.XXX</ip>
##[debug] endIPAddress: '<ip>XX.XXX.XXX.XXX</ip>
Cheers,
Mark
from vsts-release-aas.
@fnm02 Thanks for the insight, but if I run the task, the firewall rules are parsed as expected:
##[debug] startIPAddress: '51.11.216.xxx'
##[debug] endIPAddress: '51.11.216.xxx'
Could be two things: there is a change rolled back that caused the issue.
Or your configuration is different than the one I am using to test: D1 in WE
To validate the first: can you try again and see if the problem still exists?
from vsts-release-aas.
Hi @liprec
I've retried and the problem still exists.
Here's a snippet of the offending part from the debug
2022-10-18T14:38:01.5508409Z ##[debug]Fetching Resources from https://management.azure.com//subscriptions/xxx
2022-10-18T14:38:01.5526493Z ##[debug]GET https://management.azure.com//subscriptions/xxx with 0-byte payload
2022-10-18T14:38:02.4063694Z ##[debug]received 374383-byte response of content type application/json; charset=utf-8
2022-10-18T14:38:02.4686601Z ##[debug]PATCH https://management.azure.com//subscriptions/xxx with -1-byte payload
2022-10-18T14:38:03.0851498Z ##[debug]Exception message - System.Net.WebException: The remote server returned an error: (400) Bad Request.
2022-10-18T14:38:03.0864023Z ##[debug] at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
2022-10-18T14:38:03.0876804Z ##[debug] at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
2022-10-18T14:38:03.1020139Z ##[debug]Exception message extracted from response {"error":{"code":"BadRequest","subCode":0,"message":"The IP firewall settings is invalid because the IP address <ip>20.58.xx.xx</ip> can't be parsed. Please make sure the IP address is in the standard IP v4 notation.","timeStamp":"2022-10-18T14:38:02.8935825Z","httpStatusCode":400,"details":[{"code":"RootActivityId","message":"21703910-cecb-4f97-bc7c-6b50d76d0120"},{"code":"Param1","message":"<ip>20.58.xx.xx</ip>"}]}}
2022-10-18T14:38:03.1106804Z ##[debug]Processed: ##vso[task.logissue code=BadRequest;type=error]
2022-10-18T14:38:03.1201140Z ##[debug]Remove firewall rule
2022-10-18T14:38:03.1220927Z ##[debug]Entering Remove-AzureAnalysisServicesFirewallRule.
2022-10-18T14:38:03.1238634Z ##[debug] endpoint: '@{Url=https://management.azure.com/; Data=; Auth=}'
2022-10-18T14:38:03.1255825Z ##[debug] serverName: xxx
2022-10-18T14:38:03.1272814Z ##[debug] firewallRuleName: 'vsts-release-aas-rule'
2022-10-18T14:38:03.1317549Z ##[debug]Removing firewall rule 'vsts-release-aas-rule' on azure analysis services server: xxx
2022-10-18T14:38:03.1318985Z ##[debug]Connection type used is ServicePrincipal
2022-10-18T14:38:03.1335912Z ##[debug]Connection type used is ServicePrincipal
from vsts-release-aas.
@SQL-RedUnited thanks for the update, but the problem is that I cannot reproduce this error.
So can you share the output of a more recent run of the 19th of October UTC? And how do you have the firewall settings configured in your pipeline: Auto or Manual? And where in what region is your AAS?
from vsts-release-aas.
This is the firewall setting we're using in the pipeline that I think you're referring to:
ipDetectionMethod: autoDetect
deleteFirewallRule: true
Our AAS is in UKSouth
region.
This is an updated snippet from the log
2022-10-19T11:09:57.1386022Z ##[debug]GET https://management.azure.com//subscriptions/xxx with 0-byte payload
2022-10-19T11:09:57.9245607Z ##[debug]received 374383-byte response of content type application/json; charset=utf-8
2022-10-19T11:09:58.0376008Z ##[debug]PATCH https://management.azure.com//subscriptions/xxx with -1-byte payload
2022-10-19T11:09:58.6142875Z ##[debug]Exception message - System.Net.WebException: The remote server returned an error: (400) Bad Request.
2022-10-19T11:09:58.6155823Z ##[debug] at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
2022-10-19T11:09:58.6169576Z ##[debug] at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
2022-10-19T11:09:58.6331482Z ##[debug]Exception message extracted from response {"error":{"code":"BadRequest","subCode":0,"message":"The IP firewall settings is invalid because the IP address <ip>20.0.21.0</ip> can't be parsed. Please make sure the IP address is in the standard IP v4 notation.","timeStamp":"2022-10-19T11:09:58.3849641Z","httpStatusCode":400,"details":[{"code":"RootActivityId","message":"97cc31ef-0f51-4cae-b7b2-aeabf904a5fe"},{"code":"Param1","message":"<ip>20.0.21.0</ip>"}]}}
2022-10-19T11:09:58.6432845Z ##[debug]Processed: ##vso[task.logissue code=BadRequest;type=error]
2022-10-19T11:09:58.6532507Z ##[debug]Remove firewall rule
2022-10-19T11:09:58.6556001Z ##[debug]Entering Remove-AzureAnalysisServicesFirewallRule.
2022-10-19T11:09:58.6576294Z ##[debug] endpoint: '@{Url=https://management.azure.com/; Data=; Auth=}'
from vsts-release-aas.
@liprec Apologies for jumping in again.
The issues we are experiencing are exactly like that of @SQL-RedUnited. Our debug reads the same which we ran approx 7hrs ago.
Our AAS region is Australia East and pipeline firewall settings are autoDetect.
Appreciate you looking into this! Cheers
from vsts-release-aas.
Thanks for the update and indeed if I create a new AAS in UKSouth
, the firewall error message is different than my WestEurope
message. Why? I have no clue, but an updated version will be available soon.
from vsts-release-aas.
@ALL, thanks for your patience and an updated version of the extension is available: v1.5.10.
Azure DevOps will automatically update the tasks, so with the next run (or the run after) the pipeline will use this version.
I will close this issue, but if it is not solved with 1.5.10, feel free to open the issue.
from vsts-release-aas.
@liprec
The update has fixed it for us.
Thank you.
from vsts-release-aas.
Thanks @liprec for the quick turnaround. The deployment is working now.
from vsts-release-aas.
Related Issues (20)
- How to change Data source connection for deployment to PowerBI premium? HOT 4
- Question about 'overwrite' option will be deprecated in a future version HOT 2
- Unable to add Azure Analysis task to the pipeline HOT 3
- Not a valid model file. (A parameter cannot be found that matches parameter name 'Encoding'.) HOT 1
- Deployment Task unable to update Firewall rules and failing with below error HOT 1
- Automatic firewall addition start failing in Azure SSAS deployment HOT 2
- Password gets deleted/ reset after deployment pipeline run HOT 1
- A parameter cannot be found that matches parameter name 'Encoding' HOT 1
- Not able to fetch token for tenant HOT 1
- Tabular Deployment timing out HOT 3
- deprecation warnings HOT 2
- Exception calling "DeserializeDatabase" with "1" argument(s): "Unrecognized JSON property: maxParallelismPerRefresh HOT 1
- Add Support for Deployment of Field Parameters HOT 3
- When deployed to Azure Analysis Services, the model name is always "Model" HOT 3
- Support for Snowflake / ODBC connections HOT 2
- Login type "inherit" fails with error "Cannot bind argument to parameter 'String' because it is null" HOT 2
- Error while deploying a tabular model with a Parameter field HOT 1
- [error]Not a valid model file. (Access to the path 'D:\a\r1\a' is denied.) HOT 1
- Support for Workload Identity Federation (WIF) Service Connections
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsts-release-aas.