microsoft / AzureNetworkWatcherNSGFlowLogsConnector

Ingest NSG flow logs and transmit to your log analytics system.
MIT License
38 stars 100 forks source link

Getting conflict error #20

Open ssmanikandan opened 4 years ago

ssmanikandan commented 4 years ago

Getting conflict error during deployment.

Resource - NSGFlowLogsApp/web (NSGFlowLogsApp is the AppName) Type - Microsoft.Web/sites/sourcecontrols Status - Conflict

Can someone please help?

ssmanikandan commented 4 years ago

Any help is very much appreciated, Thanks.

xinjing123 commented 4 years ago

I got the same error. In the Deployment result, it said: MyNSGTest/web, Microsoft.Web/sites/sourcecontrols, Conflict

When look into the created App Service / Deployment Center, the error is because of Metadata generation failed, as following detail logs. Any idea? I tried both Free and Shared service plan, the same error... Thanks!

D:\home.nuget\microsoft.azure.webjobs.script.extensionsmetadatagenerator\1.0.1\build\Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets(33,5): warning : [D:\home\site\repository\NwNsgProject\NwNsgProject.csproj] D:\home.nuget\microsoft.azure.webjobs.script.extensionsmetadatagenerator\1.0.1\build\Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets(33,5): warning : Unhandled Exception: System.IO.DirectoryNotFoundException: The path D:\home\site\repository\NwNsgProject\obj\Release\netcoreapp2.1\PubTmp\Out\bin does not exist. Unable to generate Azure Functions extensions metadata file. [D:\home\site\repository\NwNsgProject\NwNsgProject.csproj] D:\home.nuget\microsoft.azure.webjobs.script.extensionsmetadatagenerator\1.0.1\build\Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets(33,5): warning : at ExtensionsMetadataGenerator.ExtensionsMetadataGenerator.Generate(String sourcePath, String outputPath, Action`1 logger) in D:\src\gh.fabiocav\azure-functions-host\tools\ExtensionsMetadataGenerator\src\ExtensionsMetadataGenerator.Console\ExtensionsMetadataGenerator.cs:line 27 [D:\home\site\repository\NwNsgProject\NwNsgProject.csproj] D:\home.nuget\microsoft.azure.webjobs.script.extensionsmetadatagenerator\1.0.1\build\Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets(33,5): warning : at ExtensionsMetadataGenerator.Console.Program.Main(String[] args) in D:\src\gh.fabiocav\azure-functions-host\tools\ExtensionsMetadataGenerator\src\ExtensionsMetadataGenerator.Console\Program.cs:line 27 [D:\home\site\repository\NwNsgProject\NwNsgProject.csproj] D:\home.nuget\microsoft.azure.webjobs.script.extensionsmetadatagenerator\1.0.1\build\Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targe ts(33,5): error : Metadata generation failed. [D:\home\site\repository\NwNsgProject\NwNsgProject.csproj] Done Building Project "D:\home\site\repository\NwNsgProject\NwNsgProject.csproj" (default targets) -- FAILED.

digitalbydesign commented 4 years ago

I have the exact same issue as the two people above. The function app does deploy and runs but I get the same error output looking at the deployment logs as xinjing123. Any thoughts or assistance?

If it's helpful the output I'm configuring is to eventhub. I'm seeing plenty of successful requests in the event hub but no messages. I do not know if I'm supposed to see messages though but thought I would point that out.

czapajew commented 3 years ago

Does anyone deal with conflict?